技能潮 SkillTide 提交收录
官方说明7 个来源MCP 服务8 天前
aayushmdesai/mcp-dotnet-diagnostics

aayushmdesai/mcp-dotnet-diagnostics

MCP server for .NET runtime diagnostics — memory, GC, threads, and more
在 GitHub 查看 ↗直链 · 无中转页
配置模板(请按你的客户端调整)
claude mcp add mcp-dotnet-diagnostics -- npx -y mcp-dotnet-diagnostics
这是根据仓库名生成的可粘贴骨架,命令行参数与包名请以该项目 README 为准。
★ 数取值
2 ★ · aayushmdesai/mcp-dotnet-diagnostics · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
收录自 punkpeye/awesome-mcp-servers 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-10-09 · 最近见到 2026-10-16 · 共见到 32 次 · 被 7 个来源列出
评分构成
综合分 703 · 2 ★ · 7 个来源 · mcp
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 aayushmdesai/mcp-dotnet-diagnostics;我们收录于 2026-10-09;最近见到 2026-10-16。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

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?"
来源
awesome · https://github.com/aayushmdesai/mcp-dotnet-diagnostics
按领域浏览
MCP 服务
Traction
2 ★
收录于
昨天

更多MCP 服务

查看MCP 服务全部 5,525 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引