#62 · Primary category: LLM Application Frameworks
csharp-sdk
The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
Project last updated:08/27/26
GitHub Stars
4.5K
Forks
797
Contributors
90
License
Other
Why we included this project
For .NET teams that want their C# services to work with AI assistants, this is the official way to implement the Model Context Protocol. Your application can run as an MCP client that calls tools an assistant exposes, or as a server that offers its own tools back to those assistants. The NuGet packages cover the common setups: a minimal core for client and low-level server work, a main package with hosting and dependency injection extensions, an ASP.NET Core option for HTTP-based servers, and extensions for long-running tool calls and UIs that render inside MCP hosts. Microsoft collaborates on maintenance, which matters for teams that need dependable long-term support in .NET environments. This is squarely aimed at developers wiring real services into MCP workflows.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform