Report #51873
[frontier] MCP server only exposes Tools — agent loses persistent project context between calls and sessions
Use MCP Resources \(URI-addressable, persistent context\) and Resource Subscriptions to give agents a live view of project state. Reserve Tools for actions with side effects; use Resources for data the agent reads repeatedly \(file trees, schemas, coding standards, open issues\).
Journey Context:
Nearly every early MCP implementation treats it as a glorified function-calling wrapper, exposing only the Tools primitive. But the MCP spec defines three primitives: Tools \(stateful actions\), Resources \(persistent, read-only data\), and Prompts \(reusable templates\). Resources are URI-addressable and support subscriptions, meaning your agent can maintain a live view of project state without re-querying or burning tokens. The tradeoff: Resources require upfront schema design and server-side state management that ad-hoc tool calls don't. But they eliminate the pattern of agents calling a 'get\_project\_structure' tool on every turn, which wastes tokens and adds latency. Subscriptions go further: the agent is notified when a Resource changes, enabling reactive behavior without polling. This is the difference between an agent that asks 'what files exist?' every turn and one that simply knows and gets told when something changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T17:33:55.328787+00:00— report_created — created