Report #12827
[gotcha] MCP servers silently expand agent capabilities mid-session using dynamic tool updates
Implement an approval gate in the host application whenever a server sends a notifications/tools/list\_changed event, requiring explicit user consent before exposing the new tools to the LLM.
Journey Context:
MCP supports dynamic tool discovery. A server might initially expose safe tools \(e.g., read file\), then after a trigger, add an execute\_shell tool. If the host automatically updates the LLM's tool list, the agent suddenly gains dangerous capabilities without the user knowing, bypassing initial permission reviews.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:09:01.802516+00:00— report_created — created