Skip to content
MCP server

mcp-debugger

Headless debugger for AI agents: breakpoints, stepping and live variables in CI and pods

Runs locally
Install

mcp-debugger is an MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Platforms
CLI, Self-hosted, Linux
Runs
Locally
Version
0.26.0
Listing updated

Similar MCP servers

Install

Run in a terminal

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

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-debugger": {
      "command": "npx",
      "args": [
        "-y",
        "@debugmcp/mcp-debugger"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-debugger": {
      "command": "npx",
      "args": [
        "-y",
        "@debugmcp/mcp-debugger"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-debugger": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@debugmcp/mcp-debugger"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-debugger": {
      "command": "npx",
      "args": [
        "-y",
        "@debugmcp/mcp-debugger"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-debugger": {
      "command": "npx",
      "args": [
        "-y",
        "@debugmcp/mcp-debugger"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

About mcp-debugger

mcp-debugger turns real debuggers into structured tool calls so an agent can pause a running program and look at its state without an IDE. It speaks the Debug Adapter Protocol, using debugpy for Python, js-debug for JavaScript and TypeScript, rdbg for Ruby, CodeLLDB for Rust and C/C++, Delve for Go, netcoredbg for .NET, a JDI bridge for Java, and GnuCOBOL with CodeLLDB for COBOL. The README also describes Dart and Flutter support from version 0.26.0.

Breakpoints can be addressed by statement text, function name or line with an expected-content check, so they survive the agent's own edits. Logpoints record a value without pausing. Remote attach covers pods through port-forward and a kubectl debug ephemeral sidecar, and a GitHub Action example debugs failing tests in CI.

A doctor command prints which language toolchains are installed. Secret redaction is on by default, and the README contrasts the design with Microsoft's VS Code-bound DebugMCP.

Tools this server provides (8)

Taken from the project documentation; the running server may differ.

create_debug_session
Start a debug session for a given language.
attach_to_process
Attach to a running process, for example by port.
set_breakpoint
Set a breakpoint by file, line, statement or function.
get_local_variables
Read local variables at the current stop.
evaluate_expression
Evaluate an expression in the paused frame.
continue_execution
Resume a paused program.
wait_for_stop
Block until the next stop instead of polling.
expose_session
Mirror the agent's session into an IDE read-only.

What it does

Many language engines
Drives each language's own debugger through DAP.
Content-addressed breakpoints
Target a statement or function so edits do not break them.
Remote attach
Attach to Kubernetes pods or by PID with an ephemeral sidecar.
Logpoints
Log values without pausing the process.
Stop snapshots
Each stop reports the exception, top frames and locals.
Secret redaction
Variable and output masking is on by default.

Good for

  • Let an agent find the root cause of a failing CI test
  • Inspect a misbehaving Kubernetes pod without redeploying
  • Step through Python or Go code from a cloud coding agent
  • Watch a value in a running service via logpoints

mcp-debugger FAQ

Does mcp-debugger need an IDE?

No. It runs as a standalone Node process on CI runners, containers, pods and SSH boxes.

How is mcp-debugger installed?

Through npx or npm, a Docker image, or a PyPI launcher.

Which transports does mcp-debugger support?

stdio and Streamable HTTP.

How is mcp-debugger different from DebugMCP?

The README says DebugMCP needs a running VS Code, while mcp-debugger runs headless.

How do I add mcp-debugger to Claude Code?

Run this command in your terminal: claude mcp add mcp-debugger -- npx -y @debugmcp/mcp-debugger

What are the best alternatives to mcp-debugger?

The closest alternatives to mcp-debugger are Chrome DevTools MCP, Chrome DevTools MCP, Flutter MCP Toolkit, MobileBuildMCP and droidprobe.

Where this comes from

  • Description: written from the project's README and the project's website.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers