All notable changes to the MCP Java SDK are documented in the GitHub Releases, which serve as the canonical, detailed changelog for every version. This file summarizes the release history and the currently maintained release lines.
Versioning follows Semantic Versioning; see VERSIONING.md for the breaking-change policy and SECURITY.md for the supported-versions security policy.
| Line | Latest | Spec revision | Status |
|---|---|---|---|
| 2.0.x | 2.0.1 (2026-08-19) | 2025-11-25 | Active development |
| 1.1.x | 1.1.4 (2026-08-19) | 2025-06-18 | Security patches only |
| 0.18.x | 0.18.4 (2026-08-19) | 2025-06-18 | Security patches only |
- A stateless server for the 2026-07-28 MCP specification revision, in
io.modelcontextprotocol.modern, with Servlet (Streamable HTTP) and STDIO transports. It supportsserver/discover, multi round-trip requests with sealedrequestState,subscriptions/listen, caching hints, required client capabilities and SEP-2243Mcp-Paramheader validation. The API may change in minor releases until 3.0. See MCP Server (2026-07-28). - A client for the 2026-07-28 MCP specification revision, in
io.modelcontextprotocol.modern.client, with Streamable HTTP (JDKHttpClient) and STDIO transports. It needs noinitializehandshake and supports multi round-trip requests with form and URL elicitation, progress,subscriptions/listen,server/discoverand SEP-2243Mcp-Paramheaders. Sampling, roots and logging are not supported. The API may change in minor releases until 3.0. See MCP Client (2026-07-28). - Add
McpTransportContext.putAll(Map), returning a context that combines an existing context with additional entries, which take precedence. McpTransportContextno longer compares contexts by their contents inequalsandhashCode. WithputAll, transports can layer their own entries over the context a user's extractor returns, and comparing contexts was never a goal; read entries viaget(String)instead.- Deprecate the roots, sampling and logging APIs that initiate these features, following
SEP-2577, which
deprecates them as of the 2026-07-28 specification revision. This covers
McpSyncClient/McpAsyncClient(addRoot,removeRoot,rootsListChangedNotification,setLoggingLevel), the server exchanges (createMessage,listRoots,loggingNotification), and theroots,samplingandloggingcapability builder methods. In the 2026-07-28 API it also coversInputRequiredResult.builder()'screateMessageandlistRoots, andMetaKeys.LOG_LEVEL. The builder methods that register handlers for these features (roots,samplingandloggingConsumer(s)on the client,rootsChangeHandler(s)on the server) are not deprecated, since the specification requires implementations to keep handling them for peers that still use them. Behavior and the wire format are unchanged.
- Bound STDIO and HTTP client/server reads to a configurable maximum size
Full notes: v2.0.1 release
First major release since 1.x, tracking the 2025-11-25 MCP specification. Upgrading from 1.x? See the v2 migration guide.
- New JSON compatibility foundation for forward/backward wire compatibility, with pluggable Jackson 2 / Jackson 3 serialization modules
- Spec-accurate schema: enforced required fields, lenient wire deserialization
- End-to-end validation of tool inputs and embedded JSON Schema documents (JSON Schema 2020-12, SEP-1613)
- Richer elicitation: client-side schema defaults (SEP-1034), URL elicitation (SEP-1036), form-based elicitation schemas
- Icons and metadata support (SEP-973)
- Streamable HTTP first: SSE transports deprecated in favor of Streamable HTTP
- Module restructuring:
mcp-core,mcp-json-jackson2,mcp-json-jackson3,mcp-bom
Full notes: v2.0.0 release (preceded by milestones M1, M2, M3, RC1).