๐ŸŽฏ

csharp-mcp-server-generator

๐ŸŽฏSkill

from github/awesome-copilot

VibeIndex|
What it does
|

Generates boilerplate C# Minecraft Protocol (MCP) server code with automatic protocol version handling and network socket management.

Overview

C# MCP Server Generator is a skill that creates a complete Model Context Protocol (MCP) server project in C# using .NET 8.0+. It generates a properly structured console application with the ModelContextProtocol NuGet package, Host builder pattern with dependency injection, stdio transport, automatic tool discovery, and proper logging configuration that avoids interfering with the MCP communication channel.

Key Features

  • Production-Ready Project Setup - Creates a .NET 8.0+ console application with ModelContextProtocol (prerelease) and Microsoft.Extensions.Hosting NuGet packages properly configured
  • Host Builder Pattern - Uses Host.CreateApplicationBuilder for dependency injection and lifecycle management with AddMcpServer() and stdio transport
  • Automatic Tool Discovery - Implements WithToolsFromAssembly() for automatic MCP tool registration using [McpServerToolType] and [McpServerTool] attributes
  • Proper Logging - Configures all logs to stderr to avoid interfering with the stdio transport communication channel
  • Rich Tool Templates - Provides patterns for file operations, data processing, external API integrations, system operations, and database queries with proper validation and error handling

Who is this for?

This skill is for C# developers who want to build MCP servers to expose custom tools and capabilities to AI assistants like Claude or GitHub Copilot. It is particularly useful for .NET developers who want to leverage the Host builder pattern and dependency injection while following Microsoft's conventions for building MCP-compatible services.

๐Ÿ“ฆ

Same repository

github/awesome-copilot(224 items)

csharp-mcp-server-generator

Installation

Vibe Index InstallInstalls to .claude/skills/ - auto-recognized by Claude Code
npx vibeindex add github/awesome-copilot --skill csharp-mcp-server-generator
skills.sh Installโš  Installs to .agents/skills/ - may not be auto-recognized by Claude Code
npx skills add github/awesome-copilot --skill csharp-mcp-server-generator
Manual InstallCopy SKILL.md content and save to the path below
~/.claude/skills/csharp-mcp-server-generator/SKILL.md

SKILL.md

6,867Installs
-
AddedFeb 25, 2026

More from this repository10

๐ŸŽฏ
git-commit๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
gh-cli๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
prd๐ŸŽฏSkill

Generates comprehensive Product Requirements Documents (PRDs) by systematically analyzing requirements and crafting detailed technical specifications

๐ŸŽฏ
refactor๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
excalidraw-diagram-generator๐ŸŽฏSkill

Generates Excalidraw diagrams from natural language descriptions, creating visual representations of processes, systems, relationships, and ideas.

๐ŸŽฏ
documentation-writer๐ŸŽฏSkill

Expert technical writer guided by the Diataxis framework, creating tutorials, how-to guides, reference docs, and explanation pages for software documentation.

๐ŸŽฏ
chrome-devtools๐ŸŽฏSkill

Automates browser interactions, debugging, and performance analysis using Chrome DevTools for comprehensive web page inspection and control.

๐ŸŽฏ
java-springboot๐ŸŽฏSkill

Provides Spring Boot best practices covering project setup, dependency injection, REST API design, data access with JPA, security configuration, and testing strategies.

๐ŸŽฏ
web-design-reviewer๐ŸŽฏSkill

A community-curated collection of custom agents, prompts, instructions, and skills to enhance GitHub Copilot across different domains, languages, and use cases.

๐ŸŽฏ
github-issues๐ŸŽฏSkill

Manages GitHub Issues through the GitHub API, enabling creation, searching, labeling, and triaging of issues directly from the coding environment.