| name | build-mcp-server-dotnet |
| description | Use when building, testing, publishing, packaging, or extending an MCP server in C# or .NET, especially for ModelContextProtocol 2.0.0, MRTR, Apps, Tasks, AOT, or Microsoft.Extensions.AI. |
| version | 0.1.0 |
Build MCP Server — .NET
Route by lifecycle:
mcp-csharp-create — server shape, tools, modern HTTP, MRTR, Apps, Tasks, AOT, and MEAI.
mcp-csharp-test — unit, integration, modern HTTP, and conformance coverage.
mcp-csharp-publish — PackAsTool/dnx, MCPB, containers, and deployment.
Provenance: These subskills are derived from dotnet/skills/plugins/dotnet-ai/skills/mcp-csharp-* under MIT. They are updated independently for MCP 2026-07-28. See ../THIRD-PARTY-NOTICES.md.
Choose ModelContextProtocol 2.0.0 for new C# core work. Add ModelContextProtocol.Extensions.Apps or ModelContextProtocol.Extensions.Tasks 2.0.0 only when that extension is needed; neither is bundled into the core package. HTTP is stateless by default; MapMcp() plus WithHttpTransport() handles the modern endpoint. Do not expose McpProtocolVersions in application code: it is internal.