docs: README and example KDL config

This commit is contained in:
2026-05-25 12:19:34 +02:00
parent 9d5d8f04a2
commit 0261d58d5d
2 changed files with 41 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# 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.
+15
View File
@@ -0,0 +1,15 @@
command "/Users/you/.cargo/bin/insikt-mcp"
args "--http" "--port" "8421"
port 8421
env {
RUST_LOG "info"
}
restart {
policy "on-failure"
}
stop {
grace "10s"
}