csharp-sdk
The official C# SDK for the Model Context Protocol — build MCP servers and clients in .NET
The official Java SDK for building Model Context Protocol servers and clients.
java-sdk is an open-source dev tools project by modelcontextprotocol (modelcontextprotocol/java-sdk on GitHub). It has 3,723 GitHub stars and 1,155 forks, is released under the MIT license, and was last updated on GitHub on 8 October 2026.
Decide the first concrete outcome you want from it, so you can pick the right example, template or mode instead of exploring everything at once.
Clone the repository (or install the published package) and skim its README quick start for the requirements for your platform.
Run the documented install step and set any required configuration — such as provider keys, data sources or local services — before the first run.
Execute the smallest documented example end to end, confirm the output is what you expected, then adapt it to your real data or workflow.
Servers and clients implementing the Model Context Protocol specification for the JVM.
JDK HttpClient client transport and Jakarta Servlet server transport in core; Spring transports available through Spring AI.
Reactive Streams APIs powered by Reactor, plus a synchronous facade for blocking use cases.
A JSON abstraction with Jackson shipped as the default implementation.
Hooks let servers plug in Spring Security, MicroProfile JWT or custom auth instead of a built-in system.
Dedicated server, client and auth conformance test suites are part of the build.
Get the source so you can inspect, configure and run it locally.
git clone https://github.com/modelcontextprotocol/java-sdk.git
cd java-sdkFollow the reference documentation for the Maven artifacts for MCP core/client/server, then build from source if contributing.
git clone https://github.com/modelcontextprotocol/java-sdk.git
cd java-sdk
./mvnw clean install -DskipTestsVerify a source build with the SDK's test suite.
./mvnw testIt is maintained by modelcontextprotocol on GitHub (modelcontextprotocol/java-sdk), where the source, issues and releases live.
Yes — it is free and open source under the MIT licence, which permits use, modification and redistribution, including commercially, with attribution.
No API key is needed for the SDK itself — it is a protocol library; any LLM costs depend on the client application you connect.
Compared with the TypeScript or Python MCP SDKs, java-sdk's distinguishing focus is: the official Java SDK for building Model Context Protocol servers and clients. Pick it when that focus matches your need; the alternative may suit you better if its broader or different scope is the priority.
Clone https://github.com/modelcontextprotocol/java-sdk (or install its published package), follow the README quick start to install and configure it, then run the smallest documented example — the Run section on this page mirrors those steps.
The official C# SDK for the Model Context Protocol — build MCP servers and clients in .NET
rmcp: the official Rust SDK for the Model Context Protocol — tokio-based servers and clients
Vercel's AI SDK: the TypeScript toolkit for building AI apps and agents with any model provider
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.
The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if java-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.