Spring AI 1.1.0-M1 Available Now

Releases | Mark Pollack | September 09, 2025 | ...

On behalf of the Spring AI engineering team and everyone who has contributed, I'm happy to announce that Spring AI 1.1.0-M1 has been released and is now available from Maven Central.

This milestone release delivers important stability improvements and bug fixes.

Release Summary

This release includes 391 improvements, bug fixes, and documentation updates. The focus of this milestone release is on:

  • Improvements: 271 enhancements to expand capabilities and functionality
  • Stability: 76 bug fixes addressing community-reported issues
  • Documentation: 32 improvements to help developers
  • Security: 12 dependency upgrades for enhanced security

Thanks to all those who have contributed with issue reports and pull requests.

Key Highlights

  • Model Context Protocol Integration - Comprehensive MCP support for AI agent development:

    • MCP Java SDK v0.12.1 Foundation (SDK docs) - Upgraded from v0.10.0 with support for MCP specification versions 2025-3-26 (Streamable HTTP) and 2024-11-05 (SSE) and including some features from the latest 2025-06-18, bringing Streamable HTTP transport, HttpClient/WebClient, WebMVC/WebFlux/Servlet support, Transport Context APIs, enhanced resource template filtering, and MCP-compliant protocol version headers
    • Spring AI Auto-Configuration & Annotations (client docs, server docs, annotations) - Complete Spring Boot integration with multiple MCP Client and MCP Server Boot Starters, automatic client/server lifecycle management, and new annotation-based programming model with @McpTool, @McpResource, @McpPrompt, etc. for declarative MCP development.
  • Expanded Model Support - Comprehensive integration for next-generation AI models:

    • Google GenAI SDK Integration (documentation) - Thanks to Dan Dobrin's outstanding contribution, Spring AI now includes Google's unified GenAI SDK with dual authentication support (API keys for prototyping, Google Cloud credentials for production), covering Gemini Pro, 1.5 Pro, and 2.0 Flash models with full tool calling and multimodal capabilities
    • Anthropic Claude Prompt Caching (documentation) - Prompt caching support with four cache strategies (NONE, SYSTEM_ONLY, SYSTEM_AND_TOOLS, CONVERSATION_HISTORY) offering 5-minute and 1-hour TTL options, delivering up to 90% cost reduction and improved latency for autonomous agent workflows
    • OpenAI GPT-5 Model Support - Added support for the new GPT-5 model family (gpt-5, gpt-5-mini, gpt-5-nano, gpt-5-chat-latest) with verbosity parameter configuration and proper temperature constraint handling
    • ElevenLabs Text-to-Speech (documentation) - Complete text-to-speech integration thanks to Alexandros Pappas, featuring ElevenLabsTextToSpeechModel with streaming support, configurable voice selection, multiple audio formats, and spring-ai-starter-model-elevenlabs for seamless Spring Boot integration
  • Advanced Vector Store and RAG Capabilities - Improved similarity scoring in MariaDB (891ef2a), enhanced Weaviate configuration (#3585), and new VectorStoreRetriever interface (#3827, docs) - a read-only functional interface following the principle of least privilege for document retrieval operations

  • Enhanced Multimodal Processing - PDF document support for OpenAI chat models, standardized audio transcription interface across providers, and robust document validation for vector store operations enabling rich multimedia AI experiences

  • Production-Ready Stability - 76 critical bug fixes addressing community-reported issues, plus 32 documentation improvements and 12 security-focused dependency upgrades

These improvements ensure that Spring AI continues to provide a robust and reliable foundation for building production-ready AI applications, with particular focus on the enhanced MCP integration that enables advanced AI agent capabilities.

🚀 Model Context Protocol Deep Dive

Spring AI 1.1.0-M1 includes significant improvements to AI agent capabilities through enhanced Model Context Protocol (MCP) integration. This release upgrades from MCP Java SDK v0.10.0 to v0.12.1, delivering highly requested features and important architectural improvements.

Streamable HTTP Transport Support

Introduces Streamable HTTP Client and Server transports, which are highly requested capabilities since the MCP 2025-03-26 specification was released.

The Streamable HTTP support enables:

  • Stateful Session Management - Supports servers to establish stateful sessions
  • Resumability and Redelivery - Stateful session management resumes broken connections, and redelivers messages that might otherwise be lost
  • Stateless Streamable HTTP - Subset of the Streamable-HTTP specification that returns application/jsonresponses. Designed for simplified deployments where session state is not maintained between requests. The stateless transport is ideal for scaling microservices.
  • Multiple Transport Implementations - JDK-based Servlet and Spring-based WebMVC and WebFlux Streamable-HTTP transport implementations:
  • Protocol compliance with MCP-Protocol-Version headers (2025-06-18 for streamable HTTP, 2024-11-05 for SSE)

Spring Boot Auto-Configuration & Annotation Programming Model

Spring AI provides comprehensive Spring Boot integration for MCP through multiple specialized starters:

  • Client Starters
    • spring-ai-starter-mcp-client-webflux Spring-based WebClient, STDIO, Streamable HTTP and SSE client transports
    • spring-ai-starter-mcp-client JDK-based HttpClient, STDIO, Streamable HTTP and SSE client transports
  • Server Starters - Multiple transport options including spring-ai-starter-mcp-server (STDIO), spring-ai-starter-mcp-server-webflux (reactive), spring-ai-starter-mcp-server-webmvc (servlet-based)
  • Annotation Programming Model - New declarative approach with @McpTool, @McpResource, @McpPrompt, @McpComplete for servers and @McpLogging, @McpSampling, @McpElicitation, @McpProgress for clients, eliminating boilerplate code
  • Automatic Lifecycle Management - Client/server initialization, resource cleanup, and configuration through Spring properties

Enhanced Connection Management & Customization

  • MCP-Compliant Keep-Alive - Configurable periodic session pings with KeepAliveScheduler utility for reliable long-running connections
  • HTTP Request Customization APIs - Built-in support for OAuth2 tokens, API keys, and custom request modifications through HttpRequestCustomizer
  • Transport Context Support - Unified API for request context propagation between clients and servers, enabling authentication token flow and correlation ID tracking

Production-Ready Features

  • Improved Error Handling - Better compatibility with non-compliant servers and detailed error reporting
  • Connection Reliability - Enhanced session management, resumability, redelivery, automatic retries, and graceful degradation

This MCP integration enhances Spring AI's capabilities for AI agent development, enabling developers to build sophisticated, tool-enabled AI applications with reliable patterns familiar to Spring developers.

Special thanks to the MCP Java SDK community for their exceptional work on the underlying SDK that makes this integration possible:

Christian Tzolov (@tzolov), Dariusz Jędrzejczyk (@chemicL), Daniel Garnier-Moiroux (@Kehrlann), Mark Pollack (@markpollack), Richie Caputo (@arcaputo3), Ilayaperumal Gopinathan (@ilayaperumalg), James Ward (@jamesward), Zachary German (@ZachGerman), @zekozhang, @denniskawurek, @CrazyHZM, @marianogonzalez, @konczdev, @He-Pin, @codeboyzhou, @codezjx, @DamonBao, @jitokim, @xiaowangzhixiao, @FH-30, @LucaButBoring, @epaga

📚 New Examples and Enhanced Repository

The Spring AI Examples repository has been significantly enhanced since the 1.0.1 release with comprehensive new examples and improved testing infrastructure. The repository now contains 37 total modules with 24 modules featuring integration tests and AI-powered validation.

Major Updates Since 1.0.1

  • Comprehensive MCP Examples - Extensive Model Context Protocol examples showcasing v0.12.1 capabilities
  • AI-Powered Validation - New integration testing framework with intelligent output validation
  • Enhanced Documentation - Improved setup instructions and example explanations
  • Production Patterns - Docker deployment examples and OAuth2 authentication patterns

New MCP Examples Highlight

MCP Annotations Framework

mcp-annotations - Complete annotation-driven MCP development examples featuring:

  • Server Implementation - Weather tools, user profile resources, greeting prompts, and auto-completion using @McpTool, @McpResource, @McpPrompt, @McpComplete
  • Client Implementation - Progress tracking, logging, and sampling handlers using @McpProgress, @McpLogging, @McpSampling
  • Mixed Annotation Patterns - Both MCP annotations and Spring AI @Tool annotations working together

sampling/annotations - Demonstrate the Model Context Protocol (MCP) Sampling capability in Spring AI using the annotation-based approach.

Dynamic Tool Management

dynamic-tool-update - Demonstrates runtime tool registration and client detection:

  • Runtime Tool Addition - Server dynamically exposes new mathematical operations alongside existing weather tools
  • Client Tool Discovery - Automatic detection and utilization of newly available tools
  • Notification System - Real-time updates when tool capabilities change

Docker MCP Gateway Integration

brave-docker-agents-gateway - Production deployment using Docker's MCP Gateway:

  • Docker Agents Gateway - Uses Docker's docker/agents_gateway:v2 image for MCP server orchestration
  • Brave Search Integration - Natural language internet search through conversational interface using MCP protocol
  • Containerized Architecture - Complete Docker Compose setup with secrets management and SSE transport
  • Spring Boot MCP Client - Simplified client configuration connecting to dockerized MCP services

Multiple Transport Examples

The examples showcase all supported MCP transports:

  • STDIO - Process-based communication for local tool execution
  • HTTP SSE - Server-sent events for web-based real-time updates
  • Streamable HTTP - Modern HTTP streaming for scalable deployments
  • Stateless Streamable HTTP - Modern HTTP streaming for scalable deployments
  • WebMVC & WebFlux - Both traditional servlet and reactive implementations

These examples provide practical guidance for implementing MCP in production applications, from simple annotation-based tools to sophisticated dynamic agent systems. Each example includes comprehensive documentation, setup instructions, and integration tests.

Community

The Spring AI community continues to grow and contribute in meaningful ways. This release includes contributions from community members who reported issues, submitted fixes, and provided valuable feedback.

🙏 Contributors

Thanks to all contributors who made this release possible:

How can you help?

If you're interested in contributing, check out the "ideal for contribution" tag in our issue repository. For general questions, please ask on Stack Overflow using the spring-ai tag.

What's Next

The Spring AI team continues to focus on improving AI application development with Spring Boot. Based on the momentum from 1.1.0-M1, upcoming releases will build on these foundations with enhanced capabilities and developer experience improvements.

For the latest updates and to contribute to the project, visit our GitHub repository or join the discussion in our community channels.

Resources

Project Page | GitHub | Issues | Documentation | Stack Overflow

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all