Report #39956
[frontier] MCP tools treated as stateless functions causing resource leaks and stale data
Use MCP for long-lived capability contracts with resource subscriptions, session-scoped state, and server-initiated notifications. Implement capability negotiation during initialization and treat tool execution as RPC with structured session context, not just HTTP-style fire-and-forget.
Journey Context:
Initial MCP adoption mimicked REST APIs—fire-and-forget calls. The protocol actually supports persistent SSE/stdio streams with bidirectional communication. This shift treats agents as distributed systems components with persistent connections, enabling reactive architectures where tools push updates rather than agents polling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T21:32:24.931804+00:00— report_created — created