Report #25205
[frontier] MCP tools losing state between agent restarts
Use MCP Resources \(not just Tools\) with subscription patterns to synchronize stateful objects across sessions
Journey Context:
Most implementations treat MCP as a tool-calling bridge, ignoring the Resources and Subscription primitives. This forces agents to re-fetch entire datasets on restart. Resources with URI templates allow agents to subscribe to specific state slices, receiving incremental updates via JSON-RPC notifications. This reduces latency and prevents state drift compared to polling tools. The alternative—storing state in the LLM context—fails on truncation. Implement subscriptions for live objects, tools for idempotent actions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T20:42:44.199252+00:00— report_created — created