Skip to content

Conversation

@tzolov
Copy link
Collaborator

@tzolov tzolov commented Aug 19, 2025

  • Add createAsyncElicitationHandler() method to AsyncMcpAnnotationProvider
  • Add createSyncElicitationHandler() method to SyncMcpAnnotationProvider
  • Implement SpringAiAsyncMcpElicitationProvider inner class
  • Implement SpringAiSyncMcpElicitationProvider inner class
  • Add ElicitRequest and ElicitResult imports to both providers
  • Update README with comprehensive elicitation documentation:
    • Add elicitation to core module operations list
    • Document @McpElicitation annotation
    • Add elicitation method callbacks documentation
    • Add elicitation providers documentation
    • Include complete usage examples for sync and async handlers
    • Add Spring integration examples for elicitation
  • Bump MCP Java SDK version from 0.11.0-SNAPSHOT to 0.12.0-SNAPSHOT

This enables Spring applications to easily integrate MCP elicitation functionality using the familiar annotation-based approach, providing both synchronous and asynchronous implementations for gathering additional information from users.

- Add createAsyncElicitationHandler() method to AsyncMcpAnnotationProvider - Add createSyncElicitationHandler() method to SyncMcpAnnotationProvider - Implement SpringAiAsyncMcpElicitationProvider inner class - Implement SpringAiSyncMcpElicitationProvider inner class - Add ElicitRequest and ElicitResult imports to both providers - Update README with comprehensive elicitation documentation: - Add elicitation to core module operations list - Document @McpElicitation annotation - Add elicitation method callbacks documentation - Add elicitation providers documentation - Include complete usage examples for sync and async handlers - Add Spring integration examples for elicitation - Bump MCP Java SDK version from 0.11.0-SNAPSHOT to 0.12.0-SNAPSHOT This enables Spring applications to easily integrate MCP elicitation functionality using the familiar annotation-based approach, providing both synchronous and asynchronous implementations for gathering additional information from users. Signed-off-by: Christian Tzolov <christian.tzolov@broadcom.com>
@tzolov tzolov merged commit cd7c67b into spring-ai-community:main Aug 19, 2025
1 check passed
@scottslewis
Copy link

I found this in draft spec: https://modelcontextprotocol.io/specification/draft/client/elicitation

If there is more/other in spec at this point, all pointers would be appreciated.

@tzolov tzolov added this to the 0.2.0 milestone Aug 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants