The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft.
The official C# SDK for the Model Context Protocol, maintained in collaboration with Microsoft, lets .NET developers build both MCP clients and servers within their applications, services, and libraries. It ships as three NuGet packages with distinct scopes: ModelContextProtocol.Core for minimal-dependency projects needing only client or low-level server APIs, the main ModelContextProtocol package for most projects requiring hosting and dependency injection extensions, and ModelContextProtocol.AspNetCore for HTTP-based MCP server scenarios built on ASP.NET Core. All three integrate with the MCP standard that Claude Desktop, Claude Code, and other MCP-compatible clients use to expose tools, resources, and prompts to language models. A notable enterprise feature is built-in support for the Identity Assertion Authorization Grant flow via the IdentityAssertionGrantProvider class, enabling cross-application access scenarios. The primary audience is .NET and C# developers who want to connect their existing services or build new ones as MCP-compatible tool providers for Claude and other LLMs.
- ✓License: NOASSERTION
- ✓Actively maintained (<30d)
- ✓Healthy fork ratio
- ✓Clear description
- ✓Topics declared
- ✓Trusted owner (modelcontextprotocol)
git clone https://github.com/modelcontextprotocol/csharp-sdkMCP Servers overview
What people ask about csharp-sdk
What is modelcontextprotocol/csharp-sdk?
+
modelcontextprotocol/csharp-sdk is mcp servers for the Claude AI ecosystem. The official C# SDK for Model Context Protocol servers and clients. Maintained in collaboration with Microsoft. It has 4.3k GitHub stars and was last updated yesterday.
How do I install csharp-sdk?
+
You can install csharp-sdk by cloning the repository (https://github.com/modelcontextprotocol/csharp-sdk) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is modelcontextprotocol/csharp-sdk safe to use?
+
Our security agent has analyzed modelcontextprotocol/csharp-sdk and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.
Who maintains modelcontextprotocol/csharp-sdk?
+
modelcontextprotocol/csharp-sdk is maintained by modelcontextprotocol. The last recorded GitHub activity is from yesterday, with 195 open issues.
Are there alternatives to csharp-sdk?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy csharp-sdk to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/modelcontextprotocol-csharp-sdk)<a href="https://claudewave.com/repo/modelcontextprotocol-csharp-sdk"><img src="https://claudewave.com/api/badge/modelcontextprotocol-csharp-sdk" alt="Featured on ClaudeWave: modelcontextprotocol/csharp-sdk" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。