Skip to content

Conversation

tzolov
Copy link
Collaborator

@tzolov tzolov commented Aug 28, 2025

BREAKING CHANGE: All MCP annotations now use clients (String[]) instead of clientId (String) parameter

  • Update @McpLogging, @McpSampling, @McpElicitation, @McpProgress annotations
  • Update @McpToolListChanged, @McpResourceListChanged, @McpPromptListChanged annotations
  • Add validation to ensure at least one client ID is specified
  • Update all specification classes to use clients array
  • Update all provider classes and method callbacks
  • Update documentation and test examples
  • Enable multi-client support for MCP operations

This change allows MCP annotations to handle multiple clients simultaneously, improving flexibility and scalability of the MCP annotation framework.

BREAKING CHANGE: All MCP annotations now use `clients` (String[]) instead of `clientId` (String) parameter

- Update @McpLogging, @McpSampling, @McpElicitation, @McpProgress annotations
- Update @McpToolListChanged, @McpResourceListChanged, @McpPromptListChanged annotations
- Add validation to ensure at least one client ID is specified
- Update all specification classes to use clients array
- Update all provider classes and method callbacks
- Update documentation and test examples
- Enable multi-client support for MCP operations

This change allows MCP annotations to handle multiple clients simultaneously,
improving flexibility and scalability of the MCP annotation framework.

Signed-off-by: Christian Tzolov <[email protected]>
@tzolov tzolov added this to the 0.3.0 milestone Aug 28, 2025
@tzolov tzolov merged commit e51b018 into spring-ai-community:main Aug 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant