modelcontextprotocol/java-sdk

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

About the project

The MCP Java SDK is a set of Java libraries for building applications that communicate with AI models, tools, and Model Context Protocol servers through a standard interface. Java developers use it to create MCP clients and servers, with synchronous or asynchronous communication.

Latest release v2.0.1 · 19 Aug 2026

These files are modelcontextprotocol/java-sdk's own configuration. They tell Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.

3,683Stars on the repository
1Files it configures its agents with
839Tokens loaded in every session
2Agents configured

Instructions