Install any skill in seconds. Free to start, no credit card required.
Get Started Free →managedcode/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 tes
Passed 19 of 22 test cases with the skill, and 8 of 22 without it.
and 11 more in the full report
11 fixed8 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 11 test cases the skill fixed. Same model, same prompt, with and without the skill.
When I try to run template commands for creating C# MCP projects, dotnet returns 'No templates found'. How do I install the official template package from CLI?
| Checked | Without skill | With skill |
|---|---|---|
| Installs template package Microsoft.McpServer.ProjectTemplates | Missed | Passed |
The instructions your model reads when the skill loads.
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.
--transport local) and HTTP (--transport remote) transportmcp-csharp-debugmcp-csharp-testmcp-csharp-publish| Input | Required | Description |
|---|---|---|
| Transport type | Yes | stdio (local/CLI) or http (remote/web). Ask user if not specified — default to stdio |
| Project name | Yes | PascalCase name for the project (e.g., WeatherMcpServer) |
| .NET SDK version | Recommended | .NET 10.0+ required. Check with dotnet --version |
| Service/API to wrap | Recommended | External API or service the tools will interact with |
Commit strategy: Commit after completing each step so scaffolding and implementation are separately reviewable.
Confirm .NET 10+ SDK: dotnet --version (install from https://dotnet.microsoft.com if < 10.0)
Check if the MCP server template is already installed:
dotnet new list mcpserver
test cases passed, vs 8 / 22 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.