# NET MCP Samples MCP server

> Provides .NET sample MCP servers that convert markdown, send Outlook email, manage to-dos, and fetch Copilot files.

- Repository: https://github.com/microsoft/mcp-dotnet-samples
- Page: https://hostedmcp.org/servers/microsoft/mcp-dotnet-samples
- Official: yes
- Transport: stdio
- Stars: 203
- License: MIT
- Latest version: 1.0.2026111601

## Install

### Claude Code

```sh
claude mcp add mcp-dotnet-samples -- docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp-dotnet-samples": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601"
      ]
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp-dotnet-samples": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp-dotnet-samples","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mcp-dotnet-samples": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mcp-dotnet-samples -- docker run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp-dotnet-samples]
command = "docker"
args = ["run", "-i", "--rm", "ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601"]
```

### Gemini CLI

```sh
gemini mcp add -s user mcp-dotnet-samples docker -- run -i --rm ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp-dotnet-samples": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/microsoft/mcp-dotnet-samples/awesome-copilot:1.0.2026111601"
      ]
    }
  }
}
```

## Tools (2)

- `load_instruction`: Loads a custom instruction, agent, hook, prompt, skill, or workflow from the repository.
- `search_instructions`: Searches agents, hooks, instructions, prompts, skills, and workflows based on keywords in their names and descriptions.

## FAQ

### What is the markdown-to-html .NET MCP sample?

It is a sample MCP server that converts markdown text to HTML, installable via Docker.

### Can the .NET MCP samples send email through Outlook?

Yes, the Outlook Email sample is an MCP server that sends emails through Outlook.

### Is there a to-do list MCP sample in .NET?

Yes, the To-do List sample is an MCP server that manages to-do list items.
