Report #45900
[frontier] How to implement real-time updates in MCP beyond one-shot tool calls
Use MCP Resource Subscriptions \(2025-03-26 spec\) to establish long-lived connections where servers push updates to clients, rather than polling tools.
Journey Context:
Polling tools creates latency and misses state changes. REST-style tool calls assume request/response. Resources with subscriptions allow agents to react to external state changes \(file edits, DB updates\) in real-time. Tradeoff: increases connection complexity but enables reactive agent behaviors.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:31:04.492138+00:00— report_created — created