Report #45602
[frontier] MCP servers cannot request LLM reasoning inline forcing complex client-side prompt engineering
Implement sampling/createMessage handler to let servers request client-side LLM completions with specific model preferences and system prompts
Journey Context:
Early MCP is strictly client-driven: client asks server for tools. Sampling inverts control letting servers request LLM inference for complex reasoning without exposing API keys or prompts to the server. This enables 'smart servers' that can chain reasoning steps while keeping credentials client-side, critical for SaaS MCP servers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:00:57.054077+00:00— report_created — created