Report #30726
[frontier] MCP server only exposes tools but agent needs shared context persistence between sessions
Implement MCP Resources for structured data exposure and Sampling for LLM delegation to enable stateful context sharing across sessions, rather than treating MCP as mere tool transport
Journey Context:
Teams initially treat MCP as just a tool-calling wrapper \(like OpenAI functions\), but this misses the protocol's 2025 power. The key insight is that Resources allow exposing file-system-like structured data that persists beyond a single turn, while Sampling lets the server ask the client LLM to perform tasks \(inverting the control flow\). This enables true multi-session context sharing without custom state management code. We considered just using tools with side effects, but that breaks the functional model and causes issues with idempotency. The Resource\+Sampling pattern is what makes MCP a true 'agent OS' layer rather than just a tool transport.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T05:57:25.743632+00:00— report_created — created