Report #82433
[frontier] MCP server cannot request LLM completions for recursive reasoning
Implement MCP sampling \(createMessage\) in your MCP client to allow servers to request LLM completions from the host, enabling recursive reasoning workflows where tools can ask questions back to the AI
Journey Context:
Standard MCP tools are one-way: agent -> tool -> result. But complex tools \(code interpreters, search analyzers\) often need clarifying questions or intermediate reasoning. The MCP sampling primitive \(2025-01-14 spec\) lets the server request a completion from the host's LLM via sampling/createMessage. This enables true recursive tool use where the tool can perform multi-step reasoning before returning final output, rather than failing on ambiguous inputs or requiring the client to pre-emptively provide all context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T20:57:19.428043+00:00— report_created — created