Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyProgramming

mcp-debugger

Lets your AI agent debug running programs: set breakpoints, step through code and inspect variables in ten languages.

186 stars on GitHubby debugmcpLicense MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add debugger -- npx -y @debugmcp/mcp-debugger stdio

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Run my failing pytest and pause at the failing assert, then show me the local variables.
Set a breakpoint at the line total = sum(prices) and tell me the value of prices when it hits.

What it is

This server gives your AI agent a real debugger. It can start or attach to a program, pause at breakpoints, step through code and read variables, using the standard debug adapters for each language. It runs without an IDE, so it works in CI, containers and cloud sandboxes.

What it can do

  • set_breakpoint: set a breakpoint or a logpoint that does not pause
  • list_breakpoints, remove_breakpoint, clear_breakpoints: manage breakpoints
  • wait_for_stop: wait for the next stop instead of polling
  • get_output: read the program's output
  • restart_debugging: relaunch with the same setup
  • hot_reload: reload changed code in Java and Flutter
  • expose_session: let a person's IDE watch the session read-only
  • list_supported_languages: show what is available

When to use

  • β€ΊWhen a test fails and you want the agent to pause at the failing line and look at real values
  • β€ΊWhen a program crashes and you want the stack and local variables at the moment of the error
  • β€ΊWhen you need to debug a service in a container or a Kubernetes pod without an IDE

What you need

Node.js 22 or later, plus the toolchain for each language you debug, such as Python with debugpy, Go with Delve or a JDK 21+.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

The readme shows an MIT licence. It is available through npm and Docker.

Which languages work?

Python, JavaScript/TypeScript, Ruby, Rust, Go, Java, .NET, C/C++, COBOL and Dart/Flutter. The registry text says ten languages.

Do I need an IDE?

No. It runs headless anywhere Node.js runs. An IDE is optional via the read-only mirror.

Does it hide secrets?

Yes. Credential-shaped values are masked by default in variables and output. Set DEBUG_MCP_NO_REDACT=1 to turn that off.

Which transports does it use?

Stdio and Streamable HTTP.

How do I check my setup?

Run npx @debugmcp/mcp-debugger doctor for a toolchain report per language.

If it does not work

  • β€ΊRun npx @debugmcp/mcp-debugger doctor to see which language toolchains are missing.
  • β€ΊIf you installed with --omit=optional, set CODELLDB_PATH so Rust and C/C++ debugging can find its engine.
  • β€ΊUse absolute file paths for the program and source files, since the server validates paths.

5 new skills a week. 1 minute to read.