csharp-sdk
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 split into three NuGet packages: ModelContextProtocol.Core for projects that only need the client or low-level server APIs with minimal dependencies, ModelContextProtocol, the main package with hosting and dependency-injection extensions, and ModelContextProtocol.AspNetCore for HTTP-based MCP servers.
The README is short and points to the Getting Started guide in the conceptual documentation for installation and package-selection guidance, the API documentation, and a samples directory. It links the official MCP documentation and specification. The code is licensed under Apache 2.0 (GitHub's detector shows NOASSERTION) and the repository is updated regularly.
Features
Why choose it
Trade-offs
Maintenance check
- Last commit
- 2026-10-27
- Commits, last 90 days
- 53
- Releases, last 90 days
- 3
- Latest release
- v2.3.0 (2026-10-20)
- Open issues
- 216
- Recent issues with at least one comment
- 4/11
Oldest week on the left; the latest four weeks are orange. Source: GitHub commit activity.
Status rule: archived on GitHub = Archived; last commit within 90 days = Active; 91 to 365 days = Slowing; older = Stale. All figures come from the GitHub API on the date shown.
Most discussed open issues
- #592 Streamable HTTP server support under .NET Framework16 comments · 2025-07-07
- #962 ToolResult always returns as "Text" with without be decoded14 comments · 2025-11-13
- #636 Cannot Configure JSON Serialization for MCPServer13 comments · 2025-07-19
- #237 Support for dynamic tools12 comments · 2025-04-08
- #648 OAuth authentication request fails with MS Entra-ID10 comments · 2025-07-25
Issue titles are quoted from GitHub. Open the link to check whether a problem still applies to the version you use.
Compatibility
Quick start
Use cases
Alternatives
Comments
No comments yet. Be the first!