b366df04827d67fa09d6880d3d8b884b31df0c90
Replace the bare sleep(delay).await in the Restart backoff arm with a tokio::select! over the timer and cmd_rx. Stop/Shutdown are now handled immediately during backoff (Stop → Stopped, Shutdown → clean exit); Start/Restart/Reconfigure skip the remaining delay and retry at once. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
xy — HTTP MCP server supervisor
Daemon + CLI that launches and supervises HTTP-based MCP servers.
Build
cargo build --release
Run
target/release/xy daemon # foreground
Drop a server definition into $XDG_CONFIG_HOME/xy/servers/<name>.kdl
(see examples/insikt.kdl) and xy reload.
Commands:
xy list
xy status <name>
xy start <name|--all>
xy stop <name|--all>
xy restart <name|--all>
xy reload
xy logs <name> [--tail N] [--follow]
Exit codes: 0 success, 1 operational error, 2 daemon unreachable, 3 config invalid.
Description
Languages
Rust
100%