Report #57773
[gotcha] Concurrent agent sessions interfering via shared state on the MCP server
Isolate state per session; use unique session IDs passed in tool arguments or headers; avoid global mutable state on the server.
Journey Context:
An MCP server is running locally and serving multiple agent instances \(e.g., multiple Claude Desktop windows\). If the server stores state \(like 'current working directory' or 'auth token'\) in a global variable, Session A can overwrite Session B's state, leading to cross-session data leaks or actions performed in the wrong context.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:27:43.895251+00:00— report_created — created