mxr daemon
Generated from
mxr daemon --help. Edit the clap definitions incrates/daemon/src/cli/and re-runnpm run buildinsite/to regenerate.
Start the daemon explicitly
mxr daemon [OPTIONS] [COMMAND]Subcommands
Section titled “Subcommands”| Subcommand | Purpose |
|---|---|
dial-stdio |
Pipe raw bytes between stdin/stdout and the local daemon’s Unix socket (the Docker connhelper model). Lets any transport that can exec a process and pipe stdio reach the daemon — for example ssh -T host mxr daemon dial-stdio or docker exec -i <container> mxr daemon dial-stdio. The caller still needs local Unix-socket access on the daemon’s machine, so this adds no new trust surface |
help |
Print this message or the help of the given subcommand(s) |
Options
Section titled “Options”| Flag | Description |
|---|---|
--foreground |
Run in foreground (for debugging / systemd) |
--stdio |
Serve exactly one connection over stdin/stdout (LSP/inetd model) and exit when it closes. For agent embedding and socket-activation-style supervision. Frames own stdout; logs go to file only. Cannot run alongside a socket daemon |
--no-bridge |
Disable the HTTP bridge for this daemon run, regardless of config |
--bridge-port <BRIDGE_PORT> |
Override the bridge port. Useful for tests and ephemeral bridges |
-h, --help |
Print help |
Use When
Section titled “Use When”Start the daemon explicitly for debugging or process managers.
Everyday Examples
Section titled “Everyday Examples”mxr daemon --foregroundmxr daemon --no-bridgeSub-subcommands
Section titled “Sub-subcommands”mxr daemon dial stdio
Section titled “mxr daemon dial stdio”Pipe raw bytes between stdin/stdout and the local daemon’s Unix socket (the Docker connhelper model). Lets any transport that can exec a process and pipe stdio reach the daemon — for example ssh -T host mxr daemon dial-stdio or docker exec -i <container> mxr daemon dial-stdio. The caller still needs local Unix-socket access on the daemon’s machine, so this adds no new trust surface.
Same-machine assumptions degrade over remote links: the $EDITOR compose flow, attachment paths, and daemon autostart all target the daemon’s host, not your terminal. Intended for scripting and agent use.
mxr daemon dial-stdioOptions
Section titled “Options”| Flag | Description |
|---|---|
-h, --help |
Print help (see a summary with ‘-h’) |
See 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