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. Defaults to a fixed local URL port. 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 |
--auto-port | Try the next available port if --port is in use |
--strict-port | Fail immediately if --port is in use. This is the default; kept as an explicit compatibility flag |
--remote-host <HOST> | Open the browser pointed at a manually configured remote bridge. Prefer SSH/Tailscale tunnels unless you’ve set up TLS, CORS, and Host allowlists. 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 --print-urlmxr web --auto-port --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