# Dotnet MCP builder

> Dotnet MCP builder is an open-source agent skill for ai models and llm tooling. Build Model Context Protocol (MCP) servers in C#/.NET against the current ModelContextProtocol 2.x NuGet packages. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/github/awesome-copilot/tree/main/skills/dotnet-mcp-builder
- **Repository:** https://github.com/github/awesome-copilot
- **GitHub stars:** 41,254
- **License:** MIT
- **Skill name:** dotnet-mcp-builder
- **Collection:** https://github.com/github/awesome-copilot
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-17

## About

Build Model Context Protocol (MCP) servers in C#/.NET against the current ModelContextProtocol 2.x NuGet packages. Helps with cases the model gets wrong without guidance — stale versions (0.x preview or 1.x-era defaults), the v2 stateless-by-default HTTP flip, the 2026-07-28 spec deprecations (roots/sampling/logging), MCP Apps and Tasks extension packages, elicitation URL mode, per-session HTTP wiring, OAuth and reverse-proxy deploy specifics, and debugging MapMcp / STDIO / Streamable-HTTP errors. Also covers STDIO and Streamable HTTP transports (SSE is deprecated), tools, prompts, resources, completions, and a basic .NET MCP client. Trigger when the user says or implies any .NET MCP server work: ModelContextProtocol, McpServerTool, MapMcp, WithStdioServerTransport, "MCP server in C#", "MCP tool in dotnet", "expose this as MCP", or names a primitive (prompt/resource/elicitation/MCP App) in a .NET context. Skip for MCP work in other languages.

## When your agent uses it

> Build Model Context Protocol (MCP) servers in C#/.NET against the current ModelContextProtocol 2.x NuGet packages. Helps with cases the model gets wrong without guidance — stale versions (0.x preview or 1.x-era defaults), the v2 stateless-by-default HTTP flip, the 2026-07-28 spec deprecations (roots/sampling/logging), MCP Apps and Tasks extension packages, elicitation URL mode, per-session HTTP wiring, OAuth and reverse-proxy deploy specifics, and debugging MapMcp / STDIO / Streamable-HTTP errors. Also covers STDIO and Streamable HTTP transports (SSE is deprecated), tools, prompts, resources, completions, and a basic .NET MCP client. Trigger when the user says or implies any .NET MCP server work: ModelContextProtocol, McpServerTool, MapMcp, WithStdioServerTransport, "MCP server in C#", "MCP tool in dotnet", "expose this as MCP", or names a primitive (prompt/resource/elicitation/MCP App) in a .NET context. Skip for MCP work in other languages.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/dotnet-mcp-builder)
- [License: MIT](https://github.com/github/awesome-copilot/tree/HEAD/skills/dotnet-mcp-builder)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/dotnet-mcp-builder` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/dotnet-mcp-builder &&
cp -R "$tmp/skills/dotnet-mcp-builder" ~/.claude/skills/dotnet-mcp-builder &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/dotnet-mcp-builder` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/dotnet-mcp-builder` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/dotnet-mcp-builder &&
cp -R "$tmp/skills/dotnet-mcp-builder" ~/.agents/skills/dotnet-mcp-builder &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/dotnet-mcp-builder` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/dotnet-mcp-builder` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/dotnet-mcp-builder &&
cp -R "$tmp/skills/dotnet-mcp-builder" ~/.cursor/skills/dotnet-mcp-builder &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/dotnet-mcp-builder` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/github/awesome-copilot.git --path skills/dotnet-mcp-builder
```

Or copy the folder to `~/.gemini/skills/dotnet-mcp-builder` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/dotnet-mcp-builder`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/github/awesome-copilot.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/dotnet-mcp-builder &&
cp -R "$tmp/skills/dotnet-mcp-builder" ~/.copilot/skills/dotnet-mcp-builder &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/dotnet-mcp-builder` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/github/awesome-copilot.git
```

Then copy `awesome-copilot/skills/dotnet-mcp-builder` into your agent's skills folder as `dotnet-mcp-builder`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Dotnet MCP builder in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/dotnet-mcp-builder to use it in all your projects, or to .claude/skills/dotnet-mcp-builder in one project.

### Does Dotnet MCP builder run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Dotnet MCP builder?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Dotnet MCP builder?

The closest alternatives to Dotnet MCP builder are Academy guide, MCP builder, Claude API, Update llms and Phoenix evals.

## Alternatives

- [Academy guide](https://ai-powered.com/skills/academy-guide): Academy guide is an agent skill for ai models and llm tooling.
- [MCP builder](https://ai-powered.com/skills/mcp-builder): MCP builder is an agent skill for ai models and llm tooling.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Update llms](https://ai-powered.com/skills/update-llms): Update llms is an open-source agent skill for ai models and llm tooling.
- [Phoenix evals](https://ai-powered.com/skills/phoenix-evals): Phoenix evals is an open-source agent skill for ai models and llm tooling.
- [Nano banana pro openrouter](https://ai-powered.com/skills/nano-banana-pro-openrouter): Nano banana pro openrouter is an open-source agent skill for design and media.
- [Code exemplars blueprint generator](https://ai-powered.com/skills/code-exemplars-blueprint-generator): Code exemplars blueprint generator is an open-source agent skill for ai models and llm tooling.
- [Arize AI provider integration](https://ai-powered.com/skills/arize-ai-provider-integration): Arize AI provider integration is an open-source agent skill for ai models and llm tooling.

---
Source: https://ai-powered.com/skills/dotnet-mcp-builder
