Report #53270
[frontier] Agent loses context between tool calls using MCP
Implement MCP Resource subscriptions with server-sent events for live context updates instead of stateless tool calls
Journey Context:
Teams initially treat MCP as a glorified REST wrapper, calling tools statelessly. In production, this causes context loss between multi-step operations \(e.g., editing a file then verifying\). The fix is leveraging the 2025-03-26 spec's Resource subscriptions, where servers push updates to clients, maintaining ambient context without chat-history bloat. Alternatives like polling introduce latency; subscriptions are the only scalable pattern 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-19T19:54:39.421263+00:00— report_created — created