Spring AI 1.1.0-M2 Available Now: Enhanced Model Context Protocol Support

Releases | Mark Pollack | September 19, 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-M2 has been released and is now available from Maven Central.

This milestone release focuses primarily on enhanced Model Context Protocol (MCP) support, incorporating critical fixes and improvements from the MCP Java SDK v0.13.0 release, along with significant updates across many areas of Spring AI.

Release Summary

This release includes 56 improvements, bug fixes, and documentation updates. The primary focus areas include:

  • Model Context Protocol Enhancements: Updated to MCP Java SDK v0.13.1 with mcp-annotations v0.4.1 and protocol version 2025-06-18 support
  • MCP Integration Fixes: Resolved critical stateless server registration issues with AOT compilation support
  • New Features: 16 new capabilities and functionality additions
  • Stability: 12 bug fixes addressing community-reported issues
  • Documentation: 6 improvements including comprehensive MCP getting started guide
  • Other Improvements: 22 enhancements including performance optimizations and dependency upgrades

đź”§ Model Context Protocol Improvements

This release brings many MCP improvements, motivated by significant improvements in the latest version of MCP Java SDK.

Core MCP Enhancements

  • Updated MCP Java SDK: Upgraded from v0.12.1 to v0.13.1, incorporating protocol version 2025-06-18 support
  • Enhanced MCP Annotations: Updated to mcp-annotations v0.4.1 with AOT (Ahead-of-Time) compilation support for native image compatibility
  • Stateless Server Registration: Fixed critical issues with MCP server connection handling for reliable production deployments
  • Enhanced Tool Management: Improved tool name prefix generation with automatic duplicate handling
  • Configuration Improvements: Streamlined MCP configuration properties for better Spring Boot integration
  • Comprehensive Documentation: Added improved MCP documentation and getting started guide for developers
  • Dependency Management: Leverages the new mcp-core module with reduced Jackson dependencies

Integration

  • Docker Compose Support: Native service connection support for MCP Gateway in containerized environments
  • Testcontainers Integration: Seamless testing capabilities for Docker-based MCP gateway deployments

Breaking Changes & Migration

The MCP Java SDK v0.13.0 includes breaking changes that Spring AI now handles:

  • Updated CallToolResult.structuredContent() API for better array-type content support
  • Module restructuring for improved dependency management
  • Enhanced error recovery in LifecycleInitializer

For developers using MCP in Spring AI applications, this release provides a more stable and feature-rich foundation for tool integration workflows.

Special thanks to the MCP Java SDK v0.13.0 community for their exceptional work on the underlying SDK improvements that made this Spring AI release possible:

Broadcom: Christian Tzolov (@tzolov), Daniel Garnier-Moiroux (@Kehrlann)
Oracle: Graeme Rocher (@graemerocher), Sergio del Amo (@sdelamo)
Google: Yanming Zhou (@quaff)
Open Source Community: @He-Pin - Apache Pekko PMC member and active Project Reactor contributor

Additional Functional Areas Enhanced

Beyond MCP improvements, this release includes:

  • Improved Structured Output: VertexAI Gemini response schema validation for guaranteed JSON/XML generation
  • Chinese AI Model Expansion: ZhipuAI integration with GLM-4.5, GLM-Z1, and GLM-4.1v-thinking-flash models
  • New OCR Model support: Mistral AI OCR API for document and image text extraction
  • Ollama Enterprise Features: Updated hardware, memory, and performance configuration options
  • API Consistency: Unified builder patterns across EmbeddingOptions, ChatOptions, and AssistantMessage
  • Anthropic Cache Management: Implemented cache management for Anthropic API with eligibility tracking for improved performance and resource optimization
  • Google GenAI Enhancements: Added extended token usage metadata and Cached Content API support to Google GenAI (Gemini) for enhanced performance monitoring and content caching capabilities

Contributors and Community

A big thank-you to everyone who reported issues, submitted fixes, and contributed features in this milestone. Your work directly strengthens the project and is greatly appreciated.

We also know there are still community pull requests waiting to be reviewed and merged. We appreciate your patience and want you to know we are actively working through the backlog to give contributions the attention they deserve.

🙏 Contributors

Thanks to all contributors who made this release possible:

Project Page | GitHub | Issues | Documentation | MCP Java SDK | Blog Tutorial: Connect Your AI to Everything | 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