Skip to content

Command-line options

Start RimuEmulator with rimuemulator serve and these options. To list the options, enter rimuemulator --help.

Option What it does
--persona <file> The persona to run. A restart into another persona writes that persona over this file.
--tcp-port <n> The command port. The default is 4992.
--http-port <n> The port of the web UI and the control API. The default is 5000.
--bind <address> The address to listen on. The default is 0.0.0.0, every interface. Use 127.0.0.1 to accept connections only from this computer.
--profiles-dir <dir> The folder for profiles. The default is ./profiles.
--log-file <file> Append a log to this file.
--no-discovery Do not announce RimuEmulator on the local network. Clients must connect by IP address.
--no-web No HTTP: no web UI and no control API.
--no-web-ui Serve the control API, but not the pages of the web UI.
--no-amp-control Do not connect back to an amplifier that registers.
--no-update-check Do not make the daily version check. See The version check and the usage report.
--no-usage-report Do not send the usage report. See The version check and the usage report.
--exit-on-stdin-eof Stop when standard input closes. Use it when a test harness starts RimuEmulator.

The desktop app gives its options to RimuEmulator. For example:

rimuemulator-desktop --bind 127.0.0.1 --no-discovery

Use RimuEmulator in scripts and CI

Start RimuEmulator on the local computer only, with one persona:

rimuemulator serve --persona radio_config.json --no-discovery --bind 127.0.0.1

Wait for the line that starts with READY before you connect a client.

The control API

The control API lets a script or a test do what the web UI does. It is JSON-RPC 2.0 over HTTP, on the port of the web UI. It has no authentication.

For example, to read the state of RimuEmulator:

curl -s -X POST http://localhost:5000/rpc \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","method":"status.get","params":{},"id":1}'

The Documentation page of the web UI has the full reference. The reference comes from the RimuEmulator that serves the page, so it always agrees with your version.

The MCP server

rimuemulator mcp is an MCP server. It gives an AI agent every method of the control API as a tool. See The MCP server for AI agents.