MCP C# SDK

Agent frameworks and SDKs

The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.

Your AI app calls MCP C# SDK, which does the agent frameworks and SDKs work and sends the result back to the chat.

About MCP C# SDK

MCP C# SDK is the official MCP server from modelcontextprotocol, filed in our directory under agent frameworks and sdks. The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.

At a glance

Publisher
modelcontextprotocol, the company behind the product
Runs
See the README for setup
Written in
C#
GitHub stars
4,670

How to set up MCP C# SDK

  1. Follow the install steps in the MCP C# SDK README; it is written in C#, so have that toolchain ready.
  2. Check the MCP C# SDK README for keys or settings; the registry lists none that MCP C# SDK requires.
  3. Add MCP C# SDK 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 MCP C# SDK tools to confirm the connection.
  5. Run one read-only task with MCP C# SDK first, and keep your app asking before each tool call until the results look right.

MCP C# SDK compared with similar servers

  • Mcpo by open-webui has fewer GitHub stars than MCP C# SDK (4.4k against 4.7k); MCP C# SDK is official while Mcpo is a community server, and both run locally.
  • Context Forge by IBM has more GitHub stars than MCP C# SDK (4.9k against 4.7k); both are official servers, and both run locally.
  • Pipeshub AI by pipeshub-ai has fewer GitHub stars than MCP C# SDK (4.2k against 4.7k); MCP C# SDK is official while Pipeshub AI is a community server, and Pipeshub AI runs as a remote server and MCP C# SDK runs on your own machine.

Before you connect MCP C# SDK

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

Marketing use cases for MCP C# SDK

How marketing and sales teams put MCP C# SDK to work, by company size. Pick the size closest to yours and start MCP C# SDK on one use case.

Small business

  • A small business with a developer can use MCP C# SDK to build one focused agent, such as lead follow-up, without a big platform.
  • Technical founders can prototype marketing agents with MCP C# SDK and keep what works as a small, owned tool.
  • MCP C# SDK 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 engineering teams can use MCP C# SDK to build agents that combine CRM, analytics and content tools behind one workflow.
  • Marketing ops can standardize on MCP C# SDK so every agent they ship has the same logging, approvals and error handling.
  • Start MCP C# SDK on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can build on MCP C# SDK with their own identity, policy and evaluation layers, so agents meet the same bar as other software.
  • Platform teams can use MCP C# SDK to give business units a governed way to ship agents without each one starting from scratch.
  • Because MCP C# SDK comes from modelcontextprotocol, 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

MCP C# SDK README

MCP C# SDK's repository lists no open license, so we don't copy its README. Read it on GitHub at modelcontextprotocol/csharp-sdk.

Questions about MCP C# SDK

What is the MCP C# SDK MCP server?

The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft. MCP C# SDK is published by modelcontextprotocol, the company behind the product, on GitHub at modelcontextprotocol/csharp-sdk, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the MCP C# SDK MCP server?

MCP C# SDK doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (modelcontextprotocol/csharp-sdk). Like most servers, MCP C# SDK ends with a command or URL you paste into your AI app's MCP config.

Does MCP C# SDK need an API key?

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

Is MCP C# SDK an official MCP server?

Yes. MCP C# SDK is published by modelcontextprotocol, the company that makes the product it connects to, so it follows that product's own API and auth.