akb-mcp v2.1.0 — survive backend/VPN outages without a session restart
·
214 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Resilience release for the akb-mcp stdio proxy. A long VPN/backend outage used to drop the AKB server from a client's tool namespace for the rest of the session (mcp__akb__* gone until restart).
Fix — decouple client-visible liveness from backend reachability:
initializeis answered locally, so the server always registers even with the backend down.tools/listdegrades to the local file tools when unreachable (instead of erroring); the backend list is cached and served thereafter.- A background reconnect monitor (exponential backoff 1s→30s) restores the session and pushes
notifications/tools/list_changedon recovery — the full toolset reappears without a session restart. - Tool calls never kill the proxy; a connection error retries then surfaces a normal JSON-RPC error.
- Short connect-phase timeout (
AKB_MCP_CONNECT_TIMEOUT_MS, default 10s) for blackhole detection, separate from the 5-min response timeout.
No change to tool behavior, auth, or the file-transfer path. Backward compatible.
npm: https://www.npmjs.com/package/akb-mcp/v/2.1.0
Merged in #329.