Skip to content

mxr serve

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

Manage local pairing authority or run the loopback gateway in foreground

mxr serve [OPTIONS] [COMMAND]
Subcommand Purpose
status Inspect local pairing authority; supervised gateway setup is not available
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 native gateway beside the explicit local daemon
--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

Inspect local pairing authority or run the foreground loopback gateway behind private HTTPS. Commands use the explicit local socket and ignore saved remote selection and MXR_DAEMON_ADDR. Approval and revocation preview by default; compare the pairing challenge before confirming.

Terminal window
mxr serve --foreground --listen 127.0.0.1:18741 --dry-run
mxr serve --foreground --listen 127.0.0.1:18741
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

Inspect local pairing authority; supervised gateway setup is not available

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