MCP Java SDK – Build Model Context Protocol servers in Java A developer has released an open-source Java SDK for building Model Context Protocol (MCP) servers, available on Maven Central. The SDK, which includes a Spring Boot starter, allows Java developers to expose tools, resources, or prompts to MCP-compatible agents without implementing protocol plumbing from scratch. The project also provides MySQL and Redis servers as local stdio MCP servers to keep database credentials secure within the user's environment. Hi HN, I built an open-source Java SDK for building Model Context Protocol servers: https://github.com/6000fish/mcp-java https://github.com/6000fish/mcp-java It is intended for Java developers who want to expose tools, resources, or prompts to MCP-compatible agents without implementing the protocol plumbing from scratch. The project includes: The SDK is available on Maven Central: