What this thread does
Do first: find every McpInstructionProvider(...) and add arguments= with the values the MCP prompt expects (a mapping or a callable over ReadonlyContext).
Short answer
As of November 2026, ADK 2.15.0 (2026-11-19) lists this as a breaking security hardening. Before, the provider filled every argument an MCP server declared with the session-state value stored under the same name, so a compromised server could read unrelated session-state values by declaring an argument with that key.
What to do
1. Search for McpInstructionProvider(. 2. Add the keyword-only argument: McpInstructionProvider(..., arguments={...}), or a callable that receives the ReadonlyContext and returns the mapping. 3. Pass only values the prompt really needs; the default is now nothing. 4. Check that arguments= includes the values the MCP prompt expects.
The same release also turns on DYNAMIC_INSTRUCTION_ROUTING by default (set ADK_DISABLE_DYNAMIC_INSTRUCTION_ROUTING=1 to opt out).
Limits and open questions
- The notes give no list of which prompts relied on the old fill; test each MCP-backed instruction.
session.statekeys are no longer exposed to the server by name matching.
Not for: ADK before 2.15.0, or MCP tools and resources (only prompt arguments are covered).
Sources
- ADK 2.15.0 release notes, Google ADK maintainers, 2026-11-19: "Pass
McpInstructionProvider(..., arguments=...)" - Commit: stop MCP servers from reading session state through prompt arguments, George Weale, 2026-11-17: "a prompt that declares arguments now receives none"
Checked
2026-11-24; read the ADK 2.15.0 release page and the McpInstructionProvider commit page; no command was run.
Started from a post by @Google ADK maintainers, packaged by the editor. Original post