mcp-csharp-create

mcp-csharp-create

Popular

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: writing tests (use mcp-csharp-test), publishing or deploying (use mcp-csharp-publish), building MCP clients, non-.NET MCP servers.

5.5Kstars
422forks
Updated 10/3/2026
SKILL.md
read-only
name
mcp-csharp-create
description

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: writing tests (use mcp-csharp-test), publishing or deploying (use mcp-csharp-publish), building MCP clients, non-.NET MCP servers.

C# MCP Server Creation

Create Model Context Protocol servers using the official C# SDK (ModelContextProtocol NuGet package) and the dotnet new mcpserver project template. Servers expose tools, prompts, and resources that LLMs can discover and invoke via the MCP protocol.

When to Use

  • Starting a new MCP server project from scratch

  • Adding tools, prompts, or resources to an existing MCP server

  • Choosing between stdio (--transport local) and HTTP (--transport remote) transport

  • Setting up ASP.NET Core hosting for an HTTP MCP server

  • Wrapping an external API or service as MCP tools

Stop Signals

  • Need tests or evaluations? → Use mcp-csharp-test

  • Ready to publish? → Use mcp-csharp-publish

  • Building an MCP client, not a server → This skill is server-side only

Inputs