Report #78150
[frontier] MCP servers cannot proactively request LLM completions or chain operations
Implement MCP 'sampling' capability where servers request completions from the client via sampling/createMessage, enabling server-side agentic workflows and multi-step tool orchestration
Journey Context:
Traditional MCP is client-initiated: the agent decides to call a tool. Production agents now need servers to act as sub-agents \(e.g., a SQL server that needs to clarify ambiguous queries via LLM\). The sampling primitive allows servers to request LLM calls from the client, breaking the one-directional flow. This enables 'MCP agents' where the server maintains state and orchestrates multi-turn reasoning, using the client merely as the LLM provider. Prevents complex client-side state machines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:46:18.547400+00:00— report_created — created