Manu Lorente
Manu Lorente
## Same root cause, additional surface: \`.mcp.json\` mcp-search server Empirical follow-up 2026-05-21 — the user hit this error again in a fresh session minutes ago: \`\`\` /mcp Failed to reconnect...
## A deterministic trigger for this: `GET /status` poisons `/object/item/{id}` for ~0.5s We hit this from a Go client against **CLI 2026.5.0** and spent a while chasing it as "intermittent"...
Confirming repro on Linux (Ubuntu 24.04, Claude Code 2.1.137, claude-mem 13.0.0). Same `Missing environment variables: _R%/` at session start. Also reproduces on **v12.7.4** — the offending `${_R%/}` was introduced there...
Confirming this reproduces downstream, and sharing the guard we're using. **hive** is an MCP stdio server. A tool that offloads sync work (git) to a worker thread can call `message.respond()`...
Following up on my June comment — we still carry this guard in production in hive (an MCP stdio server). Ours patches `respond()` only, self-gated to the exact state (`_completed`...
Hey @SolvoFounder, the 40-80% number in the description is from a real stdio host (Claude Code on Linux, Python 3.12, `mcp` 1.21.x). It's a race, not a deterministic path... but...