mcp-debugger
mcp-debugger is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Step-through debugging for AI agents: breakpoints, stepping and live variables in nine languages. It has 171 GitHub stars, is released under the MIT license and runs locally with npx -y @debugmcp/mcp-debugger.
- Official
- Developer tools
- MIT
- Actively maintained
Install mcp-debugger
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"mcp-debugger": {
"command": "npx",
"args": [
"-y",
"@debugmcp/mcp-debugger"
]
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --transport stdio mcp-debugger -- npx -y @debugmcp/mcp-debuggerCursor
{
"mcpServers": {
"mcp-debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@debugmcp/mcp-debugger"
]
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"servers": {
"mcp-debugger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@debugmcp/mcp-debugger"
]
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Tools (29)
Parsed from the Tools section of the README; check the repository for the current list.
create_debug_sessionCreate a new debugging session
list_debug_sessionsList all active sessions
list_supported_languagesShow available language adapters
set_breakpointSet a breakpoint in a file
list_breakpointsList a session's breakpoints with verified state
remove_breakpointRemove a breakpoint by id or file+line
clear_breakpointsRemove all breakpoints (optionally per file)
start_debuggingStart debugging a script
restart_debuggingRelaunch with the same config, breakpoints re-applied
attach_to_processAttach debugger to a running process
detach_from_processDetach debugger from a process
expose_sessionOpen a read-only DAP mirror endpoint so an IDE can attach and inspect
unexpose_sessionClose the mirror endpoint and disconnect IDE clients
get_stack_traceGet the current stack trace
list_threadsList all threads in the debug session
get_scopesGet variable scopes for a frame
get_variablesGet variables in a scope
get_local_variablesGet local variables in current frame
step_overStep over the current line
step_intoStep into a function
step_outStep out of a function
continue_executionContinue running
wait_for_stopBlock until the session next pauses or ends
pause_executionPause running execution
evaluate_expressionEvaluate expressions in debug context
get_source_contextGet source code context
get_outputRead captured debuggee output (stdout/stderr)
close_debug_sessionClose a session
redefine_classesHot-swap changed Java classes into a running JVM (Java only)
About mcp-debugger
A headless, agentic debugger over MCP — let your AI agents debug running programs in nine languages. mcp-debugger is a Model Context Protocol (MCP) server that exposes step-through debugging as structured tool calls. It lets AI agents set breakpoints, inspect variables, evaluate expressions, and step through running programs across nine languages — driving real language debuggers through the Debug Adapter Protocol (DAP).
Similar MCP servers
More developer tools MCP servers
Gemini CLI
google-gemini/gemini-cli
An open-source AI agent that brings the power of Gemini directly into your terminal.
Developer toolsTypeScriptFront-End Checklist
thedaviddias/Front-End-Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
Developer toolsMDXClaude Flow
ruvnet/ruflo
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Developer toolsTypeScriptCodebase Memory
DeusData/codebase-memory-mcp
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Developer toolsCBytedance Filesystem
bytedance/UI-TARS-desktop
MCP server for filesystem access.
Developer toolsTypeScriptGitHub
github/github-mcp-server
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
OfficialDeveloper toolsGo
What is mcp-debugger?
mcp-debugger is an MCP server that adds developer tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Step-through debugging for AI agents: breakpoints, stepping and live variables in nine languages. It has 171 GitHub stars, is released under the MIT license and runs locally with npx -y @debugmcp/mcp-debugger. The source code is at github.com/debugmcp/mcp-debugger.
How do I install the mcp-debugger MCP server?
Add the command npx -y @debugmcp/mcp-debugger to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is mcp-debugger free?
The server is open source under the MIT license, so running it is free. It does not declare any required API key.
Is mcp-debugger actively maintained?
The most recent commit was on Oct 6, 2026. The latest release is v0.25.1, published Sep 30, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.