mcp-dotnet-diagnostics
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 isArrayPool<byte>.Shared. Rent a buffer, use it, return it."
You don't tell Claude which tools to call. It figures that out from your question.






