Debugger MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Debugger MCPset a breakpoint at app.js:10"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Debugger MCP
A VS Code extension that exposes an MCP (Model Context Protocol) server, allowing AI agents like Claude Code and Claude Desktop to control VS Code's debugger. Language-agnostic — works with any debug adapter (Node.js, Python, C++, Go, Rust, Java, etc.).
Features
22 MCP tools for full debugger control
Works with any debugger that implements the Debug Adapter Protocol
Zero-config for Claude Code — auto-updates
~/.claude.jsonon activationExecution commands block until the debugger stops and return the stop location + local variables in a single response
Captures program output (stdout/stderr) for inspection
Related MCP server: MCP Debugger Tools
Architecture
Claude Code / Desktop / any MCP client
| (HTTP: Streamable HTTP transport)
v
VS Code Extension (MCP server on localhost:<port>/mcp)
| (vscode.debug.* API)
v
Debug Adapter Protocol → Any DebuggerThe extension hosts the MCP server directly inside the VS Code process — no separate server or sidecar needed. On activation it starts a localhost HTTP server (default port 45557) and automatically writes the connection URL to ~/.claude.json.
Installation
VS Code Marketplace
Install from the VS Code Marketplace, or search for "Debugger MCP" in the Extensions view (Ctrl+Shift+X / Cmd+Shift+X).
Or from the command line:
code --install-extension speakeasy.debugger-mcpThe extension activates automatically on startup — no manual setup required. It starts the MCP server and auto-configures Claude Code.
From source (development)
git clone git@github.com:speakeasy-api/debugger-mcp.git
cd debugger-mcp
npm install
npm run compileThen press F5 in VS Code to launch the Extension Development Host.
MCP Client Configuration
Claude Code (zero-config)
The extension automatically registers itself in ~/.claude.json on activation. No manual setup needed — just install the extension, reload VS Code, and start using Claude Code.
To verify it's configured, run:
claude mcp listYou should see vscode-debugger listed as an HTTP server.
If you prefer to configure manually, or if auto-config is disabled:
claude mcp add --transport http vscode-debugger http://localhost:45557/mcpClaude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"vscode-debugger": {
"type": "http",
"url": "http://localhost:45557/mcp"
}
}
}VS Code (Copilot / other MCP clients)
Add to .vscode/mcp.json in your workspace:
{
"servers": {
"vscode-debugger": {
"type": "http",
"url": "http://localhost:45557/mcp"
}
}
}Alternative: stdio transport
A standalone MCP server process is also available for clients that only support stdio transport. See the extension's dist/mcp-server.js — it discovers the running extension via a port file and proxies MCP requests over HTTP.
Settings
Setting | Default | Description |
|
| Preferred port for the MCP server. Falls back to a random port if taken. |
|
| Automatically update |
Tools
Session Management
Tool | Description |
| Start a debug session from a launch.json config name or inline configuration |
| Stop a debug session |
| Restart a debug session |
| List active debug sessions |
| List available launch.json configurations |
Execution Control
Tool | Description |
| Resume execution until next breakpoint or exit. Returns stop location + locals |
| Pause a running program. Returns stop location + locals |
| Step over (next line). Supports |
| Step into function calls. Supports |
| Step out of current function. Supports |
Breakpoints
Tool | Description |
| Set a source breakpoint (supports condition, hit count, logpoint) |
| Set a function-name breakpoint |
| Remove by ID, file+line, all in file, or all |
| List all breakpoints with details |
| Enable/disable a breakpoint without removing it |
State Inspection
Tool | Description |
| List threads |
| Get call stack for a thread |
| Get variable scopes for a stack frame |
| Get variables in a scope or expand a structured variable |
| Evaluate an expression in the debug context |
Status & Output
Tool | Description |
| Quick "where am I?" — session, stop location, and locals |
| Get captured program output (stdout/stderr) |
Build Scripts
Script | Description |
| Type-check and build both bundles |
| Production build (minified, no source maps) |
| Watch mode for development |
| Production build + package into |
| Type-check only (no emit) |
How It Works
Extension activates on VS Code startup and starts an HTTP server on
localhost:45557MCP endpoint at
/mcpuses the Streamable HTTP transport protocol — each client gets its own sessionAuto-config writes the server URL to
~/.claude.jsonso Claude Code discovers it automaticallyDebug commands are forwarded to the VS Code debug API via an in-process
DirectClientDAP message interception captures stopped events, program output, and exit codes in real-time
Execution commands (continue, step) block until the debugger pauses, then automatically gather the stop location and local variables
Security
HTTP server binds to
127.0.0.1only (no network exposure)MCP endpoint uses the standard Streamable HTTP transport protocol
Port file (for legacy stdio transport) includes random auth token and PID for stale-file detection
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/speakeasy-api/debugger-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server