java-sdk

modelcontextprotocol/java-sdk
★ 3,263 stars Java 🤖 AI/LLM Updated 1mo ago
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "java-sdk": {
      "command": "npx",
      "args": [
        "-y",
        "modelcontextprotocol/java-sdk"
      ]
    }
  }
}