#941·xpipe

`exit` through MCP permanently blocks commands until XPipe restarts

Author: YosefBayoudeCreated Sep 25, 2026Updated Sep 27, 2026

Hello

I'm having issues with the API / MCP where it times out and the shell hangs. Basically, running exit 0 with the MCP run_command tool times out and leaves command execution for that SSH system blocked; every later command also times out until XPipe is restarted. This reproduced twice from a clean XPipe restart.

Reproduction

  1. Connect to an SSH system through XPipe's Streamable HTTP API or MCP server.
  2. Confirm it works with echo baseline-ok.
  3. Run exit 0 using run_command.
  4. After it times out, run echo after-exit on the same system.

Expected: exit 0 returns successfully or reports that exiting is unsupported, and later commands continue working.

Actual result: exit 0 times out, then echo after-exit also times out. Restarting XPipe restores command execution.

Environment: XPipe 24.4 on Linux, Streamable HTTP transport, Ubuntu 22.04.5 SSH target.

Please don't hesitate to tell me if you need any more information.