debug-mcp
About
MCP server exposing .NET debugging as 34 AI-accessible tools via ICorDebug APIs — breakpoints, stepping, inspection, exception autopsy, and code analysis.
Details
- Author
- jkolo
- Categories
- Developer Tools
Jump to
Setup
Install debug-mcp in your MCP client (Claude Desktop, Cursor, Windsurf, and others).
Repository: https://github.com/jkolo/debug-mcp
Follow the installation instructions in the repository README, then restart your MCP client.
MCP server for .NET debugging— enable AI agents to debug .NET applications interactively.
- Launch or attach to .NET processes
- Set breakpoints, exception breakpoints, and tracepoints
- Step through code line by line
- Inspect variables, evaluate expressions, and read memory
- Analyze stack traces and threads
- Get full exception context with one call (exception autopsy)
- Navigate code with go-to-definition, find usages, and diagnostics
- Automatically resolve symbols from public symbol servers
Unlike similar tools that use external debuggers via DAP protocol, debug-mcp interfacesdirectly with the .NET runtimeusing ICorDebug APIs — the same approach used by JetBrains Rider.
# No installation needed (.NET 10+) dnx -y debug-mcp
- .NET 10 SDK or later
- Linux (Windows and macOS support planned)
Add to yourclaude_desktop_config.json:
{ "mcpServers": { "dotnet-debugger": { "command": "dnx", "args": ["-y", "debug-mcp"] } } }
{ "mcpServers": { "dotnet-debugger": { "command": "dnx", "args": ["-y", "debug-mcp"] } } }
You: Debug my ASP.NET app and find why GetUser returns null Claude: I'll launch your application and investigate. [Calls debug_launch with program path] [Calls breakpoint_set at UserService.cs:42] [Calls debug_continue] [Calls breakpoint_wait with 30s timeout] The breakpoint was hit. Let me check the variables. [Calls variables_get for current frame] I found the issue: the userId parameter is an empty string. The bug is in the calling code at line 28 where...
You: My app throws NullReferenceException somewhere in checkout. Find it. Claude: I'll set an exception breakpoint and trigger the flow. [Calls debug_launch with program path] [Calls breakpoint_set_exception for System.NullReferenceException] [Calls debug_continue] [Calls breakpoint_wait with include_autopsy: true] Caught it! The exception was thrown in OrderService.cs at line 87. Here's the full context from the autopsy: - cart.Items was null because LoadCart() returned an empty cart - The null check at line 85 only checked cart, not cart.Items
- Architecture— System design and components
- How Debugging Works— ICorDebug internals explained
- MCP Tools Reference— Complete API documentation
- MCP Resources— Subscribable state views
- Development Guide— Building, testing, contributing
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
AI-powered live runtime debugging with Lightrun production context.
Run, debug, and triage tests via natural language across HyperExecute, Automation, SmartUI, and Accessibility on the TestMu AI cloud.
Understand, develop, and debug authorization policies in Oso Cloud.
A comprehensive proxy that combines multiple MCP servers into a single MCP. It provides discovery and management of tools, prompts, resources, and templates across servers, plus a playground for debugging when building MCP servers.
Proxyman MCP allows AI to inspect HTTP traffic, create debugging rules, and control Proxyman - all through natural language conversations.
Debug your remote Node.js and Next.js applications directly from your AI IDE like Cursor.
Live browser debugging for AI assistants — DOM, console, network via MCP.
Drives an Android emulator or a real device over adb: screenshots, UI hierarchy with true device-pixel coordinates, tap and type, app lifecycle, logcat, and Gradle builds and tests.
Interact with Android devices using the Android Debug Bridge (ADB).
Policy-gated MCP tools that let coding agents build, flash, stimulate and observe real embedded hardware (OpenOCD, pyOCD, STM32CubeProgrammer, serial, CAN).
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





