GH Repository · modelcontextprotocol
csharp-sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
- stars
- 4,532
- 30-day movement
- starts with the next reading
- Related entries
- 60
- Connections
- 2
makemcp-sdkC#nodemodelcontextprotocolmcp-servermcp-clientmcpdotnetcsharp
This is the official C# SDK for Model Context Protocol (MCP), maintained by modelcontextprotocol in collaboration with Microsoft. It provides libraries for building both MCP servers and clients in C#/.NET.
You want an official, Microsoft-co-maintained C#/.NET library for implementing MCP servers or clients rather than wrapping the protocol yourself.
Use it to
- Build MCP servers in C#
- Build MCP clients in .NET applications
- Integrate Model Context Protocol into C# tooling
- Develop inside the included devcontainer
For C# and .NET developers building on MCP
- Role
- mcp-sdk
- Language
- C#
- Licence
- custom (licence file present)
- Forks
- 807
- Open issues
- 126
- Last push
- 2026-09-14
- Latest release
- v0.1.0-preview.1.25171.12 · 2025-03-21
topicscsharpdotnetmcpmcp-clientmcp-servermodelcontextprotocol