
DAP-MCP
by ctagard
Bring professional debugging capabilities to AI agents via the Debug Adapter Protocol for Go, Python, JS, and Rust.
What it does
DAP-MCP is a powerful bridge that exposes the Debug Adapter Protocol (DAP) to AI assistants. It transforms your LLM from a code writer into a real-time debugger, allowing it to launch sessions, set breakpoints, inspect runtime variables, and step through code execution using natural language.
Tools
debug_launch: Start a new debug session using direct arguments or VS Code launch.json configurations.debug_attach: Connect to an already running process or browser instance.debug_snapshot: The primary inspection tool that retrieves the complete state (threads, stack, scopes, variables) in one call.debug_evaluate: Evaluate complex expressions or batch of expressions to verify state.debug_breakpoints: Manage and set breakpoints within a specific source file.debug_step: Control execution flow via 'over', 'into', or 'out' stepping.debug_continue: Resume execution until the next breakpoint is hit.debug_run_to_line: A compound tool that runs execution to a specific line and immediately returns a state snapshot.
Installation
Install via the official script:
curl -sSL https://raw.githubusercontent.com/ctagard/dap-mcp/main/scripts/install.sh | bash
Claude Desktop config:
{
"mcpServers": {
"dap-mcp": {
"command": "dap-mcp",
"args": ["--mode", "full"]
}
}
}
Supported hosts
Confirmed support for Claude Desktop, Cursor, and other stdio-based MCP clients.
Quick install
curl -sSL https://raw.githubusercontent.com/ctagard/dap-mcp/main/scripts/install.sh | bashInformation
- Pricing
- free
- Published






