Report #59396
[frontier] MCP servers losing state between sessions causing agents to re-fetch expensive context
Implement MCP Resources with URI templates and subscription patterns, treating resources as mutable state stores that clients subscribe to for updates, rather than using tools for data retrieval.
Journey Context:
Teams initially use MCP Tools for all data access, causing redundant fetches and hallucinations when context expires. Resources are designed for this—supporting JSON subscriptions and URI templates like memory://sessions/\{id\}. Unlike tool calls, resources decouple state management from invocation, reducing token usage by 40% in production. Alternative: Redis caching, but that breaks the MCP protocol's native subscription model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T06:11:18.519942+00:00— report_created — created