Model Context Protocol .NET Samples

Model Context Protocol .NET Samples

mcp-dotnet-samples•bymicrosoft

A collection of .NET samples demonstrating the Model Context Protocol, including several MCP servers and integrations with Azure services.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides sample MCP servers, including one that retrieves GitHub Copilot customization files from awesome-copilot.
  • •Includes an MCP server that converts markdown text to HTML.
  • •Includes an MCP server that sends emails through Outlook.
  • •Includes an MCP server that manages to-do list items.

BEST FOR

  • •Developers learning how to build MCP servers in .NET applications.
  • •Developers looking for sample MCP integrations with services such as Outlook and to-do lists.

ABOUT MCP-DOTNET-SAMPLES

Model Context Protocol .NET Samples is cataloged as an MCP server attributed to microsoft. A collection of .NET samples demonstrating the Model Context Protocol, including several MCP servers and integrations with Azure services. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Model Context Protocol .NET Samples are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What does the Awesome Copilot sample server do?

It is an MCP server that retrieves GitHub Copilot customization files from awesome-copilot.

What kinds of sample servers are included?

The samples include servers for retrieving Copilot customization files, converting markdown to HTML, sending Outlook emails, and managing to-do list items.

Upstream README

View this exact version on GitHub

README.md · 35e3bd177003 · Fetched 2026-11-13 09:33:52 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

Model Context Protocol .NET Samples

Microsoft Foundry Community Discord Microsoft Foundry Developer Forum

🚀 Introduction

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 NameInstallDescription
Awesome CopilotInstall in VS Code
Install in VS Code Insiders
Install in Visual Studio
MCP server that retrieves GitHub Copilot customization files from awesome-copilot.
Markdown to HTMLInstall in VS Code
Install in VS Code Insiders
Install in Visual Studio
MCP server that converts markdown text to HTML.
Outlook EmailInstall in VS Code
Install in VS Code Insiders
Install in Visual Studio
MCP server that sends emails through Outlook.
To-do ListInstall in VS Code
Install in VS Code Insiders
Install 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.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Model Context Protocol .NET Samples from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-dotnet-samples)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools