java-sdk
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI
GitHub Stars
2,395
User Rating
Not Rated
Favorites
0
Views
38
Forks
634
Issues
211
Installation
Difficulty
AdvancedEstimated Time
20-45 minutes
Installation
Installation
Prerequisites
Java: JDK 11 or higher
Maven: 3.6.0 or higher
Docker: Latest version
Installation Steps
1. Clone Repository
bash
git clone https://github.com/modelcontextprotocol/java-sdk.git
cd java-sdk
2. Install Dependencies
bash
./mvnw clean install -DskipTests
3. Run Tests
bash
./mvnw test