mcp-dotnet-samples and mcp-template-dotnet
The template repository is a complement to the samples repository, providing a boilerplate for creating new Model Context Protocol (MCP) applications in .NET, which could then be developed using the patterns demonstrated in the comprehensive samples.
About mcp-dotnet-samples
microsoft/mcp-dotnet-samples
A comprehensive set of samples of creating and using MCP servers and clients with .NET
Samples demonstrate building MCP servers that expose tools and resources to LLMs—including integrations with Azure services, GitHub, and Outlook—using .NET's structured approach to implement the standardized protocol. Projects are containerized for easy deployment and installable directly into VS Code and Visual Studio as AI model extensions. The collection covers both simple transformations (markdown-to-HTML) and complex workflows (email management, to-do tracking) to illustrate MCP's role in connecting LLMs to enterprise data sources and business logic.
About mcp-template-dotnet
NikiforovAll/mcp-template-dotnet
This repository contains a template for creating a Model Context Protocol (MCP) applications in .NET.
Provides multiple transport modes (stdio, HTTP, and hybrid) and uses .NET dependency injection with attribute-based tool registration via `[McpServerTool]` for automatic discovery. Includes built-in support for .NET Aspire orchestration, enabling developers to run MCP servers as distributed applications or publish them as global .NET tools for seamless LLM integration.
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work