Dotnet Samples

Developer tools

An MCP server that stores Copilot customizations from the Awesome Copilot repository.

Your AI app calls the Dotnet Samples MCP server, which does the developer tools work and sends the result back to the chat.

About Dotnet Samples

Dotnet Samples is the official MCP server from microsoft, filed in our directory under developer tools. An MCP server that stores Copilot customizations from the Awesome Copilot repository.

Dotnet Samples runs on your own machine: your AI app starts it with the command docker run -i --rm and talks to it over standard input and output.

Dotnet Samples is listed in the official MCP registry as io.github.microsoft/awesome-copilot, version 1.0.2026113004.

At a glance

Publisher
microsoft, the company behind the product
Runs
Locally on your machine
Install from
Docker image: ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026113004
Written in
C#
License
MIT
GitHub stars
203
Official MCP registry
io.github.microsoft/awesome-copilot

How to set up Dotnet Samples

  1. Have Docker running on the machine that runs your AI app, because Dotnet Samples starts as a container.
  2. Check the Dotnet Samples README for keys or settings; the registry lists none that Dotnet Samples requires.
  3. Add Dotnet Samples to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Dotnet Samples tools to confirm the connection.
  5. Run one read-only task with Dotnet Samples first, and keep your app asking before each tool call until the results look right.

Dotnet Samples compared with similar servers

  • Langchain by rectalogic has fewer GitHub stars than Dotnet Samples (203 against 203); Dotnet Samples is official while Langchain is a community server, and both run locally.
  • Bilibili by adoresever has more GitHub stars than Dotnet Samples (204 against 203); Dotnet Samples is official while Bilibili is a community server, and both run locally.
  • Sanity by sanity-io has fewer GitHub stars than Dotnet Samples (203 against 203); both are official servers, and Sanity runs as a remote server and Dotnet Samples runs on your own machine.

Before you connect Dotnet Samples

  • Give Dotnet Samples its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Dotnet Samples tool call until you trust what it does with them.
  • Treat text that Dotnet Samples fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Dotnet Samples on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Dotnet Samples

How marketing and sales teams put Dotnet Samples to work, by company size. Pick the size closest to yours and start Dotnet Samples on one use case.

Small business

  • A small business with a developer can use Dotnet Samples to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Dotnet Samples to explain and fix a marketing site issue without context switching between tools.
  • Dotnet Samples runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Dotnet Samples to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Dotnet Samples to keep scripts and automations documented and versioned as they change.
  • Start Dotnet Samples on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Dotnet Samples with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Dotnet Samples so web and marketing engineering share one reviewed way of working with AI.
  • Because Dotnet Samples comes from microsoft, the company behind the product, it follows that product's own auth and permissions, which security teams usually prefer.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Dotnet Samples README

From microsoft/mcp-dotnet-samples on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Model Context Protocol .NET Samples

🚀 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 Name Install Description
Awesome Copilot

MCP server that retrieves GitHub Copilot customization files from awesome-copilot.
Markdown to HTML

MCP server that converts markdown text to HTML.
Outlook Email

MCP server that sends emails through Outlook.
To-do List

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.

Questions about Dotnet Samples

What is the Dotnet Samples MCP server?

An MCP server that stores Copilot customizations from the Awesome Copilot repository. Dotnet Samples is published by microsoft, the company behind the product, on GitHub at microsoft/mcp-dotnet-samples, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Dotnet Samples MCP server?

Add Dotnet Samples to your AI app's MCP config with the command docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026113004. In Claude Code, run claude mcp add --transport stdio dotnet-samples -- docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026113004. To run Dotnet Samples this way you need Docker running.

Does Dotnet Samples need an API key?

The registry lists no required keys for Dotnet Samples. Check the Dotnet Samples README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Dotnet Samples an official MCP server?

Yes. Dotnet Samples is published by microsoft, the company that makes the product it connects to, so it follows that product's own API and auth.

What license is Dotnet Samples under?

Dotnet Samples is released under the MIT license, according to its GitHub repository. The license covers the code of Dotnet Samples; the service it connects to has its own terms.