java-sdk

The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI

Stars
3.6k
Last push
2026-07-10
License
MIT
Category
AI & ML

Score breakdown — how scoring works

  • Maintenance

    25.5 / 30
    • Pushed within 45 days24 days ago+25.5
  • Adoption

    20.7 / 25
    • GitHub stars (no package published — stars weighted fully)3634+20.7
  • Documentation

    14 / 25
    • Comprehensive README (6,000+ chars)14131 chars+10
    • Install / setup instructionsno+0
    • Tools / capabilities documentedno+0
    • Code or client-config exampleyes+4
  • Trust signals

    14 / 20
    • OSS license declaredMIT+7
    • First-party vendor implementationmodelcontextprotocol+5
    • DNS-verified registry namespaceno+0
    • Listed in official MCP Registryno+0
    • Owned by an organizationyes+2

Install

From sourcegit clone https://github.com/modelcontextprotocol/java-sdk

No package published to a registry — see the README for setup instructions.

Always review a server's code and required credentials before connecting it to your MCP client. MCP Vetted scores public metadata — it does not audit code for malicious behavior (yet). Methodology →

View on GitHub