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.

mcp-dotnet-samples
60
Established
mcp-template-dotnet
32
Emerging
Maintenance 13/25
Adoption 10/25
Maturity 15/25
Community 22/25
Maintenance 6/25
Adoption 6/25
Maturity 16/25
Community 4/25
Stars: 157
Forks: 51
Downloads:
Commits (30d): 0
Language: C#
License: MIT
Stars: 24
Forks: 1
Downloads:
Commits (30d): 0
Language: C#
License: MIT
No Package No Dependents
No Package No Dependents

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.

Scores updated daily from GitHub, PyPI, and npm data. How scores work