Skip to main content
MCP server CX Codex

mcp-debugger — Claude Code MCP server: what it does, how to install

Headless step-through debugger over the Debug Adapter Protocol for coding agents. Sets breakpoints, steps through execution, and inspects variables without an IDE.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-debugger -- npx -y @debugmcp/mcp-debugger
Open on GitHub

What mcp-debugger does

The server exposes Debug Adapter Protocol capabilities to AI agents through structured tools. It runs as a standalone Node.js process. That makes it suitable for Docker containers, CI pipelines, and cloud sandboxes without a desktop UI.

Under the hood, it drives native engines like Delve for Go, debugpy for Python, and CodeLLDB for compiled binaries. Agents can inspect memory or pause execution. Running Java debug targets requires an installed JDK.

What it helps with

  • step through failing application code line by line
  • inspect variable values at breakpoints during execution
  • attach to a running backend process inside a container
  • evaluate expressions while a program is paused

Example prompts for the agent

  • Set a breakpoint at the start of handle_request in app.py and start debugging
  • Attach to the running Go process using Delve and show the stack trace
  • Step into the next function and print the local variables

How to install mcp-debugger

Platform CLI

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

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about mcp-debugger

How to install mcp-debugger in Claude Code?

Run claude mcp add mcp-debugger -- npx -y @debugmcp/mcp-debugger. You only need a working Node.js runtime.

What does mcp-debugger do?

It provides step-through debugging tools for AI agents via DAP. The agent can set breakpoints, step through code, and read runtime variables.

Does mcp-debugger require VS Code?

No, it runs headless as an independent process. You can use it in CI jobs, Docker containers, and virtual machines without an editor.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor