# java-sdk

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

- **URL**: https://www.freshcrate.ai/projects/java-sdk
- **Author**: modelcontextprotocol
- **Category**: RAG & Memory
- **Latest version**: `v1.1.2` (2026-04-25)
- **License**: MIT
- **Source**: https://github.com/modelcontextprotocol/java-sdk
- **Homepage**: https://java.sdk.modelcontextprotocol.io/latest/
- **Language**: Java
- **GitHub**: 3,372 stars, 868 forks
- **Registry**: github
- **Tags**: `java`

## Description

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

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v1.1.2` | 2026-04-25 | High | ## What's Changed * HttpClientStreamableHttpTransport: handle HTTP 405 by @Kehrlann in https://github.com/modelcontextprotocol/java-sdk/pull/900   **Full Changelog**: https://github.com/modelcontextprotocol/java-sdk/compare/v1.1.1...v1.1.2 |
| `v1.1.1` | 2026-03-27 | Medium | ## What's Changed  * Remove "Access-control-allow-origin" header in server transports by @srikanthramu and @Kehrlann  **Full Changelog**: https://github.com/modelcontextprotocol/java-sdk/compare/v1.1.0...v1.1.1 |
| `v1.0.1` | 2026-03-27 | Medium | ## What's Changed  * Remove "Access-control-allow-origin" header in server transports by @srikanthramu and @Kehrlann  **Full Changelog**: https://github.com/modelcontextprotocol/java-sdk/compare/v1.0.0...v1.0.1 |
| `v1.1.0` | 2026-03-13 | Low | ## What's Changed * Use dynamic jar discovery for conformance tests by @chemicL in https://github.com/modelcontextprotocol/java-sdk/pull/832 * Add migration notes for 0.18.1 to 1.0.0 update by @chemicL in https://github.com/modelcontextprotocol/java-sdk/pull/828 * Support resource subscriptions by @chemicL in https://github.com/modelcontextprotocol/java-sdk/pull/839 * Add explicit UTF-8 charset to InputStreamReader in StdioServerTransportProvider by @xxxxxxjun in https://github.com/modelcont |
| `v1.0.0` | 2026-02-23 | Low | # MCP Java SDK 1.0.0  We are pleased to announce the **1.0.0 GA release** of the MCP Java SDK — the official Java SDK for Model Context Protocol servers and clients, maintained in collaboration with Spring AI.  ---  ## Major Features  - **MCP Protocol Implementation** — Spec-compliant implementation of the Model Context Protocol, including tools, resources, prompts, sampling, elicitation, and progress tracking. - **Synchronous and Asynchronous APIs** — First-class support for both block |
| `v1.0.0-RC3` | 2026-02-22 | Low | We are pleased to announce the v1.0.0-RC3 release 🚀 marking the beginning of a stable 1.x release line.  ## What's Changed * Move mcp-spring-webflux and mcp-spring-webmvc to Spring AI 2.0 by @tzolov in https://github.com/modelcontextprotocol/java-sdk/pull/805 * Remove deprecations from 1.0.0 by @chemicL in https://github.com/modelcontextprotocol/java-sdk/pull/807 * Conformance testing: add auth conformance testing by @Kehrlann in https://github.com/modelcontextprotocol/java-sdk/pull/806 * |
| `v0.18.1` | 2026-02-19 | Low | ## What's Changed * Fix and simplification for osgi manifest.mf contents generation - Cherry-picked from main (https://github.com/modelcontextprotocol/java-sdk/commit/159eb964cc6252afb977c7fc8531748d24954784)  **Full Changelog**: https://github.com/modelcontextprotocol/java-sdk/compare/v0.18.0...v0.18.1 |
| `v0.18.0` | 2026-02-19 | Low | ## What's Changed * fix: Fixed html encoding in javadoc by @ashakirin in https://github.com/modelcontextprotocol/java-sdk/pull/727 * fix: Enable javadoc generation for modules with OSGi metadata by @jonathanhefner in https://github.com/modelcontextprotocol/java-sdk/pull/705 * fix: Support form and url fields in Elicitation capability per 2025-11-25 spec by @rhtnr in https://github.com/modelcontextprotocol/java-sdk/pull/731 * add 2025-11-25 version to ProtocolVersions by @sdelamo in https://g |
| `v0.17.2` | 2026-01-22 | Low | This release: * Addresses mostly the testing infrastructure issues. * Fixes a client-side issue with servers that process client-initiated notifications with a 202 Accepted HTTP Header.  **Full Changelog**: https://github.com/modelcontextprotocol/java-sdk/compare/v0.17.1...v0.17.2 |
| `v0.17.1` | 2026-01-08 | Low | Bug fix release:  **Full Changelog**: https://github.com/modelcontextprotocol/java-sdk/compare/v0.17.0...v0.17.1 |

## Citation

- HTML: https://www.freshcrate.ai/projects/java-sdk
- Markdown: https://www.freshcrate.ai/projects/java-sdk.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/java-sdk/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
