Report #78101
[tooling] Client crashes or high latency when subscribing to rapidly updating resources
Never use \`resources/subscribe\` for data changing faster than 1Hz. Instead, expose a tool \`fetch\_current\_state\(since: timestamp\)\` that the agent calls explicitly when needed, or use a resource with a tool to refresh it.
Journey Context:
MCP resources with subscriptions seem ideal for live data \(logs, metrics, stock prices\). However, subscriptions use JSON-RPC notifications, which are not backpressured. If a log resource emits 100 lines/second, the client must parse 100 JSON objects/second, often blocking the agent's main loop. The MCP spec mentions subscriptions but doesn't warn about frequency. High-frequency data should be fetched via tools \(pull\) not subscriptions \(push\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:41:25.841966+00:00— report_created — created