
Mcp Debug
io.github.standardbeagle由 GitHub 帳號 standardbeagle 發布v1.1.6更新於 Oct 24, 2026
Debug and develop MCP servers with hot-swapping, session recording, and playback testing
概覽
一款用於 MCP 伺服器的開發代理,支援熱替換伺服器執行檔、錄製 JSON-RPC 工作階段並回放測試。
- 可以做什麼
- MCP Debug 以代理形式執行於一個或多個 MCP 伺服器之前,為工具加上前綴進行聚合,並提供 server_add、server_remove、server_disconnect、server_reconnect、server_list 等管理工具。它能把 JSON-RPC 流量錄製到工作階段檔案,並以用戶端或伺服器模式回放,用於回歸測試。另提供 config init/show/validate、環境檢查與工具列表等命令列指令。
- 適用情境
- 適合在開發或除錯自己的 MCP 伺服器時使用,例如想在不重啟用戶端的情況下替換伺服器執行檔、檢視或回放已錄製的工作階段,或在開發期間把多個伺服器聚合到同一個端點後面。
- 執行需求
- 透過 stdio 在本機執行。可用 uvx(Python)、npx(Node.js)、pip、npm 或 Go 建置安裝。代理模式需要 YAML 設定檔。選用環境變數包括 MCP_LOG_FILE、MCP_DEBUG、MCP_RECORD_FILE 與 MCP_CONFIG_PATH。未宣告驗證機制。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Debug,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
MCP Debug
A debugging and development tool for Model Context Protocol (MCP) servers.
[Go Version] [MCP Spec] [License: MIT] [PyPI] [npm]
MCP Debug enables rapid development and testing of MCP servers with hot-swapping, session recording, and automated playback testing.
Features
Hot-Swap Development
- Replace server binaries without disconnecting MCP clients
- Add/remove servers dynamically during development
- Tool name preservation - same interface, new implementation
- Graceful disconnect/reconnect workflow for binary replacement
Session Recording & Playback
- Record JSON-RPC traffic for debugging and documentation
- Playback client mode - replay requests to test servers
- Playback server mode - replay responses to test clients
- Regression testing with recorded sessions
Development Proxy
- Multi-server aggregation with tool prefixing
- Real-time connection monitoring
- Management API for server lifecycle control
- Comprehensive logging
Installation
Quick Start
Usage
Proxy Mode
Management Tools:
server_add- Add a server:{name: "fs", command: "npx -y @mcp/filesystem /path"}server_remove- Remove server completelyserver_disconnect- Disconnect server (tools return errors)server_reconnect- Reconnect with new commandserver_list- Show all servers and status
Playback Modes
Configuration
Environment Variables
Development Workflow
CLI Commands
Project Structure
Building
Contributing
See CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE for details.
來源:README.md,提交 28f7706
工具
0版本歷史
1- v1.1.6最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分