modelcontextprotocol/csharp-sdk
Official C# SDK for the Model Context Protocol, enabling .NET applications to implement MCP clients and servers.

Velocity · 7d
+9.5
★ / day
Trend
→steady
star history
This SDK provides three packages for implementing Model Context Protocol functionality in .NET: ModelContextProtocol.Core for low-level client/sever APIs, the main ModelContextProtocol package with hosting and DI extensions, and ModelContextProtocol.AspNetCore for HTTP-based MCP servers. MCP is a protocol that allows AI assistants and agents to connect to and use external tools, data sources, and services.