MCP Debugger logo

MCP Debugger

Headless MCP debugging for ten languages with breakpoints, stepping, variables, expression evaluation, and remote attach.

Install MCP Debugger

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-debugger-2": {
      "command": "npx",
      "args": [
        "-y",
        "@debugmcp/mcp-debugger"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 29 tools correctly ().

Overview

mcp-debugger MCP server exposes headless, step-through debugging to AI agents through structured MCP tool calls. It drives real language debuggers through the Debug Adapter Protocol and supports breakpoints, stepping, variable inspection, expression evaluation, output capture, and remote attachment across ten languages. Use it in CI, containers, Kubernetes, SSH environments, or cloud coding sandboxes where an IDE is unavailable. It supports stdio and Streamable HTTP, with per-session process isolation.

Use cases

  • Debug failing tests in CI without opening an IDE
  • Attach to processes running in containers or Kubernetes pods
  • Trace values with logpoints without pausing production code
  • Inspect crashes and exceptions through an AI agent
  • Debug Dart and Flutter apps with hot reload

Key features

  • DAP-based debugging across ten languages
  • Content- and function-addressed breakpoints
  • Remote attach and PID-based debugging
  • Buffered output with MCP resource subscriptions
  • Per-session process isolation
  • Dart and Flutter hot reload and hot restart

Tools29

What MCP Debugger lets your agent do. Expand a tool for its parameters.

Verified live~7.6k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

21/21 checks healthy over the last 46d

What it can do

From the 29 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 3Handles credentials · 1Makes network requests · 4Read-only tools · 25
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age487 days
Maintainers1

Observed 2026-11-14 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 13d ago via OSV.dev · @debugmcp/mcp-debugger (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars197Stargazers on the source repository.
npm downloads10kPackage downloads in the last 30 days.
Last commitTodayMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed29Callable tools this server registers over MCP.
Directory activity7 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Debugger works

What mcp-debugger does

mcp-debugger turns debugging operations into MCP tools that an AI agent can call while a program is running. It supports Python, JavaScript and TypeScript, Ruby, Rust, Go, Java, .NET, C and C++, COBOL, and Dart/Flutter through language-specific debug adapters and bridges.

Agents can launch programs, attach to existing processes, set and manage breakpoints, step through execution, inspect variables, evaluate expressions, and read program output. Breakpoints may target line content, function names, or expected source text, which helps them survive source edits and debugging restarts. Logpoints can record interpolated values without pausing execution.

How it works

The server uses the Debug Adapter Protocol to control the underlying debugger for each language. It runs as a headless Node.js process and can communicate over stdio or Streamable HTTP. Each debugging session gets its own proxy process, allowing separate sessions to operate independently.

Launch and attach modes vary by language. Remote attachment is available through mechanisms including debugpy, rdbg, the JavaScript V8 inspector, JDWP, Dart or Flutter VM-service URIs, and PID-based native attachment. Source-path mapping supports targets running on another machine, in a container, or in a Kubernetes pod. Python and Ruby remote attachment can connect directly to engines already running in the target process.

Program stdout and stderr are buffered behind get_output, with a cursor for incremental reads. A session also exposes its output transcript as a subscribable MCP resource. Stop responses include a snapshot of exception information, top stack frames, and locals; wait_for_stop can block until the next stop instead of requiring polling.

Setup and configuration

The package runs wherever Node.js runs, including CI runners, Docker containers, Kubernetes pods, SSH hosts, and agent sandboxes. It is distributed through npm and npx under @debugmcp/mcp-debugger, and a Docker image is available as debugmcp/mcp-debugger.

The server can use stdio for local MCP clients or Streamable HTTP for networked deployments. Some language adapters require tools installed on the host: Java uses a JDK 21 or newer, .NET uses netcoredbg, and Dart/Flutter uses the Dart or Flutter SDK. The package supplies the JavaScript, C/C++, and COBOL debug engines. list_supported_languages reports mode availability and the reason when a mode cannot run.

Tools and capabilities

  • Set, list, remove, and clear breakpoints during a session.
  • Set content-, function-, and line-oriented breakpoints, including logpoints.
  • Launch, attach, restart, and step through debug sessions.
  • Inspect variables and evaluate expressions.
  • Read buffered stdout and stderr with get_output.
  • Wait for execution stops with wait_for_stop.
  • Query launch behavior with dryRunSpawn without starting a process.
  • Use hot_reload for supported Java and Flutter workflows, with redefine_classes retained as a deprecated alias.
  • Expose a read-only IDE mirror with expose_session.

Dart and Flutter support includes Dart programs and tests, Flutter applications and tests on desktop, web, Android, and the iOS simulator, plus Android device attachment by deviceId. Flutter sessions support hot reload and hot restart.

Limitations and notes

Language features depend on the corresponding adapter and local toolchain. Rust on Windows requires the GNU toolchain. C and C++ support includes prebuilt binaries, auto-compiled standalone source files, PID attachment, and configuration pass-through for core dumps, gdbserver, and rr targets. COBOL support uses GnuCOBOL and CodeLLDB, including decoded COBOL storage scopes and copybook breakpoints.

The server is intended for headless and remote workflows rather than replacing a native IDE debugging interface. Its IDE integration is a read-only mirror of the agent's live session.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Debugger

mcp-debugger is an MCP server that connects AI agents to running programs through the Debug Adapter Protocol. Its main tools support launching and attaching sessions, setting and managing breakpoints, stepping through code, inspecting variables, evaluating expressions, waiting for stops, and reading debuggee output across ten languages.

Install it through npm or run it with npx using the `@debugmcp/mcp-debugger` package, or use the `debugmcp/mcp-debugger` Docker image. It runs as a Node.js process and supports stdio and Streamable HTTP transports.

Yes, mcp-debugger supports remote debugging for processes in containers and Kubernetes pods. Depending on the language, it can attach through a debug adapter, a host and port, a VM-service URI, or a PID-based workflow; the project also documents a `kubectl debug` sidecar flow.

mcp-debugger supports Python, JavaScript and TypeScript, Ruby, Rust, Go, Java, .NET, C and C++, COBOL, and Dart/Flutter. Adapter availability depends on the language and installed host tooling, which `list_supported_languages` reports by mode.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Debugger AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-debugger-2?style=directory)](https://allmcps.com/mcp/mcp-debugger-2)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-debugger-2"><img src="https://allmcps.com/api/badge/mcp-debugger-2?style=directory" alt="MCP Debugger on AllMCPs" /></a>