creating-dotnet-mcp-servers

Community

Build MCP servers in .NET with ease and speed.

AuthorSebastienDegodez
Version1.0.0
Installs0

System Documentation

What problem does it solve?

MCP servers in .NET require structured patterns for tool registration, transports, and JSON serialization to be production-ready and easily testable. This skill provides a standardized approach to build MCP servers, configure SSE/stdio transports, enable AOT-friendly JSON contexts, and validate server setup.

Core Features & Use Cases

  • Declarative tool classes using MCP attributes to expose server tools.
  • Transport configuration with SSE and Stdio and DI-based deployment patterns.
  • AOT-friendly JSON serialization context and robust testing guidance for MCP servers.
  • Use Case: When building a modular MCP server for a .NET project, you can structure your domain, application, and API projects following recommended patterns.

Quick Start

Create a new .NET project, add MCP packages, and register a tool class to expose commands over SSE.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: creating-dotnet-mcp-servers
Download link: https://github.com/SebastienDegodez/copilot-instructions/archive/main.zip#creating-dotnet-mcp-servers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.