csharp-sdk logo

MCP'S

csharp-sdk

by Model Context Protocol

mcplead-sourcegithub-mcp-server-repositoriessource:github.comcsharpsdkmodel-context-protocolserversclients

Overview

Official C# SDK for building Model Context Protocol servers and clients.

Details

The MCP C# SDK is the official C# SDK for Model Context Protocol servers and clients, maintained in collaboration with Microsoft. Its conceptual documentation provides high-level overviews and guides, including installation and building a first MCP client and server. The Model Context Protocol organization describes MCP as an open protocol for integrating LLM applications with external data sources and tools.

When to Use

Build a Model Context Protocol server or client in C#. Follow official MCP C# documentation for installation and first client/server examples. Evaluate an official SDK maintained by the Model Context Protocol organization in collaboration with Microsoft.

Getting Started

  1. Open the GitHub repository: https://github.com/modelcontextprotocol/csharp-sdk
  2. Read the conceptual documentation: https://csharp.sdk.modelcontextprotocol.io/concepts/index.html
  3. Follow the documentation guides for installation and building a first MCP client or server.

Key Features

  • Official C# SDK for Model Context Protocol servers and clients.
  • Conceptual documentation with high-level overviews and guides.
  • Documentation includes installation guidance and first MCP client/server guides.
  • Listed by the verified Model Context Protocol GitHub organization among official SDKs.

Capabilities

  • Build MCP servers in C#
  • Build MCP clients in C#
  • Integrate LLM applications with external data sources and tools through MCP

Last updated Jun 2, 2026