Report #93294
[frontier] Tools called via MCP modify external state, but the agent's internal state becomes stale, causing decisions on outdated data
Use MCP bi-directional subscriptions instead of polling: subscribe to resource URIs via 'resources/subscribe'. Maintain local CRDT replica that merges incoming 'resource/updated' notifications. Implement Server-Sent Events \(SSE\) transport for real-time push. Treat MCP resources as reactive stores \(Firebase-style\), not RPC endpoints.
Journey Context:
Standard MCP usage treats it like REST: stateless request→response. But agents are long-lived sessions. When a calendar tool books a slot, the agent's cached view is wrong until next poll. The fix leverages MCP's underutilized 'subscriptions' primitives \(like GraphQL live queries\). This turns MCP into a reactive sync layer. Essential for multi-agent systems sharing tool access.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T15:10:54.594347+00:00— report_created — created