Skip to content

mxr web

Generated from mxr web --help. Edit the clap definitions in crates/daemon/src/cli/ and re-run npm run build in site/ to regenerate.

Start or reopen the local HTTP/WebSocket bridge and open the web app in the default browser. Runs detached by default; use mxr web stop to stop the detached bridge

mxr web [OPTIONS] [COMMAND]
SubcommandPurpose
stopStop the detached local web bridge started by mxr web
helpPrint this message or the help of the given subcommand(s)
FlagDescription
--host <HOST>Bind address for the bridge. Defaults to loopback [default: 127.0.0.1]
--port <PORT>Bridge port. On EADDRINUSE the bridge walks up to the next available port unless --strict-port is set. 0 picks an ephemeral port (useful for tests) [default: 42829]
--print-urlPrint the launch URL instead of opening the browser
--no-openDo not open the system browser; just print the URL
--strict-portFail immediately if --port is in use instead of trying the next available port. Off by default — port conflicts retry
--remote-host <HOST>Open the browser pointed at a remote daemon instead of binding locally. Use when the daemon runs on a VPS or remote host with TLS terminated. Format: host[:port], e.g. mxr.example.com or mxr.example.com:443. Reads the per-host token from ~/.config/mxr/bridge-tokens/<host>.token
--foregroundRun the bridge in the foreground instead of detaching it
-h, --helpPrint help

Run the HTTP bridge directly for local app/API work.

Terminal window
mxr web --port 7777 --print-url