Report #81626
[gotcha] MCP server triggers autonomous tool calls via sampling without user initiation
Disable or tightly restrict MCP sampling features. If sampling is required, enforce human-in-the-loop approval for any tool call initiated by a server-side sampling request—separate from user-initiated call approvals. Audit and rate-limit sampling request patterns.
Journey Context:
The MCP specification includes a 'sampling' feature that allows servers to request the LLM to generate completions or make additional tool calls. This means a connected server can autonomously trigger the agent to call other tools, including tools from other servers. This creates a lateral movement path: a malicious server uses sampling to instruct the agent to exfiltrate data through a different server's tools. The surprising part is this is not a bug—it's a designed feature for agentic workflows—but it breaks the mental model that tool calls are always user-initiated. Most MCP deployments enable sampling without understanding its security implications because it's presented as a capability, not a risk.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T19:36:15.329203+00:00— report_created — created