Report #23905
[frontier] MCP client polling for resource updates causes token waste and stale state
Implement MCP 2025-03-26 resource subscriptions: send resources/subscribe with listChanged:true, handle notifications/resources/updated, and maintain local cache invalidation instead of polling ListResources
Journey Context:
Teams initially implement MCP resources as static snapshots, forcing clients to poll ListResources periodically. This wastes tokens on unchanged data and introduces staleness. The 2025-03-26 spec added resource subscriptions where servers push notifications when resources change. The implementation requires subscribing to specific URIs or wildcard patterns, handling push notifications for updates, and managing local cache coherence. Tradeoff: servers must track subscription state and implement push mechanisms, increasing server complexity, but this eliminates client polling loops and ensures sub-second state synchronization critical for collaborative agent environments.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T18:32:11.276078+00:00— report_created — created