World Monitor
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
Give an AI agent a real .NET debugger: breakpoints, stepping, locals, expression evaluation.
选择你使用的 AI 应用,然后复制设置。
通过 3/3 项检查 · 在你的电脑上运行 · ✓ 命令已检查 2026年11月13日
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude,但需要先准备
不需要密钥,不用安装程序 · 仅限电脑上的 Claude 应用(Windows 或 Mac),网页和手机不可用
SettingsDeveloperEdit Config
{
"mcpServers": {
"dotnet-debugger": {
"command": "dnx",
"args": [
"DotnetDebugger.Mcp",
"--yes"
]
}
}
}用 .NET Debugger for MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 .NET Debugger for MCP,或回答中出现 .NET Debugger for MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
ChatGPT 暂时无法连接 .NET Debugger for MCP
.NET Debugger for MCP 需要安装在你的电脑上,而 ChatGPT 只能连接在网上运行的服务器
A · 使用能连接 .NET Debugger for MCP 的应用
B · 其他 类中能连接 ChatGPT 的其他服务器
从同类中使用较多的里挑选,仅限用地址即可连接、无需密钥的
可连接 Claude Code,但需要先准备
不需要密钥,不用安装程序
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
claude mcp add --scope user dotnet-debugger -- dnx DotnetDebugger.Mcp --yes应能看到 .NET Debugger for MCP 在列表中并显示已连接
用 .NET Debugger for MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 .NET Debugger for MCP,或回答中出现 .NET Debugger for MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor,但需要先准备
不需要密钥,不用安装程序
用 .NET Debugger for MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 .NET Debugger for MCP,或回答中出现 .NET Debugger for MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code,但需要先准备
不需要密钥,不用安装程序
用 .NET Debugger for MCP 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 .NET Debugger for MCP,或回答中出现 .NET Debugger for MCP 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
Claude Code
claude mcp add --scope user dotnet-debugger -- dnx DotnetDebugger.Mcp --yesClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"dotnet-debugger": {
"command": "dnx",
"args": [
"DotnetDebugger.Mcp",
"--yes"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"dotnet-debugger": {
"command": "dnx",
"args": [
"DotnetDebugger.Mcp",
"--yes"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"dotnet-debugger": {
"type": "stdio",
"command": "dnx",
"args": [
"DotnetDebugger.Mcp",
"--yes"
]
}
}
}这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月15日
注册名称已通过 GitHub 账户 nevse 验证,该账户拥有此仓库
代码最后更新于20天前
使用 MIT
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
还没有评价
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 3 项适用的基础检查中通过了 3 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于20天前,最新版本(0.7.1)于23天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 .NET。
同一分类中有:World Monitor, Claude Flow, Windmill
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Real-time global intelligence on conflict, markets, energy, trade, shipping and cyber. 97 tools.
AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.MCPuntil the first release, and GitHub redirects the old name. TheSHARPDBG_*settings
were renamed to
DOTNET_DEBUGGER_MCP_*in the release that followed 0.6.3; the old names are no
longer read.
Some of these need changes in the underlying debugger rather than here.
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.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.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:
claude mcp add dotnet-debugger -- dotnet tool exec DotnetDebugger.Mcp --version 0.8.0 --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.
VS Code, in .vscode/mcp.json for the workspace, or with MCP: Open User Configuration for every workspace. VS Code calls the section servers, not mcpServers:
{
"servers": { "dotnet-debugger": { "type": "stdio", "command": "dotnet", "args": ["tool", "exec", "DotnetDebugger.Mcp", "--version", "0.8.0", "--yes"] } } }
Claude Desktop, by editing ~/.config/Claude/claude_desktop_config.json on macOS and Linux, or %APPDATA%\Claude\claude_desktop_config.json on Windows:
{
"mcpServers": { "dotnet-debugger": { "command": "dotnet", "args": ["tool", "exec", "DotnetDebugger.Mcp", "--version", "0.8.0", "--yes"] } } }
dnx DotnetDebugger.Mcp --version 0.8.0 --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.
Every command here names a version. Without --version, dotnet tool exec resolves the package on each start, so a newly published release would run on the next session without anyone having chosen it. A debugger can read and change everything in the process it attaches to, so which build of it runs should be a decision rather than a side effect. Change the version in the command to upgrade; the latest is on nuget.org.
Installing the tool once instead avoids the resolution step on every start:
dotnet tool install -g DotnetDebugger.Mcp --version 0.8.0
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.
Releases after 0.6.1 carry a build provenance attestation: a statement, signed through GitHub, that this repository's release workflow built that package from a given commit. To check one before mirroring or installing it, download the .nupkg from nuget.org and run:
gh attestation verify DotnetDebugger.Mcp.<version>.nupkg --repo nevse/dotnet-debugger-mcp
nuget.org adds its own repository signature to every package it accepts, which changes the file, so the release workflow attests both: the package as built, attached to the GitHub Release, and nuget.org's copy, once it has checked that copy holds exactly what was built. For 0.6.2 only the first exists: verify the copy from gh release download v0.6.2 -R nevse/dotnet-debugger-mcp -p '*.nupkg'.
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:
dotnet tool exec DotnetDebugger.Mcp --version 0.1.1 --yes
With the version pinned, upgrading is changing it in the command, and the question does not arise. An installed tool is upgraded explicitly too:
dotnet tool update -g DotnetDebugger.Mcp --version <new version>
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.
Catching a program before it has run a single line, which is the case attaching cannot reach:
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."
Each tool declares MCP annotations, so a client that reads them can approve the read-only ones without asking and still ask for the rest. The last column says which:
ToString, property getters and DebuggerDisplay to show a value. Not marked read-only, though not destructive either.The annotations are hints, and a client is free to ignore them.
| Tool | What it does | Annotation |
|---|---|---|
list_dotnet_processes | List the .NET processes running on this machine | read-only |
attach_to_process | Attach the debugger to a running .NET process | runs code |
launch_program | Prepare a program to run under the debugger, stopped before it starts | runs code |
start_program | Run the program prepared by launch_program | runs code |
get_process_status | Report whether the session is running, stopped, and where | read-only |
wait_for_stop | Block until the debuggee stops, instead of polling | read-only |
get_program_output | Read what the debuggee wrote to stdout and stderr | read-only |
detach_from_process | Detach, leaving the process running | ends a launched program |
list_sessions | List open sessions and what each is debugging | read-only |
close_session | Close a session, detaching first if needed | ends a launched program |
Needs a one-off setup - see Debugging a .NET MAUI app.
| Tool | What it does | Annotation |
|---|---|---|
list_mobile_devices | List Android emulators and phones, iOS simulators and devices, and this Mac | read-only |
build_mobile_app | Build a MAUI project for one of them, against CoreCLR and with the debugging library inside | runs code |
launch_mobile_app | Prepare the built app for debugging, stopped before it starts; start_program runs it | runs code |
| Tool | What it does | Annotation |
|---|---|---|
set_breakpoint | Set or update a breakpoint at a file and line, with an optional condition or hit count | runs code |
set_function_breakpoint | Set a breakpoint on a method by name, when the file and line are not known | runs code |
remove_breakpoint | Remove a breakpoint of either kind | session |
list_breakpoints | List this session's breakpoints and whether each is verified | read-only |
set_exception_break_mode | Choose which exceptions stop the program: all, unhandled, or named types | session |
| Tool | What it does | Annotation |
|---|---|---|
continue_execution | Resume until the next breakpoint or exit | session |
| pause_execution | Break into the debugger where the program currently is | ses