mcp-csharp-publish

Solid

Publish and deploy C# MCP servers. Covers NuGet packaging for stdio servers, Docker containerization for HTTP servers, Azure Container Apps and App Service deployment, and publishing to the official MCP Registry. USE FOR: packaging stdio MCP servers as NuGet tools, creating Dockerfiles for HTTP MCP servers, deploying to Azure Container Apps or App Service, publishing to the MCP Registry at registry.modelcontextprotocol.io, configuring server.json for MCP package metadata, setting up CI/CD for MCP server publishing. DO NOT USE FOR: publishing general NuGet libraries (not MCP-specific), general Docker guidance unrelated to MCP, creating new servers (use mcp-csharp-create), debugging (use mcp-csharp-debug), writing tests (use mcp-csharp-test).

DevOps & Infrastructure 3,219 stars 238 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# C# MCP Server Publishing Publish and deploy MCP servers to their target platforms. stdio servers are distributed as NuGet tool packages. HTTP servers are containerized and deployed to Azure or other container hosts. Both can optionally be listed in the official MCP Registry. ## When to Use - Packaging a stdio MCP server for NuGet distribution - Creating a Docker container for an HTTP MCP server - Deploying to Azure Container Apps or App Service - Publishing to the official MCP Registry for discoverability - Setting up `server.json` metadata for the MCP Registry ## Stop Signals - **Server not tested yet?** → Use `mcp-csharp-test` first - **Server not working locally?** → Use `mcp-csharp-debug` - **No server project yet?** → Use `mcp-csharp-create` - **Publishing a non-MCP NuGet package?** → Use `nuget-trusted-publishing` instead ## Inputs | Input | Required | Description | |-------|----------|-------------| | Transport type | Yes | `stdio` → NuGet path, `http` → Docker/Azure path | | Target destination | Yes | NuGet.org, Docker registry, Azure Container Apps, Azure App Service, MCP Registry | | Project path | Yes | Path to the `.csproj` file | | Package ID / server name | Required for publishing | NuGet `PackageId` or MCP Registry name | ## Workflow ### Step 1: Choose the publishing path | Transport | Primary Destination | Users Run With | |-----------|-------------------|----------------| | **stdio** | NuGet.org | `dnx YourPackage@version` | | **HTTP** | Docker → ...

Details

Author
dotnet
Repository
dotnet/skills
Created
3 months ago
Last Updated
today
Language
C#
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

mcp-csharp-create

Create MCP servers using the C# SDK and .NET project templates. Covers scaffolding, tool/prompt/resource implementation, and transport configuration for stdio and HTTP. USE FOR: creating new MCP server projects, scaffolding with dotnet new mcpserver, adding MCP tools/prompts/resources, choosing stdio vs HTTP transport, configuring MCP hosting in Program.cs, setting up ASP.NET Core MCP endpoints with MapMcp. DO NOT USE FOR: debugging or running existing servers (use mcp-csharp-debug), writing tests (use mcp-csharp-test), publishing or deploying (use mcp-csharp-publish), building MCP clients, non-.NET MCP servers.

3,219 Updated today
dotnet
AI & Automation Solid

mcp-csharp-debug

Run and debug C# MCP servers locally. Covers IDE configuration, MCP Inspector testing, GitHub Copilot Agent Mode integration, logging setup, and troubleshooting. USE FOR: running MCP servers locally with dotnet run, configuring VS Code or Visual Studio for MCP debugging, testing tools with MCP Inspector, testing with GitHub Copilot Agent Mode, diagnosing tool registration issues, setting up mcp.json configuration, debugging MCP protocol messages, configuring logging for stdio and HTTP servers. DO NOT USE FOR: creating new MCP servers (use mcp-csharp-create), writing automated tests (use mcp-csharp-test), publishing or deploying to production (use mcp-csharp-publish).

3,219 Updated today
dotnet
AI & Automation Solid

csharp-mcp-server-generator

Generate a complete MCP server project in C# with tools, prompts, and proper configuration

34,233 Updated today
github
AI & Automation Listed

mcp-builder

Build MCP servers for LLM tool integration — Python (FastMCP), Node/TypeScript (MCP SDK), or C#/.NET (Microsoft MCP SDK)

0 Updated 2 days ago
fabioc-aloha
Testing & QA Solid

mcp-csharp-test

Test C# MCP servers at multiple levels: unit tests for individual tools and integration tests using the MCP client SDK. USE FOR: unit testing MCP tool methods, integration testing with in-memory MCP client/server, end-to-end testing via MCP protocol, testing HTTP MCP servers with WebApplicationFactory, mocking dependencies in tool tests, creating evaluations for MCP servers, writing eval questions, measuring tool quality. DO NOT USE FOR: testing MCP clients (this is server testing only), load or performance testing, testing non-.NET MCP servers, debugging server issues (use mcp-csharp-debug).

3,219 Updated today
dotnet