SkillTide Submit
Official description7 sourcesMCP servers8d ago
aayushmdesai/mcp-dotnet-diagnostics

aayushmdesai/mcp-dotnet-diagnostics

MCP server for .NET runtime diagnostics — memory, GC, threads, and more
View on GitHub ↗Direct link · no redirect page
Config template (adjust for your client)
claude mcp add mcp-dotnet-diagnostics -- npx -y mcp-dotnet-diagnostics
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
2 ★ · aayushmdesai/mcp-dotnet-diagnostics · read from the GitHub search API · (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list · type: MCP server
Harvest history
first seen 2026-10-09 · last seen 2026-10-16 · seen 32× · listed by 7 sources
Score
score 703 · 2 ★ · 7 sources · mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP 服务. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository aayushmdesai/mcp-dotnet-diagnostics;first catalogued 2026-10-09;last seen 2026-10-16。There is no official certification or quality rating here — we record sources and dates only.
Third-party quality signals

mcp-dotnet-diagnostics

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Give your AI assistant real-time visibility into your .NET application's runtime health.
Connect this Model Context Protocol server to Claude Desktop
and ask plain questions about any running .NET process — memory leaks, GC pressure, thread
starvation, allocation hotspots. Claude calls the right tools, reads real runtime data, and
tells you what's actually wrong.
---
What this looks like in practice
You ask:
> *"Why does my API have high memory usage? PID is 12345."*
Claude calls get_process_info to confirm connectivity, then get_memory_stats, then
get_gc_events — and responds:
> *"Every GC event in the last 5 seconds was a Gen2 collection triggered by AllocLarge.
> Something is continuously allocating objects above the 85KB LOH threshold at ~10.5 MB/s.
> LOH is never compacted by default — fragmentation is at 55% and growing. The fix is
> ArrayPool .Shared. Rent a buffer, use it, return it."*
You don't tell Claude which tools to call. It figures that out from your question.
---
Tools
| Tool | What it returns | Reach for it when... |
|------|----------------|----------------------|
| get_process_info | Name, PID, uptime, .NET version, OS | Starting any investigation — confirms the process is reachable |
| get_memory_stats | GC heap, LOH size, alloc rate, Gen0/1/2 counts, fragmentation | Memory is high or growing |
| get_gc_events | Per-collection timeline — generation, reason, timestamp | GC pauses are affecting latency |
| get_thread_stats | ThreadPool count, queue depth, completed items, lock contention | Requests are slow or backing up |
| get_event_counters | All 27 System.Runtime metrics in one snapshot | You want a broad health overview |
| get_environment_info | Runtime config, filtered env vars (no secrets) | Debugging configuration issues |
| list_counters | Raw EventCounter names and current values | Discovering what's available on an unfamiliar process |
---
Installation
**1. Install the tool**
Requires .NET 8 SDK or later. Get it here if needed.
**2. Add to Claude Desktop**
Open ~/Library/Application Support/Claude/claude_desktop_config.json while Claude Desktop
is **fully quit** (Cmd+Q — not just the window closed), then add:
**3. Reopen Claude Desktop**
The dotnet-diagnostics connector appears in the tools menu. Ask it about any .NET process.
---
> **macOS: the TMPDIR step is not optional.**
>
> The .NET diagnostics protocol finds processes through a Unix socket. On macOS, that socket
> lives under $TMPDIR — not /tmp/ where the library looks by default. Without this,
> every tool call returns "process not found."
>
> Find yours with: echo $TMPDIR
---
> **Want to contribute or build from source?**
> See CONTRIBUTING.md for how to clone, build, and add new tools.
Usage
Find the PID of your target process:
Then ask Claude naturally:
"Do a full health check on PID 12345."
"Why is memory climbing on PID 12345?"
"Any thread starvation in PID 12345?"
"What's the GC situation on PID 12345?"
Source
awesome · https://github.com/aayushmdesai/mcp-dotnet-diagnostics
Browse by field
MCP servers
Traction
2 ★
added
yesterday

More in MCP servers

All 5,525 in MCP servers →

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields →

← Back to index