csharp-mcp-server-generator

Scaffold a production-ready C# MCP server with tools, logging, and proper configuration.

github ↓ 8.4k
Claude Code
View source ↗

What it does

  • Use .NET 8.0 or later
  • Create a console application
  • Add necessary NuGet packages with --prerelease flag
  • Configure logging to stderr
  • Use Host.CreateApplicationBuilder for DI and lifecycle management
  • Configure AddMcpServer() with stdio transport
  • Use WithToolsFromAssembly() for automatic tool discovery

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

Scaffold a production-ready C# MCP server with tools, logging, and proper configuration.

Source

Repository: https://github.com/github/awesome-copilot

csharp-mcp-server-generator FAQ

What does the csharp-mcp-server-generator skill do?

Generate a complete MCP server project in C# with tools, prompts, and proper configuration Use .NET 8.0 or later Create a console application

How do I install csharp-mcp-server-generator?

Run: npx -y skills add https://github.com/github/awesome-copilot --skill csharp-mcp-server-generator --agent claude-code — the source lives at github.com/github/awesome-copilot.

Maintain csharp-mcp-server-generator?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

csharp-mcp-server-generator on getagentictools
[![csharp-mcp-server-generator on getagentictools](https://getagentictools.com/badge/skills/github-awesome-copilot-csharp-mcp-server-generator.svg)](https://getagentictools.com/skills/github-awesome-copilot-csharp-mcp-server-generator?ref=badge)
npx agentictools info skills/github-awesome-copilot-csharp-mcp-server-generator

The second line is the CLI lookup for this page — handy in READMEs and docs.