Skip to content

mxr serve

Generated from mxr serve --help. After editing crates/daemon/src/cli/, update and review the snapshots with scripts/cargo-test -p mxr --test integration cli_help::, then rebuild site/.

Manage local pairing authority or run the loopback gateway in foreground

mxr serve [OPTIONS] [COMMAND]
Subcommand Purpose
status Inspect local pairing authority and any recorded hosting setup
setup Preview installation of an owned private HTTPS user service; –confirm applies it
start Preview resuming recorded hosting and local daemon recovery
stop Preview stopping remote hosting; –all also stops the local provider owner
pair Inspect or approve local pairing requests
clients List registered clients, or preview/revoke one
help Print this message or the help of the given subcommand(s)
Flag Description
--foreground Run the gateway beside the explicit local daemon
--public-origin <PUBLIC_ORIGIN> Exact HTTPS origin served by the private proxy; enables browser sessions
--listen <LISTEN> [default: 127.0.0.1:18741]
--dry-run
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview and manage the local private HTTPS host, its owned user service, pairing approvals and registered clients. Host commands use the explicit local profile. Setup, start, stop, approval and revocation preview before –confirm; compare the full pairing challenge and requested grants before approving.

Terminal window
mxr serve --foreground --listen 127.0.0.1:18741 --dry-run
mxr serve --foreground --listen 127.0.0.1:18741 --public-origin https://mail-host.example-tailnet.ts.net:8443
mxr serve setup --public-origin https://mail-host.example-tailnet.ts.net:8443 --dry-run
mxr serve setup --public-origin https://mail-host.example-tailnet.ts.net:8443 --confirm
mxr serve start --dry-run
mxr serve start --confirm
mxr serve stop --dry-run
mxr serve stop --confirm
mxr serve stop --all --dry-run
mxr serve status
mxr serve pair list
mxr serve pair approve REQUEST_ID --dry-run
mxr serve pair approve REQUEST_ID --confirm
mxr serve clients
mxr serve clients revoke CLIENT_ID --dry-run
mxr serve clients revoke CLIENT_ID --confirm

List registered clients, or preview/revoke one

mxr serve clients [OPTIONS] [COMMAND]
Subcommand Purpose
revoke Preview by default; –confirm revokes credentials without cancelling mail work
help Print this message or the help of the given subcommand(s)
Flag Description
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview by default; –confirm revokes credentials without cancelling mail work

mxr serve clients revoke [OPTIONS] <CLIENT_ID>
Flag Description
<CLIENT_ID>
Flag Description
--dry-run
--confirm
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Inspect or approve local pairing requests

mxr serve pair [OPTIONS] <COMMAND>
Subcommand Purpose
approve Preview by default; compare the challenge before –confirm
help Print this message or the help of the given subcommand(s)
Flag Description
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview by default; compare the challenge before –confirm

mxr serve pair approve [OPTIONS] <REQUEST_ID>
Flag Description
<REQUEST_ID>
Flag Description
--dry-run
--confirm
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help
mxr serve pair list [OPTIONS]
Flag Description
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview installation of an owned private HTTPS user service; –confirm applies it

mxr serve setup [OPTIONS] --public-origin <PUBLIC_ORIGIN>
Flag Description
--public-origin <PUBLIC_ORIGIN>
--listen <LISTEN> [default: 127.0.0.1:18741]
--dry-run
--confirm
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview resuming recorded hosting and local daemon recovery

mxr serve start [OPTIONS]
Flag Description
--dry-run
--confirm
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Inspect local pairing authority and any recorded hosting setup

mxr serve status [OPTIONS]
Flag Description
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help

Preview stopping remote hosting; –all also stops the local provider owner

mxr serve stop [OPTIONS]
Flag Description
--all
--dry-run
--confirm
--format <FORMAT> Structured output (json or jsonl) [possible values: table, json, jsonl, csv, ids]
-h, --help Print help