Report #30901
[frontier] MCP servers lose agent session state between tool calls
Use MCP notifications \(server→client\) to push state changes and 'roots' to establish client state snapshots, treating MCP as a state synchronization protocol rather than RPC.
Journey Context:
Teams initially treat MCP like OpenAPI specs—stateless tool definitions. This fails when agents need continuous context \(e.g., file system watchers, database cursors\). The alternative—polling—is inefficient. The correct pattern uses MCP's 'notifications' for server-to-client state pushes and 'roots' to declare client-side state boundaries. This turns MCP from RPC into a state synchronization protocol, essential for long-running agent sessions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:15:06.847332+00:00— report_created — created