The MCP server for AI agents¶
RimuEmulator includes an MCP (Model Context Protocol) server. An AI agent with an MCP client, such as Claude Code or Claude Desktop, can use it to read and change the emulated radio.
The MCP server is part of every RimuEmulator package. It is the command
rimuemulator mcp. You do not install anything more.
What the MCP server gives an agent¶
- Every method of the control API, as a tool. For example, the method
slices.listis the toolslices_list. The agent can do what the web UI does: read the state of the radio, change the persona, add noise, start a fault, and more. - Tools that always agree with your version. The MCP server reads its list of tools from the RimuEmulator that runs.
- A radio that is always on the bench. An agent can develop and test client software against the emulated radio, with no risk to a real radio.
The agent's MCP client starts the MCP server, and talks to it on standard input and output. The MCP server then calls a RimuEmulator that runs, over HTTP.
Before you start¶
The control API has no password
An agent that uses the MCP server can change the emulated radio. Give an agent only a RimuEmulator that you let it change.
You need:
- RimuEmulator, installed and running, with its web server on. Do not start it
with
--no-web. - An AI agent with an MCP client.
Connect an agent¶
- Start RimuEmulator.
-
Add the MCP server to the configuration of your MCP client. Most MCP clients use a file such as this one:
{ "mcpServers": { "rimuemulator": { "command": "rimuemulator", "args": ["mcp", "--url", "http://127.0.0.1:5000"] } } }For Claude Code, type this command:
-
If
rimuemulatoris not on the path, use its full path incommand:Package Command Windows C:\Program Files\Rimu Emulator\rimuemulator.exeDebian and Ubuntu /usr/bin/rimuemulatorAppImage the full path of the AppImage file .tar.gz the full path of rimuemulatorin the folder that you extracted -
If RimuEmulator runs on a different computer or port, change the URL after
--url. - Restart the MCP client, or reload its servers.
- Ask the agent to call the tool
status_get. The agent shows the model and the version of the emulated radio.
Options¶
| Option | What it does |
|---|---|
--url <url> |
The address of the web UI and the control API. The default is http://127.0.0.1:5000. |
--help |
Show the options. |
Good to know¶
- If RimuEmulator does not run, the MCP server starts. Each tool call fails with a message that gives the URL. The tools work when RimuEmulator starts.
- Protocol versions: MCP 2026-07-28, and 2025-11-25, 2025-06-18, 2025-03-26 and 2024-11-05.
- Tools only: the MCP server does not give the events of the control API
(
GET /events). - The reference for each tool is the Control API reference on the Documentation page of the web UI.