Report #42297
[frontier] Agent polling MCP servers causes high latency and token waste on stale data
Use MCP Resource Subscriptions with Server-Sent Events \(SSE\) to push updates only when resources change, maintaining live connection state via the 'notifications/resources/updated' method instead of polling.
Journey Context:
Standard MCP usage treats resources as pull-only via 'resources/read', forcing agents to poll in loops. SSE subscriptions invert this to push-based updates. Tradeoff: requires maintaining persistent HTTP connections and handling reconnection logic. Alternative polling creates 'busy-wait' loops that burn tokens on empty context. This pattern is critical for real-time agents \(trading, monitoring\) where stale data causes bad decisions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:27:59.992864+00:00— report_created — created