MCP Catalogs
HomeDebugMCP screenshot

DebugMCP

by microsoft·349·Score 53

DebugMCP enables AI agents to debug code in VS Code with breakpoints, stepping, and variable inspection.

developer-toolsai-llmproductivity
29
Forks
20
Open issues
this month
Last commit
2d ago
Indexed

Overview

DebugMCP is a comprehensive MCP server from Microsoft that provides AI coding agents full control over the VS Code debugger. It allows autonomous debugging through tools for setting breakpoints, stepping through code, inspecting variables, and evaluating expressions across multiple programming languages. The extension runs locally with zero configuration and works seamlessly with any MCP-compatible AI assistant including GitHub Copilot, Cursor, Cline, and others.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:AI agents autonomously debugging code by setting breakpoints and stepping through execution
you:Evaluating expressions and inspecting variables at runtime to diagnose issues
you:Starting and managing debugging sessions across multiple programming languages
you:Which AI assistants are supported?
you:Which programming languages are supported?

When to choose this

Choose DebugMCP when you need AI agents to perform real debugging operations in VS Code, including breakpoints, stepping through code, and inspecting variables.

When NOT to choose this

Avoid if you need debugging capabilities outside of VS Code or require integration with non-MCP-based AI assistants.

Tools this server exposes

12 tools extracted from the README
  • get_debug_instructions

    Get the debugging guide with best practices and workflow instructions

  • start_debuggingstart_debugging(fileFullPath, workingDirectory, testName?, configurationName?)

    Start a debug session for a source code file

  • stop_debugging

    Stop the current debug session

  • step_over

    Execute the next line (step over function calls)

  • step_into

    Step into function calls

  • step_out

    Step out of the current function

  • continue_execution

    Continue until next breakpoint

  • restart_debugging

    Restart the current debug session

  • add_breakpointadd_breakpoint(fileFullPath, lineContent)

    Add a breakpoint at a specific line

  • remove_breakpointremove_breakpoint(fileFullPath, line)

    Remove a breakpoint from a specific line

  • clear_all_breakpoints

    Remove all breakpoints at once

  • get_variables_valuesget_variables_values(scope?)

    Get variables and their values at current execution point

Comparable tools

vscode-debugger-extensionai-debugging-assistantgithub-copilot-debuggingai-debugging-tools

Installation

Installation

**Option 1: VS Code Marketplace**

  • Visit: [https://marketplace.visualstudio.com/items?itemName=ozzafar.debugmcpextension](https://marketplace.visualstudio.com/items?itemName=ozzafar.debugmcpextension)
  • Click "Install"

**Option 2: Direct Link**

  • Copy and paste in your browser: vscode:extension/ozzafar.debugmcpextension

**Option 3: Within VS Code**

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "DebugMCP"
  4. Click Install

**Manual MCP Server Registration** Add to your AI assistant's configuration:

{
  "mcpServers": {
    "debugmcp": {
      "type": "http",
      "url": "http://localhost:3001/mcp",
      "description": "DebugMCP - AI-powered debugging assistant"
    }
  }
}

FAQ

Which AI assistants are supported?
DebugMCP works with any MCP-compatible AI assistant including GitHub Copilot, GitHub Copilot CLI, Cline, Cursor, Codex, Windsurf, Roo Code, Antigravity, and others.
Which programming languages are supported?
DebugMCP supports Python, JavaScript/TypeScript, Java, C#, C++, Go, Rust, PHP, and Ruby with their respective VS Code extensions.

Compare DebugMCP with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.