
Rsdoctor
io.github.yifancong由 GitHub 帳號 yifancong 發布v0.1.0更新於 Oct 24, 2026
An MCP server that provides build analysis and optimization recommendations for Rspack projects.
概覽
一個 MCP 伺服器,用於分析 Rspack 建置並提供建置效能與產物的最佳化建議。
- 可以做什麼
- Rsdoctor 是專為 Rspack 專案設計的建置分析器。它會視覺化編譯行為與耗時,並分析建置產物,例如資源清單與模組相依性。它也會分析 Loader、Plugin 與 Resolver 的建置流程,並套用重複套件偵測、ES 版本檢查等建置規則。使用者可依據其收集的建置資料新增自訂掃描規則。
- 適用情境
- 當你使用 Rspack 專案,並希望助理協助找出建置瓶頸、檢查模組與相依性結構,或檢視建置流程行為時,可以使用它。它適合想最佳化建置效能與工程品質的開發團隊。
- 執行需求
- 以本機 stdio 程序執行,透過 Node.js 啟動 npm 套件 @rsdoctor/mcp-server。僅支援桌面端,宣告不需要驗證、環境變數或標頭。它針對 Rspack 專案;webpack 專案建議繼續使用 Rsdoctor 1.x 或移轉至 Rspack。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Rsdoctor,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Rsdoctor
[discord channel] [npm version] [downloads] [license]
English | 简体中文
Rsdoctor is a build analysis tool for the Rspack ecosystem. It visualizes the build process and output to help developers investigate build issues and identify performance bottlenecks. It also provides build data to agents for automated diagnosis and optimization of JavaScript programs.
🔥 Features
- Agent-Driven Analysis: Provides build data to agents for automated diagnosis and optimization of JavaScript programs
- Compilation Visualization: Visualize the compilation process and timing to troubleshoot build issues and identify performance bottlenecks
- Comprehensive Analysis: Analyze build output, inspect the build process, and run diagnostic checks:
- Output Analysis: Inspect assets, output sizes, and module dependencies
- Build Process Analysis: Inspect Loader and Plugin execution and module resolution
- Diagnostic Checks: Detect duplicate packages and check ECMAScript syntax versions to identify potential build issues
📚 Getting started
To get started with Rsdoctor, see the Quick Start.
🤝 Contribution
New contributors welcome!
Please read the Contributing Guide.
🧑💻 Community
Come and chat with us on Discord! The Rstack team and users are active there, and we're always looking for contributions.
🦀 Rstack
Rsdoctor is part of Rstack, the fast, unified JavaScript toolchain for developers and agents.
🙌 Code of conduct
This repo has adopted the ByteDance Open Source Code of Conduct. Please check Code of Conduct for more details.
🙏 Credits
Some of the implementation of Rsdoctor refers to the excellent projects in the community, and we would like to thank them:
- bundle-stats is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.
- webpack-bundle-analyzer is a classic tool for analyzing Webpack, and Rsdoctor is inspired by it in terms of build artifact analysis. Rsdoctor also uses its classic treemap visualization.
- Statoscope is an excellent tool for analyzing build artifacts, and Rsdoctor is inspired by it in terms of build analysis.
- Webpack Team and Community have created an excellent bundling tool and a rich ecosystem.
- vite-plugin-inspect has inspired Rsdoctor's exploration of build process analysis.
This Rsdoctor website is powered by Netlify.
📖 License
Rsdoctor is licensed under the MIT License.
來源:README.md,提交 039497c
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分