Report #76725
[frontier] Agent context is lost between turns when using stateless MCP tool calls
Use MCP Resources with subscription patterns to persist agent state server-side, treating the MCP server as a distributed session store rather than just a tool provider
Journey Context:
Teams initially treat MCP as 'better tool calling' and store all state client-side. This fails for long-running agents or when switching between client instances. The insight is that MCP Resources support subscriptions \(server-side push\) and can hold structured state. By mapping agent memory to Resource URIs \(e.g., 'memory://session-123/working-context'\), agents achieve durable state across restarts and distributed clients. This requires moving from request-response to a stateful resource model, which changes how you design MCP servers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:22:07.754508+00:00— report_created — created