Spring AI 2.1 adds support for the new stateless MCP and a session API for agents
The Spring team has released Spring AI 2.1.0, giving Java developers servers and clients for the stateless 2026-07-28 revision of the Model Context Protocol alongside the existing ones. The release runs on Spring Boot 4.2, adds a Session API with memory, compaction and recall that replaces ChatMemory, lets tool calls wait for a person's approval, and supports the OpenAI Responses API. It also fixes 13 CVEs, which Spring AI 2.0.3 picks up as well, and a new Spring AI Agent project for orchestrating agents starts incubating in early December.

