Best for
- Teams developing MCP integrations with C# or .NET.
- Projects needing client APIs, low-level server APIs, hosting support, or ASP.NET Core integration.
- Developers who want the official MCP C# SDK documentation and samples.
This is the official MCP C# SDK maintained by the modelcontextprotocol project in collaboration with Microsoft. The source confirms support for .NET client and server development and several extensions, but provides no standalone server manifest, tool list, transport declaration, or client configuration example.
The MCP C# SDK is the official C# SDK for the Model Context Protocol, enabling .NET applications, services, and libraries to implement and interact with MCP clients and servers. It is maintained in collaboration with Microsoft and provides core APIs, hosting and dependency-injection extensions, ASP.NET Core HTTP server support, and MCP Apps and MCP Tasks extensions.
Choose and install ModelContextProtocol.Core, ModelContextProtocol, ModelContextProtocol.AspNetCore, or the relevant extension package for the project. See the Getting Started documentation and the samples directory for installation guidance and examples. The repository root contains SDK source code and is not a standalone MCP server configuration.