java-sdk
The official Java SDK for building Model Context Protocol servers and clients.
The official C# SDK for the Model Context Protocol — build MCP servers and clients in .NET
csharp-sdk is an open-source dev tools project by modelcontextprotocol (modelcontextprotocol/csharp-sdk on GitHub). It has 4,571 GitHub stars and 820 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 5 October 2026.
Use the main ModelContextProtocol package for hosted apps, Core for minimal scenarios, or AspNetCore for HTTP servers.
Install the package into your .NET project with the dotnet CLI or your IDE's package manager.
Follow the SDK's Getting Started guide to expose tools, prompts, and resources, or to connect a client.
Point an MCP-compatible application at your server and invoke your first tool.
Maintained with Microsoft and aligned with the MCP specification and reference documentation.
Build servers exposing tools, prompts, and resources, and clients that consume them.
The main package fits .NET's generic host and dependency-injection patterns.
The AspNetCore package builds HTTP-based MCP servers on ASP.NET Core.
Optional extension packages add support for MCP Apps and long-running Tasks.
The README notes these libraries underpin projects including the GitHub Copilot coding agent and Semantic Kernel.
Clone the SDK repo and enter its directory to explore samples and source.
git clone https://github.com/modelcontextprotocol/csharp-sdk.git
cd csharp-sdkIn your own .NET project, add the main package.
dotnet add package ModelContextProtocolFollow the linked Getting Started guide to register tools and run the server, then connect an MCP client.
# see the Getting Started guide linked from the README for the exact sample codeThe Model Context Protocol organization, in collaboration with Microsoft; it is the official C# SDK for MCP.
Yes — per the README's license section, the SDK is released under the Apache License 2.0.
No. The SDK is a protocol library; any model costs depend on the host application you connect it to.
It implements the same protocol for the .NET ecosystem, with idiomatic hosting/DI integration and NuGet packaging, rather than npm or PyPI.
Run `dotnet add package ModelContextProtocol` in your project and follow the Getting Started guide linked from the README.
The official Java SDK for building Model Context Protocol servers and clients.
rmcp: the official Rust SDK for the Model Context Protocol — tokio-based servers and clients
Expose your FastAPI endpoints as Model Context Protocol tools - with authentication - in a few lines of code.
MCPJam Inspector: chat with, inspect, debug, and evaluate MCP servers across clients and models.
Unitree's official C++ SDK v2 for programming its robots, with CMake examples and installable library.
Call MCP servers from TypeScript or the CLI — MCP tools disguised as a simple TypeScript API.
The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if csharp-sdk is not the right fit.
The open source coding agent
The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.
Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase
Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents
OpenAI's lightweight coding agent that runs locally in your terminal
Free and open — grab the source, star the repo, and start creating.