mxr web
Generated from
mxr web --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/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]Subcommands
Section titled “Subcommands”| Subcommand | Purpose |
|---|---|
stop | Stop the detached local web bridge started by mxr web |
help | Print this message or the help of the given subcommand(s) |
Options
Section titled “Options”| Flag | Description |
|---|---|
--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-url | Print the launch URL instead of opening the browser |
--no-open | Do not open the system browser; just print the URL |
--strict-port | Fail 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 |
--foreground | Run the bridge in the foreground instead of detaching it |
-h, --help | Print help |
Use When
Section titled “Use When”Run the HTTP bridge directly for local app/API work.
Everyday Examples
Section titled “Everyday Examples”mxr web --port 7777 --print-urlSee also
Section titled “See also”- CLI overview — full command index
- Concepts — query operators, search modes, JSON shapes
- Automation contract — which commands support
--format json,--dry-run, stdin