java-sdk
View on GitHubThe official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
Official Java SDK for building MCP clients and servers. Supports synchronous and reactive APIs, JSON-RPC communication, and transports including STDIO and HTTP.
Use Cases
Build Java MCP clients that connect to MCP serversExpose Java application capabilities as MCP serversIntegrate tools and resources with AI applicationsSupport asynchronous and streaming MCP communication
Built With
- Language
- Java
- Frameworks
- Project Reactor · Jackson · Jakarta Servlet · JDK HttpClient · Reactive Streams
Tags
MCP · Java SDK · MCP client · MCP server · JSON-RPC · async · streaming · STDIO · HTTP