Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
AI assistant access to .NET SDK for projects, packages, building, testing, and development tools.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DOTNET_SKIP_FIRST_TIME_EXPERIENCE, DOTNET_NOLOGO你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"dotnet": {
"command": "dnx",
"args": [
"Community.Mcp.DotNet",
"--yes"
],
"env": {
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "your-value",
"DOTNET_NOLOGO": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add dotnet --env DOTNET_SKIP_FIRST_TIME_EXPERIENCE=your-value --env DOTNET_NOLOGO=your-value -- dnx Community.Mcp.DotNet --yes运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"dotnet": {
"command": "dnx",
"args": [
"Community.Mcp.DotNet",
"--yes"
],
"env": {
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "your-value",
"DOTNET_NOLOGO": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"dotnet": {
"type": "stdio",
"command": "dnx",
"args": [
"Community.Mcp.DotNet",
"--yes"
],
"env": {
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "your-value",
"DOTNET_NOLOGO": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DOTNET_SKIP_FIRST_TIME_EXPERIENCE envDOTNET_NOLOGO env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 jongalloway 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.2)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 .NET。
同一分类中有:Spec Driven Development, Remote Desktop Commander, zanadir
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Find what a repository's CI is missing, and which security checks cannot fail the build.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Give your AI assistant superpowers for .NET development! This MCP server connects GitHub Copilot, Claude, and other AI assistants directly to the .NET SDK, enabling them to create projects, manage packages, run builds, and more—all through natural language.
Click to install in your preferred environment:
Note: Quick install requires the .NET 10 or .NET 11 SDK. Source builds require .NET 11 RC3 or a compatible GA SDK in the 11.0.1xx feature band.
The .NET MCP Server is a Model Context Protocol (MCP) server that connects AI assistants to the .NET SDK using the Model Context Protocol. Think of it as giving your AI assistant a direct line to dotnet commands, but with intelligence and context.
Important: This package is designed exclusively as an MCP server for AI assistants. It is not intended for use as a library or for programmatic consumption in other .NET applications. The only supported use case is running it as an MCP server via
dnxordotnet run.
graph LR
A[AI Assistant Copilot/Claude] -->|Natural Language| B[.NET MCP Server] B -->|dotnet commands| C[.NET SDK] C -->|Results| B B -->|Structured Response| A
style A fill:#e1f5ff style B fill:#fff4e6 style C fill:#e8f5e9
Instead of remembering exact dotnet commands and syntax, just ask:
Your AI assistant gets direct access to:
Instead of relying on the LLM to infer state by reading and re-reading console output, the server exposes purpose-built .NET tools with structured inputs and outputs. In practice, this typically means fewer tokens per task and less back-and-forth.
machineReadable: true returns structured JSON (no log scraping)The .NET MCP Server provides context and intelligence that raw CLI execution cannot:
console, webapi, blazor, etc.) and their parametersnet8.0 when you only have net10.0 installed, leading to errors--use-controllers, --auth, framework optionsThe server provides enhanced error diagnostics for 52 common error codes:
See Error Diagnostics Documentation for details.
MCP Resources provide read-only access to structured metadata about your .NET environment:
This enables AI assistants to:
Example: Using resources for context-aware assistance
❌ Without Resources:
User: "What .NET versions do I have?" AI: Executes dotnet --list-sdks and parses output User: "Which is LTS?" AI: Executes dotnet --info and tries to parse support info
✅ With Resources: User: "What .NET versions do I have?" AI: Reads dotnet://sdk-info resource (no execution needed) Returns: .NET 8.0 (LTS), .NET 9.0 (STS), .NET 10.0 (LTS) User: "Which is LTS?" AI: Already knows from resource metadata - .NET 8.0, .NET 10.0
Example: Creating a Blazor project with authentication
❌ Without MCP:
AI: "I'll run: dotnet new blazor --auth Individual" Result: Error - template 'blazor' doesn't support --auth parameter
✅ With MCP: AI: Uses dotnet_sdk with action: "TemplateInfo" for 'blazor' Sees available parameters: --interactivity, --use-program-main, --empty Uses dotnet_sdk with action: "SearchTemplates" to find authentication templates AI: "I'll create a Blazor Web App with authentication using the correct template..." Result: Success - uses 'blazor' template with proper authentication configuration
The MCP server uses official .NET SDK APIs and CLI commands, ensuring:
unsafeOutput=true for advanced debuggingMicrosoft.AgentGovernance.Extensions.ModelContextProtocol when enabled via configurationdoc/mcp-governance.md for a sample mcp.yaml policy templateGovernance startup limitation: Setting
McpGovernance:Enabledtotruewith the full tool catalog currently fails startup because the toolkit scanner rejects the existingdotnet_dev_certs.passwordinput property. The example below is not a working full-catalog workaround, and an allow policy does not bypass startup scanning. See the startup restriction and operating guidance. Leaving governance disabled permits ordinary server use but provides no governance enforcement.
"McpGovernance": {
"Enabled": true, "DefaultAgentId": "did:mcp:anonymous", "ServerName": "dotnet-mcp", "PolicyPaths": ["/path/to/your/policies/mcp.yaml"] }
sequenceDiagram
participant User participant AI as AI Assistant participant MCP as .NET MCP Server participant SDK as .NET SDK
User->>AI: "Create a console app called MyApp" AI->>MCP: dotnet_project(action: "New", template: "console", name: "MyApp") MCP->>SDK: dotnet new console -n MyApp SDK-->>MCP: Project created successfully MCP-->>AI: Structured result with output AI-->>User: "I've created a new console app called MyApp"
The .NET MCP Server acts as an intelligent middleware that:
dotnet-mcp use
只显示了开头部分;其余内容请在仓库中阅读