A set of projects that provide Java SDK integration for the Model Context Protocol. This SDK enables Java applications to interact with AI models and tools through a standardized interface, supporting both synchronous and asynchronous communication patterns.
For comprehensive guides and SDK API documentation
- Features - Overview the features provided by the Java MCP SDK
- Acrchitecture - Java MCP SDK architecture overview.
- Java Dependencies / BOM - Java dependencies and BOM.
- Java MCP Client - Learn how to use the MCP client to interact with MCP servers.
- Java MCP Server - Learn how to implement and configure a MCP servers.
Spring AI MCP extends the MCP Java SDK with Spring Boot integration, providing both client and server starters. Bootstrap your AI applications with MCP support using Spring Initializer.
./mvnw clean install -DskipTests
To run the tests you have to pre-install Docker
and npx
.
./mvnw test
Contributions are welcome! Please follow the Contributing Guidelines.
- Christian Tzolov
- Dariusz Jędrzejczyk
This project is licensed under the MIT License.