magna-nz avatar

ASP.NET Core Debugger — MCP Server for AI Agents

magna-nz/aspnetcore-debugger-mcp

Bridges Claude to netcoredbg via the Debug Adapter Protocol, letting the agent pause your running .NET app, inspect variables, set breakpoints, and mutate state mid-execution. Ships with netcoredbg binaries for Linux, macOS, and Windows, so no separate debugger install. You get 27 tools ranging from raw DAP primitives (attach, set breakpoint, evaluate expression) to agent-friendly composites like exception_autopsy, hang_analyze, and stack_explore that bundle multi-step debugging workflows into single calls. Reach for this when you want Claude to ground its answers in actual runtime values instead of guessing, or when you need to test a fix hypothesis by mutating variables without restarting the process.

GitHub stars
15
tools
27
transport
STDIO
last updated
Sep 8, 2026

Tools

27 tools

Public tool metadata for what this MCP can expose to an agent.

debug_launchStart, attach to, or stop a debug session

Start, attach to, or stop a debug session

No parameter schema in public metadata yet.

debug_attachStart, attach to, or stop a debug session

Start, attach to, or stop a debug session

No parameter schema in public metadata yet.

debug_disconnectStart, attach to, or stop a debug session

Start, attach to, or stop a debug session

No parameter schema in public metadata yet.

debug_stateStart, attach to, or stop a debug session

Start, attach to, or stop a debug session

No parameter schema in public metadata yet.

debug_continueDrive the debuggee and wait for it to stop

Drive the debuggee and wait for it to stop

No parameter schema in public metadata yet.

debug_pauseDrive the debuggee and wait for it to stop

Drive the debuggee and wait for it to stop

No parameter schema in public metadata yet.

debug_stepDrive the debuggee and wait for it to stop

Drive the debuggee and wait for it to stop

No parameter schema in public metadata yet.

breakpoint_waitDrive the debuggee and wait for it to stop

Drive the debuggee and wait for it to stop

No parameter schema in public metadata yet.

breakpoint_setLine, function, exception, and data breakpoints

Line, function, exception, and data breakpoints

No parameter schema in public metadata yet.

breakpoint_set_functionLine, function, exception, and data breakpoints

Line, function, exception, and data breakpoints

No parameter schema in public metadata yet.

breakpoint_set_exceptionLine, function, exception, and data breakpoints

Line, function, exception, and data breakpoints

No parameter schema in public metadata yet.

breakpoint_set_dataLine, function, exception, and data breakpoints

Line, function, exception, and data breakpoints

No parameter schema in public metadata yet.

breakpoint_removeLine, function, exception, and data breakpoints

Line, function, exception, and data breakpoints

No parameter schema in public metadata yet.

breakpoint_listLine, function, exception, and data breakpoints

Line, function, exception, and data breakpoints

No parameter schema in public metadata yet.

threads_listExamine and mutate program state

Examine and mutate program state

No parameter schema in public metadata yet.

stacktrace_getExamine and mutate program state

Examine and mutate program state

No parameter schema in public metadata yet.

variables_getExamine and mutate program state

Examine and mutate program state

No parameter schema in public metadata yet.

variables_setExamine and mutate program state

Examine and mutate program state

No parameter schema in public metadata yet.

evaluateExamine and mutate program state

Examine and mutate program state

No parameter schema in public metadata yet.

stack_exploreExamine and mutate program state

Examine and mutate program state

No parameter schema in public metadata yet.

exception_autopsyOne call: exception chain + top frames + locals + source snippet

One call: exception chain + top frames + locals + source snippet

No parameter schema in public metadata yet.

hang_analyzeAuto-pause, classify each thread's blocking pattern (Monitor / Task / Semaphore / async / …)

Auto-pause, classify each thread's blocking pattern (Monitor / Task / Semaphore / async / …)

No parameter schema in public metadata yet.

trace_startServer-side request tracing — auto-instrument a call chain and capture arguments at every entry

Server-side request tracing — auto-instrument a call chain and capture arguments at every entry

No parameter schema in public metadata yet.

trace_getServer-side request tracing — auto-instrument a call chain and capture arguments at every entry

Server-side request tracing — auto-instrument a call chain and capture arguments at every entry

No parameter schema in public metadata yet.

trace_stopServer-side request tracing — auto-instrument a call chain and capture arguments at every entry

Server-side request tracing — auto-instrument a call chain and capture arguments at every entry

No parameter schema in public metadata yet.

process_read_outputDrain the debuggee's stdout/stderr

Drain the debuggee's stdout/stderr

No parameter schema in public metadata yet.

debugger_healthQuick check that netcoredbg loaded and the bundled binary is reachable

Quick check that netcoredbg loaded and the bundled binary is reachable

No parameter schema in public metadata yet.

Sponsors

Readme

ASP.NET Core Debugging MCP Server

MCP Toplist

The cross-platform .NET debugging MCP — runs on Linux, macOS, and Windows.


View the full README on GitHub

Details

Repository
github.com/magna-nz/aspnetcore-debugger-mcp
Website
github.com/magna-nz/aspnetcore-debugger-mcp
Package
AspNetCoreDebuggerMcp
Transport
STDIO
Registry
MCP registry, active