CustomAgent.app
Skill
mcp
✓ Verified
NEW
Free

C# MCP Server Generator

Scaffold a .NET MCP server with dependency injection and structured tool registration.

4.7(28 reviews)
11,200 installs
by Microsoft

About

Produces a clean .NET 8 MCP server using ModelContextProtocol.NET. Integrates with Microsoft.Extensions.DependencyInjection, supports hosted services, and follows .NET conventions for configuration and logging.

Tags

mcpcsharpdotnetscaffold

Skill Instructions Preview

# C# MCP Server Generator

Scaffold a Model Context Protocol server in C#/.NET.

## Generated Project
- .NET 8 console app
- ModelContextProtocol.NET package
- Program.cs with HostBuilder
- Tools/ folder with attribute-based registration
- appsettings.json
- Dockerfile

## Conventions
- Microsoft.Extensions.DependencyInjection
- ILogger<T> for logging
- IOptions<T> for configuration
- Async tool handlers

Related Skills

SkillNEW
mcp
FREE

TypeScript MCP Server Generator

Scaffold a complete Model Context Protocol server in TypeScript with tools, resources, and prompts.

mcptypescriptmodel-context-protocol
A
Anthropic
4.9(64)
22k
1.7k
SkillNEW
mcp
FREE

Python MCP Server Generator

Scaffold a Python MCP server using the official mcp SDK with async tools and resources.

mcppythonasync
A
Anthropic
4.8(51)
19k
1.3k
Install
# Add as Claude Code slash command:
curl -fsSL "https://raw.githubusercontent.com/github/awesome-copilot/main/skills/csharp-mcp-server-generator/SKILL.md" \
  -o ~/.claude/commands/csharp-mcp-server-generator.md
View source on GitHub →

Compatible with

claude code

Trigger phrase

/mcp-cs
M

Microsoft

@microsoft

View on GitHub