
ASP.NET Core Debugger — MCP Server for AI Agents
io.github.magna-nz由 GitHub 账号 magna-nz 发布v1.4.0更新于 Oct 24, 2026
MCP server giving AI agents interactive .NET / ASP.NET Core debugging via netcoredbg + DAP.
发布方自己的服务:core.blue
概览
让 AI 助手启动、附加并交互式调试 .NET 与 ASP.NET Core 进程,读取运行时值并修改状态。
- 可以做什么
- 这是一个本地 MCP 服务器,通过 Debug Adapter Protocol 把 AI 客户端连接到 netcoredbg,提供 27 个工具。涵盖会话控制(启动、附加、断开)、执行步进、行、函数、异常和数据断点,以及线程、堆栈、变量与表达式的检查,包括设置变量值。组合工具把多个调试请求合并为一次调用:exception_autopsy、stack_explore、用于死锁分类的 hang_analyze,以及用于请求跟踪的 trace_start/trace_get/trace_stop。
- 适用场景
- 当助手需要诊断正在运行的 .NET 或 ASP.NET Core 应用而不是凭源码猜测时适用:查询返回空结果、身份验证失败、请求挂起、死锁或接口变慢。适合希望助手暂停代码、读取真实运行时值,并通过修改变量验证修复方案再改代码的开发者。
- 运行要求
- 以本地进程方式通过 stdio 运行。主机需安装 .NET 10 SDK;软件包已内置适用于 linux-x64、linux-arm64、win-x64、osx-x64 和 osx-arm64 的 netcoredbg。以 .NET 全局工具安装,并按命令名注册到 MCP 客户端。未声明任何身份验证、环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 ASP.NET Core Debugger — MCP Server for AI Agents,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
ASP.NET Core Debugging MCP Server
The cross-platform .NET debugging MCP — runs on Linux, macOS, and Windows.
[CI] [NuGet] [.NET] [MCP] [Platforms] [License: MIT] [Glama Quality]
An MIT-licensed MCP server that lets an AI agent (Claude, etc.) debug your .NET / ASP.NET Core app — netcoredbg bundled for every platform, nothing extra to install.
Instead of "I think the bug is around line 42, try this", the agent runs your code, pauses it, reads the actual runtime values, mutates state to test a fix, and answers grounded in what it actually saw.
Contents
- See it in action — 5 conversations showing the agent at work
- How it works — architecture diagram
- Use it in 3 steps — install + register with Claude
- Platforms — supported OS / architecture matrix
- Tools (27) — full tool surface grouped by purpose
- How this compares — vs. other .NET / DAP MCPs
- Docs — install, examples, tool reference, limits
- License
See it in action
Why is my EF Core query returning empty?
You
GET /users/activereturns[], but I know there are active users in the DB. What's the query actually doing?
Claude
I'll pause inside
UserRepository.GetActiveAsyncand read what EF Core actually sent.The SQL is correct; the parameter is wrong.
TenantId = 0, but your tenants start at 1.ICurrentUser.TenantIdis being read in the repository constructor — before the request scope resolves it. Fix: read the tenant inside the query (or apply it viaHasQueryFilterwithIHttpContextAccessor) instead of capturing it at construction.
Why is my JWT auth returning 401?
You
/admin/usersis 401-ing for Anna, but her token looks valid to me. What does the auth handler actually see?
Claude
I'll break inside
JwtBearerHandler.HandleAuthenticateAsyncafter her request lands.The token validates fine — but the claim is
role=User. Your endpoint is[Authorize(Roles="Admin")]. So the 401 is correct: Anna isn't actually an admin yet upstream. Either her IdP record needs updating, or this policy is wrong.
Test a fix without restarting
You
I think capping
discountat 100 fixes the bug. Test that hypothesis without me touching the code.
Claude
I'll pause inside
ApplyDiscounton the next checkout and mutatediscountin place.Capping at 100 unblocks the flow downstream. Hypothesis confirmed — time to make the edit for real and decide where the cap belongs (
ApplyDiscountitself, or upstream inPromoEngine).
My app is hung — what's actually blocking?
You
/reportshangs forever in staging. Attach and tell me why.
Claude
Attached. Ran
hang_analyze.Classic sync-over-async deadlock. Thread 12 calls
.Wait()on a task that itself needs to open anotherSqlConnectionfrom a fully-held pool. The connection it's holding can't be released until the task completes; the task can't proceed until a connection frees up. Fix:awaitall the way down inReportService, or don't hold a connection across the awaited call.
Where is a slow request actually spending its time?
You
GET /order/42takes 800ms. I don't want to set breakpoints all over — just show me where the time is going.
Claude
I'll auto-instrument your order pipeline and fire the request. Each entry logs the timestamp + arguments, then resumes — the code runs near-normal speed.
Time is in the CRM enrichment HTTP call — 500ms inside
HttpClient.PostAsync. DB itself was 5ms. Worth cachingEnrichmentService.Enrichor moving it off the request path.
How it works
A protocol bridge with agent-friendly composites on top — exception_autopsy, stack_explore,
hang_analyze, and the trace tools — that bundle multiple DAP requests into a single tool call.
Use it in 3 steps
- Install the tool — needs the .NET 10 SDK.
The package bundles prebuilt
netcoredbgforlinux-x64,linux-arm64,win-x64,osx-x64, andosx-arm64— no separate install needed. - Register with Claude — either the quick CLI command:
…or edit
.mcp.json(project-scoped) /~/.claude.json(global) /claude_desktop_config.json(Claude Desktop) directly: - Just chat with Claude.
/mcpconfirms it's connected. From there, describe what you want — "why does this endpoint return null" — and the agent picks the right tools.
Full install + troubleshooting →
Platforms
Bundled netcoredbg binary is selected at runtime — no per-platform install dance.
Requires the .NET 10 SDK on the host. The MCP server itself is a cross-platform .NET global tool — same install command everywhere.
Tools (27)
Full tool reference with parameters →
How this compares
Different sweet spots: this project is the MIT, cross-platform option, with ASP.NET-flavoured composites on top of a DAP. debug-mcp goes deeper into runtime internals via ICorDebug but is Linux-only and AGPL today.
Docs
- Install & configure — 3 steps, both Claude Code & Desktop, troubleshooting
- What you can do with it — 7 things you can ask Claude to do for you
- Full tool reference — every parameter on every tool
- Known limits — when not to use this tool, adapter & tracing limits
- macOS Apple Silicon — building netcoredbg
- Contributing — repo layout, tests, dev loop
License
MIT — see LICENSE. Built on netcoredbg (MIT) and the ModelContextProtocol SDK (MIT).
来源:README.md,提交 bad2872
工具
0版本历史
1- v1.4.0最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Core 集成
core.blue
blue.core官方发布者
core.blue 的远程 MCP 端点,提供每位客户独立的私有智能体记忆“house”:可读手册、试用沙盒、查价格与建议,并申请 house。

Brevio Core
由 GitHub 账号 Brevio-Ventures 发布
本地 MCP 服务器,让编码代理扫描代码中反复出现的代理式错误、解释规则、列出规则,并把一次修复固化为守卫。

brain-core
由 GitHub 账号 xy-claude 发布
本地 MCP 服务器,为 Claude Code 智能体提供跨会话的长期记忆,以 markdown 文件加本地 SQLite 与向量索引保存。

Scovant Core
由 GitHub 账号 Scovant 发布
对网站进行被动式AI代理就绪扫描:robots、llms.txt、JSON-LD、MCP发现、安全性。AI 翻译

ProofCore
由 GitHub 账号 ProofCore-Protocol 发布
面向AI代理的TON区块链零认证加密公证与证据层。AI 翻译