@standardbeagle/mcp-debug
v1.1.6
Published
A debugging and development tool for MCP servers with hot-swapping, session recording, and automated playback testing
Downloads
107
Maintainers
Readme
MCP Debug
A debugging and development tool for Model Context Protocol (MCP) servers.
Installation
# Run directly with npx (recommended)
npx @standardbeagle/mcp-debug --help
# Or install globally
npm install -g @standardbeagle/mcp-debug
mcp-debug --helpFeatures
- Hot-Swap Development - Replace server binaries without disconnecting MCP clients
- Session Recording & Playback - Record JSON-RPC traffic for debugging and testing
- Development Proxy - Multi-server aggregation with tool prefixing
- Dynamic Server Management - Add/remove servers at runtime
Quick Start
# Start proxy with config
npx @standardbeagle/mcp-debug --proxy --config config.yaml
# Record a session
npx @standardbeagle/mcp-debug --proxy --config config.yaml --record session.jsonl
# Playback recorded requests
npx @standardbeagle/mcp-debug --playback-client session.jsonl | ./your-mcp-serverProgrammatic Usage
const { binaryPath } = require("@standardbeagle/mcp-debug");
const { spawn } = require("child_process");
const child = spawn(binaryPath, ["--proxy", "--config", "config.yaml"]);Documentation
See the GitHub repository for full documentation.
License
MIT License
