Skip to content

refactor: consolidate MCP server configuration properties into unifie… #4218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Fottas
Copy link
Contributor

@Fottas Fottas commented Aug 22, 2025

Replace 4 separate configuration classes with unified McpServerProperties:

  • Consolidate all MCP server config under spring.ai.mcp.server prefix
  • Add nested classes for protocol-specific settings (SSE, Streamable, Stateless)
  • Update configuration paths and test cases accordingly
  • Follow Spring Boot ServerProperties pattern

This eliminates configuration fragmentation and provides single entry point for users.

Fottas and others added 2 commits August 23, 2025 07:48
…d structure

Replace 4 separate configuration classes with unified McpServerProperties:

- Consolidate all MCP server config under spring.ai.mcp.server prefix
- Add nested classes for protocol-specific settings (SSE, Streamable, Stateless)
- Update configuration paths and test cases accordingly
- Follow Spring Boot ServerProperties pattern

This eliminates configuration fragmentation and provides single entry point for users.

Signed-off-by: yinh <fottas@163.com>
…method

- Replace deprecated call() method with callHandler() in ToolUtilsTests and McpToolUtils
- Fix NullPointerException in sync/async tool specification tests
- Update MCP API usage to match current implementation

Resolves test failures in spring-ai-mcp module.

Signed-off-by: yinh <fottas@163.com>
@Fottas Fottas force-pushed the mcp-server-properties-redesign branch from dab34f4 to fe268a5 Compare August 23, 2025 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant