DebugMCP

The official Microsoft MCP server for debugging: a VS Code extension and a CLI give an agent breakpoints, steps, variables and expression evaluation

  • 565 ★ on the repository
  • Last commit
  • MIT
MCP serverOfficial

Broad access

Why this level

  • The debugger runs your code
  • Expression evaluation executes code in the process
All reasons and checks

microsoft/debugmcp

Install

Manual install

npm install --global debugmcp

Or the VS Code extension ozzafar.debugmcpextension. HTTP: claude mcp add --transport http --scope user debugmcp http://localhost:3001/mcp.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The debugger runs your code
  • Expression evaluation executes code in the process

This is third-party code. Review the repository files before installing.

What it does

DebugMCP gives an agent a real debugger: breakpoints, stepping, variable inspection and expression evaluation. It works as a VS Code extension (Marketplace and Open VSX, `ozzafar.debugmcpextension`) and as a standalone CLI `npm install --global debugmcp`. Since version 2.4 the CLI works without VS Code and uses explicitly configured DAP adapters, and the `debugmcp configure --agent copilot-cli` command installs the `debug-live` skill. HTTP connection: `claude mcp add --transport http --scope user debugmcp http://localhost:3001/mcp`. MIT license.

Who it is for. For developers who want an agent to find the cause of an error in a live program and not guess from the code text.

Good fit when

  • The agent cannot find an error from the code text
  • You need breakpoints and variable inspection from an agent
  • You need a debugger for Copilot CLI or Claude Code

Not a fit when

  • You cannot run someone else's code on your machine
  • You need releases with version numbers on GitHub: versions go through the Marketplace

Example request

Run the failing test, set a breakpoint in the handler and show variable values at the moment of the error

MCP

Transport
http, stdio
Authentication
not required

Limitations

The debugger runs your code and expression evaluation executes code inside the process, so access is extended. Do not debug untrusted programs with an agent and do not attach it to a production process. There are no GitHub releases and versions are in the Marketplace.

How to disable. Disconnect the server in the client and remove the VS Code extension or the package with npm uninstall --global debugmcp.

FAQ

What does DebugMCP do?

It gives an agent a debugger: breakpoints, steps, variable inspection and expression evaluation.

Is VS Code needed?

No, since version 2.4 there is a standalone CLI, but DAP adapters must be configured explicitly.

How do I connect it to Claude Code?

claude mcp add --transport http --scope user debugmcp http://localhost:3001/mcp.

Discussion

No questions or reviews yet.

An MCP server that lets an agent read files, search code and run commands in a workspace

MCP serverBroad access1.2KRepository stars

An MCP server that builds a code graph once and serves the answer to the agent instead of re-reading files

MCP serverExtended access191Repository stars

A CLI and TypeScript runtime for calling MCP servers from a terminal, scripts and generated typed clients

CLIExtended access5.1KRepository stars

An MCP server that builds a code graph of functions, classes, calls and routes and answers the agent's structural queries locally

MCP serverExtended access46.5KRepository stars
Official

An MCP server and CLI for code research: search and understand your project and all of GitHub with fewer tokens

MCP serverExtended access951Repository stars

A plugin with skills for building TypeScript MCP servers and MCP apps: the agent scaffolds, edits, debugs and verifies them

PluginExtended access10.8KRepository stars

README in short

The README describes a VS Code extension and a CLI that open a debugger to an agent through MCP: breakpoints, steps, variables and expressions. MIT license.

README badge

Report a problem

Foxx AIDebugMCP
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.