java-sdk

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

GitHub Stars

2,119

User Rating

Not Rated

Forks

556

Issues

176

Views

1

Favorites

0

README
MCP Java SDK

Build Status

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.

📚 Reference Documentation
MCP Java SDK documentation

For comprehensive guides and SDK API documentation

Spring AI MCP documentation

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.

Development
Building from Source
./mvnw clean install -DskipTests
Running Tests

To run the tests you have to pre-install Docker and npx.

./mvnw test
Contributing

Contributions are welcome! Please follow the Contributing Guidelines.

Team
  • Christian Tzolov
  • Dariusz Jędrzejczyk
Links
License

This project is licensed under the MIT License.

Author Information
Model Context Protocol

An open protocol that enables seamless integration between LLM applications and external data sources and tools.

32,196

Followers

22

Repositories

0

Gists

283

Total Contributions

Top Contributors

Threads