refactor(mcp): consolidate MCP server auto-configuration modules and introduce protocol-based configuration#4211
Closed
tzolov wants to merge 2 commits intospring-projects:mainfrom
Closed
Conversation
…introduce protocol-based configuration - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn>
6a48c45 to
f4b9088
Compare
tzolov
added a commit
that referenced
this pull request
Aug 21, 2025
…introduce protocol-based configuration (#4211) - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn>
Contributor
Author
|
Rebased and merged at e71da4e |
Contributor
Contributor
|
Hi @tzolov, |
scionaltera
pushed a commit
to scionaltera/spring-ai
that referenced
this pull request
Sep 3, 2025
…introduce protocol-based configuration (spring-projects#4211) - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn>
chedim
pushed a commit
to couchbaselabs/spring-ai
that referenced
this pull request
Sep 19, 2025
…introduce protocol-based configuration (spring-projects#4211) - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn>
Willam2004
pushed a commit
to Willam2004/spring-ai
that referenced
this pull request
Oct 11, 2025
…introduce protocol-based configuration (spring-projects#4211) - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn> Signed-off-by: 家娃 <guanjing.pangj@alibaba-inc.com>
ralla0405
pushed a commit
to ralla0405/spring-ai
that referenced
this pull request
Nov 28, 2025
…introduce protocol-based configuration (spring-projects#4211) - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn> Signed-off-by: logan-mac <ralla0405@gmail.com>
1993heqiang
pushed a commit
to 1993heqiang/spring-ai
that referenced
this pull request
Jan 3, 2026
…introduce protocol-based configuration (spring-projects#4211) - Consolidate multiple MCP server modules into unified webmvc/webflux modules - Move properties classes from separate module into mcp-server-common - Merge stateless auto-configuration into common module - Replace transport-specific modules with protocol-based configuration - Add ServerProtocol enum (SSE, STREAMABLE, STATELESS) for protocol selection - Rename ServerType to ApiType for clarity - Update conditional configuration to use protocol-based conditions - Remove separate streamable/stateless starter modules - Update documentation to reflect unified protocol-based approach - Simplify module structure while maintaining backward compatibility through configuration This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com> Co-authored-by: yinh <yinh@133.cn>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This refactoring reduces complexity by consolidating 7+ modules into 3 main modules (common, webmvc, webflux) while providing the same functionality through the spring.ai.mcp.server.protocol configuration property.