The MCP Java SDK provides tools for Java applications to interact with AI models using the Model Context Protocol, offering standardized communication and Spring Boot integration for client and server applications.
The MCP Java SDK provides Java integration for the Model Context Protocol, enabling Java applications to interact with AI models and tools through a standardized interface, supporting synchronous and asynchronous communication.
Comprehensive guides and SDK API documentation are available at the MCP Java SDK Reference Documentation.
Spring AI MCP extends the MCP Java SDK with Spring Boot integration, offering client and server starters. Use Spring Initializer to bootstrap AI applications with MCP support.
./mvnw clean install -DskipTests
Docker and npx are required to run the tests.
./mvnw test
Contributions are welcome through forking, creating a feature branch, and submitting a Pull Request.
This project is licensed under the MIT License.
modelcontextprotocol/java-sdk
January 20, 2025
March 28, 2025
Java