Skip to content

Conversation

tzolov
Copy link
Collaborator

@tzolov tzolov commented Aug 24, 2025

  • Add @McpPromptListChanged annotation for handling prompt list change notifications
  • Implement AbstractMcpPromptListChangedMethodCallback base class with validation
  • Add SyncMcpPromptListChangedMethodCallback for synchronous prompt list change handling
  • Add AsyncMcpPromptListChangedMethodCallback for reactive prompt list change handling
  • Implement SyncMcpPromptListChangedProvider and AsyncMcpPromptListChangedProvider
  • Add specification records for both sync and async scenarios
  • Include comprehensive test coverage for all new components
  • Support clientId filtering for targeted prompt list change notifications
  • Update README

This enables MCP clients to listen for notifications when the list of available prompts changes on connected MCP servers, supporting both synchronous and asynchronous processing patterns.

- Add @McpPromptListChanged annotation for handling prompt list change notifications
- Implement AbstractMcpPromptListChangedMethodCallback base class with validation
- Add SyncMcpPromptListChangedMethodCallback for synchronous prompt list change handling
- Add AsyncMcpPromptListChangedMethodCallback for reactive prompt list change handling
- Implement SyncMcpPromptListChangedProvider and AsyncMcpPromptListChangedProvider
- Add specification records for both sync and async scenarios
- Include comprehensive test coverage for all new components
- Support clientId filtering for targeted prompt list change notifications
- Update README

This enables MCP clients to listen for notifications when the list of available
prompts changes on connected MCP servers, supporting both synchronous and
asynchronous processing patterns.

Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov added this to the 0.2.0 milestone Aug 24, 2025
@tzolov tzolov merged commit a8a28cd into spring-ai-community:main Aug 24, 2025
1 check passed
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