Skip to content
appsgit

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.

github.com/debugmcp/mcp-debugger (opens in a new tab)

Install mcp-debugger

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "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-debugger

Cursor

.cursor/mcp.json
{
  "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

.vscode/mcp.json
{
  "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_session

    Create a new debugging session

  • list_debug_sessions

    List all active sessions

  • list_supported_languages

    Show available language adapters

  • set_breakpoint

    Set a breakpoint in a file

  • list_breakpoints

    List a session's breakpoints with verified state

  • remove_breakpoint

    Remove a breakpoint by id or file+line

  • clear_breakpoints

    Remove all breakpoints (optionally per file)

  • start_debugging

    Start debugging a script

  • restart_debugging

    Relaunch with the same config, breakpoints re-applied

  • attach_to_process

    Attach debugger to a running process

  • detach_from_process

    Detach debugger from a process

  • expose_session

    Open a read-only DAP mirror endpoint so an IDE can attach and inspect

  • unexpose_session

    Close the mirror endpoint and disconnect IDE clients

  • get_stack_trace

    Get the current stack trace

  • list_threads

    List all threads in the debug session

  • get_scopes

    Get variable scopes for a frame

  • get_variables

    Get variables in a scope

  • get_local_variables

    Get local variables in current frame

  • step_over

    Step over the current line

  • step_into

    Step into a function

  • step_out

    Step out of a function

  • continue_execution

    Continue running

  • wait_for_stop

    Block until the session next pauses or ends

  • pause_execution

    Pause running execution

  • evaluate_expression

    Evaluate expressions in debug context

  • get_source_context

    Get source code context

  • get_output

    Read captured debuggee output (stdout/stderr)

  • close_debug_session

    Close a session

  • redefine_classes

    Hot-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).

FAQ

mcp-debugger FAQ

Still curious? Email info@appsgit.com.

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.