ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

.NET Debugger for MCP

โดย nevseรุ่น 0.7.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.nevse/dotnet-debugger-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: อื่น ๆ

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "dotnet-debugger": {
      "command": "dnx",
      "args": [
        "DotnetDebugger.Mcp",
        "--yes"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add dotnet-debugger -- dnx DotnetDebugger.Mcp --yes

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "dotnet-debugger": {
      "command": "dnx",
      "args": [
        "DotnetDebugger.Mcp",
        "--yes"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "dotnet-debugger": {
      "type": "stdio",
      "command": "dnx",
      "args": [
        "DotnetDebugger.Mcp",
        "--yes"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 6 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub nevse ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32476 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 71% ของอีก 32476 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32476 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

.NET Debugger for MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.7.1) เข้า registry 15 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี .NET ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, zanadir

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

zanadir

โดย MustacheCase

Find what a repository's CI is missing, and which security checks cannot fail the build.

รันบนเครื่องอัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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, and GitHub redirects the old name. The SHARPDBG_* settings

were renamed to DOTNET_DEBUGGER_MCP_* in the release that followed 0.6.3; the old names are no

longer read.

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
  • Debug a .NET MAUI app on an Android emulator or phone, an iOS simulator or device, or this Mac as a Mac Catalyst app - building it and stopping before its first line, same as a desktop program
  • 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:

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.

Why the version is pinned

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.

Checking where a package came from

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'.

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:

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.

A worked example

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."

Tools

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:

  • read-only - reads the session or the machine and changes nothing.
  • session - changes only the debug session: stepping, resuming, removing a breakpoint. Not destructive.
  • runs getters - reads that run the debuggee's own code: the debugger calls ToString, property getters and DebuggerDisplay to show a value. Not marked read-only, though not destructive either.
  • ends a launched program - destructive: a program the session launched is killed.
  • runs code - destructive and open-world: it starts, builds or evaluates code the agent chose. A breakpoint's condition is a C# expression evaluated at every hit, so setting one counts.

The annotations are hints, and a client is free to ignore them.

Debugging
ToolWhat it doesAnnotation
list_dotnet_processesList the .NET processes running on this machineread-only
attach_to_processAttach the debugger to a running .NET processruns code
launch_programPrepare a program to run under the debugger, stopped before it startsruns code
start_programRun the program prepared by launch_programruns code
get_process_statusReport whether the session is running, stopped, and whereread-only
wait_for_stopBlock until the debuggee stops, instead of pollingread-only
get_program_outputRead what the debuggee wrote to stdout and stderrread-only
detach_from_processDetach, leaving the process runningends a launched program
list_sessionsList open sessions and what each is debuggingread-only
close_sessionClose a session, detaching first if neededends a launched program
.NET MAUI

Needs a one-off setup - see Debugging a .NET MAUI app.

ToolWhat it doesAnnotation
list_mobile_devicesList Android emulators and phones, iOS simulators and devices, and this Macread-only
build_mobile_appBuild a MAUI project for one of them, against CoreCLR and with the debugging library insideruns code
launch_mobile_appPrepare the built app for debugging, stopped before it starts; start_program runs itruns code
Breakpoints
ToolWhat it doesAnnotation
set_breakpointSet or update a breakpoint at a file and line, with an optional condition or hit countruns code
set_function_breakpointSet a breakpoint on a method by name, when the file and line are not knownruns code
remove_breakpointRemove a breakpoint of either kindsession
list_breakpointsList this session's breakpoints and whether each is verifiedread-only
set_exception_break_modeChoose which exceptions stop the program: all, unhandled, or named typessession
Execution and inspection
ToolWhat it doesAnnotation
continue_executionResume until the next breakpoint or exitsession

| pause_execution | Break into the debugger where the program currently is | ses

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx