Repository navigation
Description
Thank you for this great project.
Is your feature request related to a problem? Please describe.
I'm always frustrated when MCP Servers (model context protocol) are trying to make elicitation requests (try to communicate with the user) and adk simply states "elicitation is not supported". As it stands, MCP servers cannot communicate with the user.
Describe the solution you'd like
MCP Servers should have a simple way of requesting structured information directly from the user. Therefore, I'd like adk to support this part of the protocol.
Describe alternatives you've considered
Since there is no real alternative, I tried to implement elicitation support in adk myself. After days of no progress, I am giving up and writing this issue, hoping that someone smarter than me can pull it of.
Additional context
Findings.
google.adk.tools.mcp_tool.mcp_session_manager.MCPSessionManager.create_sessionshould pass theelicitation_callbackparameter to themcp.ClientSession.__init__call- The
elicitation_callbackshould emit an Event, where the message contains theelicitation_request, marked as such. - The
elicitation_callbackshould further await a future - The future is filled by the runner, when it receives a corresponding
elicitation_responsemessage, which is also marked as such. - The
elicitation_callbackwill return the result of the future which, in turn, will continue themcp.ClientSession.
Since i don't understand how adk handles futures, sessions, states, etc in detail, I am slightly overwhelmed by this task, so my findings can be wrong and misleading, maybe there is a much easier way to do it. E.g. one that does not require a modification of the runner and can be handled entirely in the MCPSessionManager.
Can you give a heads up, if this is planned at all, if you have a timeline for this, or if you are maybe already working on this?
Activity
ShravaniSree commentedon Aug 28, 2025
Is there any update on this support?
thetoby9944 commentedon Sep 18, 2025
For anyone having a look at this, elicitation is part of the MCP spec since June
https://modelcontextprotocol.io/specification/2025-06-18/client/elicitation
thetoby9944 commentedon Sep 26, 2025
Thought more about this.
Instead of pushing this work onto the MCP Session Manager, why not use what's already there: The new tool confirmation flow comes awfully close to this.
#2687
My thoughts are that if we would
... then we would have MCP elicitation support.
This would also fix:
#3008
More information: https://google.github.io/adk-docs/tools/confirmation/
Jacksunwei commentedon Oct 28, 2025
@DeanChensj I think you could take a look this. Elicitation is kinda a mechanism for tool confirmation.
cc. @boyangsvl
hangfei commentedon Nov 8, 2025
Please use the main issue to track. Closing this.