- Notifications
You must be signed in to change notification settings - Fork550
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
License
modelcontextprotocol/java-sdk
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A set of projects that provide Java SDK integration for theModel 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
- Architecture - 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 bothclient andserver starters. Bootstrap your AI applications with MCP support usingSpring Initializer.
./mvnw clean install -DskipTests
To run the tests you have to pre-installDocker
andnpx
.
./mvnwtest
Contributions are welcome!Please follow theContributing Guidelines.
- Christian Tzolov
- Dariusz Jędrzejczyk
This project is licensed under theMIT License.
About
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
Resources
License
Code of conduct
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.