Report #70769
[frontier] MCP resources overlooked as shared state layer between agents, causing all state to flow through conversation context
Use MCP Resource URIs as a shared state layer between agents. Agents read and write to MCP resource endpoints instead of passing state through conversation messages. This decouples state from the context window and allows multiple agents to observe shared state without context bloat.
Journey Context:
The naive approach to multi-agent state is to pass everything through conversation messages or shared memory stores that get injected into prompts. Both approaches consume context window tokens proportional to state size. MCP's Resource protocol provides a cleaner alternative: agents can list and read resources on-demand from MCP servers, and subscribe to resource updates. This means state lives outside the context window and is fetched only when needed. Production teams are using MCP resource servers as lightweight shared memory with URI-addressed state like agent://project/decisions or agent://session/artifacts. The tradeoff: you need to build or configure MCP resource servers, and agents must learn to query resources proactively rather than having everything in-context. But this pattern scales to much larger state without context overflow, and multiple agents can share the same state store without message-passing overhead.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T01:22:10.489199+00:00— report_created — created