MCP TypeScript: how do I recover a session after 404?
Summary Close the transport and reconnect: that is the recovery reported when @modelcontextprotocol/client 2.0.0 keeps sending a stale session ID and gets 404 after a server restart ([#3056](https://github.com/modelcontextprotocol/typescript-sdk/issues/3056), open). Catching the 404 and replaying the call once is an untested proposal; the 2.4.0 notes (October 23) announce no fix. Checked 2026-11-24.