freshcrate
Skin:/
Home > MCP Servers > mcp-dotnet-samples

mcp-dotnet-samples

A comprehensive set of samples of creating and using MCP servers and clients with .NET

Why this rank:Strong adoptionRecent releaseHealthy release cadence

Description

A comprehensive set of samples of creating and using MCP servers and clients with .NET

README

Welcome to the Model Context Protocol (MCP) .NET Samples repository! This collection of samples demonstrates how to leverage the Model Context Protocol in .NET applications.

MCP is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). Think of MCP like a USB-C port for AI applications - it provides a standardized way to connect AI models to different data sources and tools.

With MCP, you can:

  • Utilize pre-built integrations that your LLM can directly plug into
  • Flexibly switch between LLM providers and vendors
  • Follow best practices for securing your data within your infrastructure
  • Build agents and complex workflows on top of LLMs

This repository contains .NET samples ranging from building your own MCP implementation to integrating with Azure services.

📋 Sample Projects

Sample Name Install Description
Awesome Copilot Install in VS CodeInstall in VS Code InsidersInstall in Visual Studio MCP server that retrieves GitHub Copilot customization files from awesome-copilot.
Markdown to HTML Install in VS CodeInstall in VS Code InsidersInstall in Visual Studio MCP server that converts markdown text to HTML.
Outlook Email Install in VS CodeInstall in VS Code InsidersInstall in Visual Studio MCP server that sends emails through Outlook.
To-do List Install in VS CodeInstall in VS Code InsidersInstall in Visual Studio MCP server that manages to-do list items.

🛠️ Getting Started

Details on how to set up and run the samples will be provided in each sample's directory.

📚 Learning Resources

🚶‍♀️ Next Steps

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

Release History

VersionChangesUrgencyDate
main@2026-06-05Latest activity on main branchHigh6/5/2026
0.0.0No release found — using repo HEADHigh4/9/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

csharp-sdkThe official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.v1.4.0
unity-mcpA Unity MCP server that allows MCP clients like Claude Desktop or Cursor to perform Unity Editor actions.v2.6.9
pipulateLocal First AI SEO Software on Nix, FastHTML & HTMXmain@2026-06-06
studioOpen-source control plane for your AI agents. Connect tools, hire agents, track every token and dollarv2.396.1
musterMCP tool management and workflow proxyv0.3.1

More from microsoft

generative-ai-for-beginners21 Lessons, Get Started Building with Generative AI
autogenA programming framework for agentic AI
playwright-mcpPlaywright MCP server
semantic-kernelIntegrate cutting-edge LLM technology quickly and easily into your apps

More in MCP Servers

AstrBotAgentic IM Chatbot infrastructure that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨
agentscopeBuild and run agents you can see, understand and trust.
claude-plugins-officialOfficial, Anthropic-managed directory of high quality Claude Code Plugins.
langchain4jLangChain4j is an open-source Java library that simplifies the integration of LLMs into Java applications through a unified API, providing access to popular LLMs and vector databases. It makes impleme