← all repositories

modelcontextprotocol/csharp-sdk

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

4.4k stars C# Coding AssistantsAgents
csharp-sdk
Not currently ranked — collecting fresh signals.
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.

Frequently asked

What is modelcontextprotocol/csharp-sdk?
Official C# SDK for the Model Context Protocol, enabling .NET applications to implement MCP clients and servers.
Is csharp-sdk open source?
Yes — modelcontextprotocol/csharp-sdk is an open-source project tracked on heatdrop.
What language is csharp-sdk written in?
modelcontextprotocol/csharp-sdk is primarily written in C#.
How popular is csharp-sdk?
modelcontextprotocol/csharp-sdk has 4.4k stars on GitHub.
Where can I find csharp-sdk?
modelcontextprotocol/csharp-sdk is on GitHub at https://github.com/modelcontextprotocol/csharp-sdk.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.