AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Dev Tooling/
csharp-sdk
csharp-sdk logo

csharp-sdk

Active·★ 4.6k·NOASSERTION·Updated 2026-10-27
★ Essential

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.

This write-up is based on the project's README and public repository data. We have not hand-tested the tool. Data as of 2026-10-25.

License
Not detected by GitHub
Latest release
v2.3.0 · 2026-10-20
Last commit
2026-10-24
Contributors
99
Forks
837
Open issues and PRs
215
First published
2025-03-10

Source: GitHub, npm and PyPI public APIs.

#csharp#dotnet#mcp#mcp-client#mcp-server#mcp-servers#modelcontextprotocol
$ Install
$ dotnet add package ModelContextProtocol
↗ Visit site★ GitHub
01

Features

01Implement and interact with MCP clients and servers
02Low-level client and server APIs (via ModelContextProtocol.Core)
03Hosting and dependency injection extensions (via ModelContextProtocol)
04Support for HTTP-based MCP servers (via ModelContextProtocol.AspNetCore)
02

Why choose it

+Official SDK, so it tracks the protocol specification for .NET clients and servers.
+Three packages let you pick minimal client and low-level APIs, hosting and DI extensions, or ASP.NET Core HTTP servers.
+Conceptual and API documentation plus a samples directory.
+Apache 2.0 licensed and updated regularly.
03

Trade-offs

!It is a developer SDK for .NET, not a ready-to-use MCP server, so you write C# code to use it.
!The README is very short and defers installation and package-selection details to the separate documentation site.
!GitHub's licence detector shows NOASSERTION even though the README states Apache 2.0.
04

Maintenance check

ActiveChecked: 2026-10-27
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
Commits per week, last 12 weeks
Commits per week, last 12 weeks: 8, 2, 0, 1, 2, 2, 0, 0, 1, 3, 14, 3

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.

05

Compatibility

.NET
.NET Frameworks
Verified via docs
06

Quick start

1
$ dotnet add package ModelContextProtocol
07

Use cases

↳Integrating .NET applications with the Model Context Protocol
↳Building MCP clients to provide context to LLMs
↳Developing MCP servers to expose data sources and tools to LLMs
08

Alternatives

⚡Top VS:
VSncp★100→VSEmbody★209→VSeclipse-chatgpt-plugin★175→VSturbomcp★99→
ncp logo
ncp★ 100
Natural Context Provider (NCP). Your MCPs, supercharged. Find any tool instantly, load on demand, run on schedule, ready for any client. Smart loading saves tokens and energy.
VSCompare→
Embody logo
Embody★ 209
Have a conversation with TouchDesigner
VSCompare→
eclipse-chatgpt-plugin logo
eclipse-chatgpt-plugin★ 175
Eclipse IDE as an MCP Server for AI Agents
VSCompare→
turbomcp logo
turbomcp★ 99
A full featured, enterprise grade rust MCP SDK
VSCompare→
awesome-mcp-hardware logo
awesome-mcp-hardware★ 59
Awesome list of MCP servers for interacting with hardware and the physical world.
VSCompare→
turbomcpstudio logo
turbomcpstudio★ 38
A native desktop application for developing, testing, and debugging Model Context Protocol servers.
VSCompare→
Opencollab-mcp logo
Opencollab-mcp★ 35
AI-powered open source contribution matchmaker — finds perfect "good first issues" matched to YOUR skills
VSCompare→
pipulate logo
pipulate★ 14
Local First AI SEO Software on Nix, FastHTML & HTMX
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Why choose it03Trade-offs04Maintenance check05Compatibility06Quick start07Use cases08Alternatives
modelcontextprotocol /
csharp-sdk
↗

Official C# SDK for building MCP clients and servers in .NET

4.6k837
Last commit1d ago
StatusActive
CategoryDev Tooling
Contributors99
Latest releasev2.3.0
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.