
Mcp Debug
io.github.standardbeaglePublished by GitHub account standardbeaglev1.1.6Updated Oct 24, 2026
Debug and develop MCP servers with hot-swapping, session recording, and playback testing
Overview
A development proxy for MCP servers that supports hot-swapping server binaries, recording JSON-RPC sessions, and replaying them for testing.
- What you can do
- MCP Debug runs as a proxy in front of one or more MCP servers, aggregating their tools with prefixes and exposing management tools such as server_add, server_remove, server_disconnect, server_reconnect, and server_list. It can record JSON-RPC traffic to a session file and replay it in client or server mode for regression testing. It also provides CLI commands for config init/show/validate, environment checks, and tool listing.
- When to use it
- Use it while building or debugging your own MCP servers, when you want to swap a server binary without restarting the client, inspect or replay recorded sessions, or aggregate several servers behind one endpoint during development.
- Requirements
- Runs locally over stdio. Install via uvx (Python), npx (Node.js), pip, npm, or a Go build. A YAML config file is needed for proxy mode. Optional environment variables include MCP_LOG_FILE, MCP_DEBUG, MCP_RECORD_FILE, and MCP_CONFIG_PATH. No authentication is declared.
Installation
In SourceWeft
- Open Mcp Debug in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
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.
Source: README.md at commit 28f7706
Tools
0Version history
1- v1.1.6LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts