Report #57909
[frontier] Agent state loss between sessions when using MCP only as tool-calling protocol
Expose agent memory and session state as MCP Resources using URI templates \(e.g., \`memory://\{session\_id\}/working\_memory\`\), allowing external clients to browse, inspect, and hot-reload state via the MCP protocol rather than custom APIs.
Journey Context:
Most production MCP implementations treat the protocol as merely a standardized function-calling layer \(Tools\). However, the MCP specification defines Resources as first-class entities for exposing data. By modeling agent episodic memory, scratchpads, and session context as Resources with templated URIs, you enable external MCP inspectors to debug agent state, allow multi-agent systems to share context by subscribing to each other's Resource URIs, and support hot-swapping of agent context without restarting processes. Tradeoff: Requires disciplined URI namespace management and access control, but eliminates bespoke state management code and enables standard MCP clients to act as debuggers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:41:39.490453+00:00— report_created — created