
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 分