Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

Follow AllMCPs on X (opens in a new tab)AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • X (@AllMCPs) β†— (opens in a new tab)
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ’» Developer Tools
  3. .NET Debugger for MCP
.
Health: Not checked yetWe have not completed a health check for this listing yet.No health check has run yet.

.NET Debugger for MCP

User RatingsBe the first to rate and review this MCP server! Enrichment pendingWe haven’t run our AI enrichment pass on this listing yet, so the overview, use cases, and FAQ below may be sparse or missing. We work through the catalog over time β€” check back soon.
View Repository

Give an AI agent a real .NET debugger: breakpoints, stepping, locals, expression evaluation.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "net-debugger-for-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "net-debugger-for-mcp"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ’» More in Developer Tools

Documentation Overview

DotnetDebugger.Mcp

An MCP server that lets an AI assistant debug .NET programs: launch or attach to a process, set breakpoints, step through code, inspect variables and evaluate expressions. It also carries a searchable reference on how .NET debuggers work internally.

Published on NuGet as DotnetDebugger.Mcp. Built on clrdbg, driven over the Debug Adapter Protocol. The debugger travels inside the package and runs as a child process, so a crash in native debugging code costs the debug session rather than the server.

Origin. A fork of decriptor/SharpDbg.MCP, now far enough from it to carry its own name: the debugger layer speaks the Debug Adapter Protocol instead of calling a debugger's internal API, the debugger underneath has since changed from SharpDbg to clrdbg, launching a program under the debugger is new, and the two have not shared a commit since. This repository was called SharpDbg.MCP until the first release; GitHub redirects the old name, and the project files and SHARPDBG_* settings still carry it.

What it can do

  • Attach to a running .NET process, or launch one and stop before its first line executes
  • Set breakpoints by file and line or by method name, with conditions and hit counts
  • Step over, into and out of code, and read the call stack for any thread
  • Inspect local variables, expand objects member by member, and evaluate C# expressions
  • Break on exceptions - all of them, only the unhandled ones, or only the types you name - and read what was thrown
  • Read the debuggee's stdout and stderr
  • Debug more than one process at once, each with its own breakpoints and stops
  • Search embedded documentation on ICorDebug, the Debug Adapter Protocol and expression evaluation

What it cannot do

Some of these need changes in the underlying debugger rather than here.

  • Report the exit code of a process it attached to. exit_code is null there. The debugger reads the code off a process it started itself and has none for one it was pointed at, so for an attached process there is nothing to report β€” and the protocol cannot say "unknown", only 0, which would be a number this server made up. A program started with launch_program does report its real code.
  • Debug a self-contained single-file publish. The runtime is packed inside the executable, so the debugger shim cannot find it to load the matching components. The attempt fails immediately with CORDBG_E_DEBUG_COMPONENT_MISSING (0x80131C3C), reported as Attempting to register for runtime startup failed: -2146231236. Self-contained on its own works, and single-file on its own works; only the combination does not.
  • Watch expressions, hot reload and data breakpoints are not implemented.

Requirements

  • .NET 10 SDK or later
  • An MCP-compatible client, such as Claude Code or Claude Desktop
  • Windows, macOS or Linux

Install

One package carries the debugger and its native shims for every platform, so the same configuration works everywhere. There is nothing to clone or build.

Claude Code, for the current project:

Terminal
claude mcp add dotnet-debugger -- dotnet tool exec DotnetDebugger.Mcp --yes

Add --scope user to make it available in every project, or --scope project to write a .mcp.json that is committed and shared with your team.

Claude Desktop, by editing ~/.config/Claude/claude_desktop_config.json on macOS and Linux, or %APPDATA%\Claude\claude_desktop_config.json on Windows:

config.json
{
  "mcpServers": {
    "dotnet-debugger": {
      "command": "dotnet",
      "args": ["tool", "exec", "DotnetDebugger.Mcp", "--yes"]
    }
  }
}

dnx DotnetDebugger.Mcp --yes is the shorter equivalent, and the form NuGet.org suggests. Prefer dotnet tool exec in a client launched from a desktop environment rather than from a shell: dnx lives in the SDK directory, which such a client often does not have on its PATH, while dotnet reliably is.

A client only connects its MCP servers when a session starts, so restart it after changing the configuration. To confirm the server is there, run claude mcp list or ask the client to list .NET processes.

Pinning a version

Installing the tool once avoids the resolution step on every start and keeps the version fixed until you change it:

bash
dotnet tool install -g DotnetDebugger.Mcp

The command is then dotnet-debugger-mcp, with no arguments. This needs ~/.dotnet/tools on your PATH, which is why it is not the default suggestion: a client that cannot find the command fails the same way a wrong path does.

Upgrading

dotnet tool exec can keep running a version it has already downloaded, even after a newer one is published and indexed. Nothing looks wrong when it does: the server starts, the client reports it as connected, and the only sign is that the new release's tools are missing.

Measured while releasing 0.1.1. With only 0.1.0 in the local package folder, the unpinned command kept running 0.1.0, and clearing the NuGet HTTP cache did not change that. Naming the version once fetched the new package, after which the unpinned command used it too:

bash
dotnet tool exec DotnetDebugger.Mcp --version 0.1.1 --yes

Installing the tool avoids the question entirely, because then upgrading is explicit:

bash
dotnet tool update -g DotnetDebugger.Mcp

To see which version is actually running, ask the client to list this server's tools, or read the first line the server writes to stderr β€” it names the version at startup. A client's own health check reports only that the process started, not what it is.

A worked example

Catching a program before it has run a single line, which is the case attaching cannot reach:

Code
User: "My app throws before it prints anything. Find out why."

Claude: [launch_program("/path/to/bin/Debug/net10.0/MyApp.dll")]
"Prepared, not running yet. Setting a breakpoint on the first line of Main."

Claude: [set_breakpoint("/path/to/Program.cs", 12)]
"Breakpoint set. It is unverified for now β€” nothing can bind before the program has
loaded its modules β€” and takes effect when the program starts."

Claude: [start_program()]
Claude: [wait_for_stop()]
"Stopped at Program.cs:12, before a single line has run."

Claude: [step_over(thread_id: 1)]
Claude: [get_variables(frame_id: 0)]
"configPath is null, and the next line passes it to File.ReadAllText."

Claude: [get_program_output()]
"The program printed nothing before the throw, which matches what you saw."

Tools

Debugging

ToolWhat it does
list_dotnet_processesList the .NET processes running on this machine
attach_to_processAttach the debugger to a running .NET process
launch_programPrepare a program to run under the debugger, stopped before it starts
start_programRun the program prepared by launch_program
get_process_statusReport whether the session is running, stopped, and where
wait_for_stopBlock until the debuggee stops, instead of polling
get_program_outputRead what the debuggee wrote to stdout and stderr
detach_from_processDetach, leaving the process running
list_sessionsList open sessions and what each is debugging
close_sessionClose a session, detaching first if needed

Breakpoints

ToolWhat it does
set_breakpointSet or update a breakpoint at a file and line, with an optional condition or hit count
set_function_breakpointSet a breakpoint on a method by name, when the file and line are not known
remove_breakpointRemove a breakpoint of either kind
list_breakpointsList this session's breakpoints and whether each is verified
set_exception_break_modeChoose which exceptions stop the program: all, unhandled, or named types

Execution and inspection

ToolWhat it does
continue_executionResume until the next breakpoint or exit
pause_executionBreak into the debugger where the program currently is
step_over, step_into, step_outStep by line, into a call, or out of the current method
get_threadsList the threads in the debuggee
get_stack_traceRead the call stack for a thread
get_variablesRead the locals of a stack frame
expand_variableExpand an object into its members, which may expand further
evaluate_expressionEvaluate a C# expression in the context of a frame
get_exception_infoRead the type, message, HResult, source and stack trace of what was thrown

Documentation

ToolWhat it does
search_debugging_conceptsSearch the embedded documentation
explain_icordebug_interfaceExplain a specific ICorDebug interface
get_debugging_flowWalk through a debugging operation step by step
list_debugging_conceptsBrowse the concept catalogue by category

Things worth knowing

Breakpoints need portable PDBs

A breakpoint binds through the target's symbols, so the debuggee must be built with portable PDBs sitting next to its assembly. A missing or mismatched PDB is the most common reason set_breakpoint answers verified: false with No symbols have been loaded for this document.

Debug builds already do this. For a Release build, or any project that changes the defaults:

xml
<PropertyGroup>
  <DebugType>portable</DebugType>
  <DebugSymbols>true</DebugSymbols>
</PropertyGroup>

Optimized code also moves locals out of reach, so get_variables is only fully useful with <Optimize>false</Optimize>.

macOS: headless environments may need an entitlement

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Developer Tools View all alternatives
  • PraisonAI logoPraisonAI

    AI Agents Framework with Self Reflection and MCP support

    πŸ’» Developer Tools1 views
    Compare vs PraisonAI β†’
  • Three.js DevTools MCP logoThree.js DevTools MCP

    Inspect and edit Three.js scenes, materials, shaders, lights in real time from any AI agent

    πŸ’» Developer Tools0 views
    Compare vs Three.js DevTools MCP β†’
  • Ko MCP logoKo MCP

    Real SEC, 13F, insider, congress & macro data your AI agent can cite. Hosted MCP, 24 tools.

    πŸ’» Developer Tools0 views
    Compare vs Ko MCP β†’
  • Labelhead Artist Momentum logoLabelhead Artist Momentum

    Trending hip-hop artist momentum scores across four cultural dimensions.

    πŸ’» Developer Tools0 views
    Compare vs Labelhead Artist Momentum β†’

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about .NET Debugger for MCP

Add the following block to your claude_desktop_config.json under mcpServers: "mcpServers": { "net-debugger-for-mcp": { "command": "npx", "args": ["-y", ".NET Debugger for MCP"] } }

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG Preview.NET Debugger for MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/net-debugger-for-mcp?style=directory)](https://allmcps.com/mcp/net-debugger-for-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/net-debugger-for-mcp"><img src="https://allmcps.com/api/badge/net-debugger-for-mcp?style=directory" alt=".NET Debugger for MCP on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ’»Developer Tools
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
Last updatedSep 7, 2026
Views0
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
27Quality signal: Emerging Β· 27/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership8/20
Documentation & tools11/30
Adoption & activity1/15
Community engagement0/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

β˜… FeaturedAllMCPs Server logo

AllMCPs Server

The official MCP server for AllMCPs.com - submit and manage tools directly from your AI. The open directory for MCP servers. Connect Claude, Cursor, Windsurf, and AI agents to databases, tools, files, and APIs. Explore 10,000+ servers. AllMCPs is the premier, open directory for discovering, evaluating, and installing Model Context Protocol (MCP) servers to equip AI agents and LLMs with real-world superpowers.

Explore Server β†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge and attach your website β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ’» Developer Tools β†’Best MCP servers for Developers β†’Alternatives to .NET Debugger for MCP β†’Install in Claude DesktopInstall in CursorInstall in VS Code