From c78060d687f6cf066cdabb8aeb4ac50c0fd54e2c Mon Sep 17 00:00:00 2001 From: Drewry Pope Date: Sat, 21 Nov 2026 20:26:12 -0600 Subject: [PATCH] docs(mcpx): show fleet laptop SSH invocation Signed-off-by: Drewry Pope --- pkgs/mcpx/docs/remote.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/pkgs/mcpx/docs/remote.md b/pkgs/mcpx/docs/remote.md index ce43146dfe..feedea29a6 100644 --- a/pkgs/mcpx/docs/remote.md +++ b/pkgs/mcpx/docs/remote.md @@ -15,6 +15,28 @@ mcpx ls mcpx tui ``` +### Fleet laptop to the VM + +From the fleet NixOS laptop, set the endpoint for just one command: + +```sh +MCPX_DAEMON_ENDPOINT=ssh://user@100.99.113.103 mcpx ls +``` + +This discovers the VM's MCP servers through its existing mcpx daemon. To make +a real MCP call, use the same endpoint with `mcpx exec`, for example: + +```sh +MCPX_DAEMON_ENDPOINT=ssh://user@100.99.113.103 \ + mcpx exec 'console.log(await tools.codedb.status({}))' +``` + +The laptop must already have `mcpx` installed and an SSH identity authorized +for the VM's `user` account; no mcpx token, new credential, port opening or +daemon reconfiguration is involved. `ssh -T -o BatchMode=yes +user@100.99.113.103 mcpx stdio-proxy --help` is a useful transport preflight. +The daemon stays on its Unix socket, and SSH provides the access boundary. + The client runs your own `ssh` binary (`ssh -T -o BatchMode=yes buildbox mcpx stdio-proxy`) and speaks the daemon's HTTP API through it. Your ssh agent, `ssh_config`, `known_hosts`, jump hosts and `Match` rules are the