
rodecaster-mcp
io.github.scottdsauer/rodecaster-mcp
Unofficial: read and control RØDECaster Duo / Pro II consoles over USB, writes dry-run by default.
Documentation
rodecaster-mcp
Unofficial — not affiliated with or endorsed by RØDE Microphones. "RØDE" and "RØDECaster" are trademarks of their respective owner and are used here only to describe compatibility. This project talks to the console over a reverse-engineered USB protocol; use it at your own risk.
An open-source Model Context Protocol server that lets an AI assistant read, and with your approval control, a RØDECaster podcast console over USB. It is developed and tested on the RØDECaster Duo; RØDECaster Pro II support is in progress. Today it reads the full console state; writes are limited to channel mutes and processing toggles, all dry-run until each is approved at the desk. Levels, routing, SMART pads and recorder control are planned. It talks to the console's vendor HID interface locally, with no cloud involved, and is built around hard safety guardrails (write allowlist, dry-run, read-only mode, and a mode-byte encoder that can never put the device into firmware-update mode).
Status: pre-alpha. The MCP server reads the console's state, and every write is dry-run by default: it shows the exact frame it would send and sends nothing. With dry-run off, the first real write of each property on each console model and firmware needs its owner's approval (CLAUDE.md, rule 8). On 2026-11-28 the first approved writes were sent to a Duo on firmware 1.7.7 and verified: Mic 1 mute/unmute and HPF off/on (issue #14). Those two properties are now verified there; everything else still asks. See PLAN.md for the roadmap and STATUS.md for progress.
Why it exists and where it's going: see MISSION.md.
See it in action
One sentence to an AI assistant ("run a health check on my RØDECaster Duo") became a full console review: 26 read calls, 0 writes, six findings. The prompts and every tool call are in the example, so you can run it yourself.
More in docs/examples.
Setup
Requirements: macOS (Linux should work), uv, and the console connected by its main USB-C port. Quit the RØDECaster App first. macOS lets both programs open the console, but they cannot share it: while this server is connected, the app's changes do not reach the console and the app can hang at "Synchronizing device" (desk check H15). The server checks for the app before it opens the console and before every write. If the app is running, it releases the console and asks you to quit the app (#32).
From PyPI (no clone needed): uvx fetches and runs the released package.
claude mcp add rodecaster -- uvx rodecaster-mcp
For Claude Desktop, use "command": "uvx", "args": ["rodecaster-mcp"] in the
config below. Pin a version with uvx rodecaster-mcp@0.2.0.
From source (to run the latest main, or to develop):
git clone https://github.com/scottdsauer/rodecaster-mcp ~/Projects/rodecaster-mcp
cd ~/Projects/rodecaster-mcp && uv sync
Claude Code:
claude mcp add rodecaster -- uv run --directory ~/Projects/rodecaster-mcp rodecaster-mcp
Add -e RCD_READ_ONLY=1 (before --) for a server that cannot write at all.
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"rodecaster": {
"command": "uv",
"args": ["run", "--directory", "/Users/YOU/Projects/rodecaster-mcp", "rodecaster-mcp"],
"env": { "RCD_DRY_RUN": "1" }
}
}
}
MCP Inspector: npx @modelcontextprotocol/inspector uv run rodecaster-mcp
The server opens the console lazily, on the first tool or resource call that
needs it, and keeps that one connection until it exits or you call
release_device (do that before opening the RØDECaster App; the next call
reconnects). Starting it with no console attached is fine: get_status
reports why it is not connected, and the next call retries.
| Flag | Default | Effect |
|---|---|---|
RCD_DRY_RUN | 1 | Encode and report writes; send nothing |
RCD_READ_ONLY | 0 | 1 registers no mutating tools at all |
RCD_WRITE_TIER | 1 | Highest allowlist tier the write gate accepts (1-3). Tier 1 = strip mute, HPF on/off |
An empty value (RCD_DRY_RUN=) counts as unset, so it keeps the default:
dry-run stays on, read-only stays off.
Reference
Names you can trust, and names you can't
Channels are named Channel 1 … Channel N by strip position in the
console's own state tree. That is a fact read from the device. Which input a
strip carries (Mic 1, USB, Bluetooth) and what each mix bus feeds (Headphone 1,
USB 1) are prior-art labels that are not yet hardware-verified, so they are
only returned as source_hint / bus_hint next to mapping_verified: false,
and tools do not accept them as channel names.
Tools
| Tool | Kind | What it does |
|---|---|---|
server_info | read | Version and safety flags |
get_status | read | Connection, model, firmware (and whether it is a tested version), tree freshness, layout, raw recorder state |
list_channels | read | Every strip: muted, cue, input source (+ unverified hint), processing toggles, master flag |
list_pads | read | Every configured SMART pad: slot (from padIdx, unverified), type hint, name, colour, file, envelope. Loading sounds is not supported yet (#85) |
get_routing | read | The mix matrix: per source, muted / disabled / linked in each bus (13 per source on the Duo and Pro II, read from the device). Optional channel or source filter |
list_properties | read | Raw: one node's properties (secrets redacted) with allowlist / denylist status, and its child runs. path: [] is the root |
get_property | read | Raw: one property at a path (redacted) |
resync | read | Ask for a fresh full sync (session-open only). Clears a stale tree |
run_checkup | read | Audit the settings against a short profile of your show: findings (blocker, warning, tip) with evidence, RØDE's reasoning and citation, and a fix whose status says whether the server would send it, dry-run it, need the owner's approval, or can't do it. Plus RØDE advice it can't check from settings. Never changes anything |
release_device | connection | Close the connection so the RØDECaster App / RØDE Central (or another Claude session) can use the console. Changes no console state |
mute_channel / unmute_channel | write | Mute or unmute a strip by name. Verification expects the source row's mix-cell side effects |
set_processing | write | Turn hpf, noise_gate, compressor, deesser, aphex, eq or bypass_processing on or off. HPF is tier 1; the rest need RCD_WRITE_TIER=2 |
set_property | write | Raw: write one allowlisted property at a path. Mutes are refused here (use mute_channel) |
Every write returns dry_run, sent, noop, before / after (in
muted / enabled terms for task tools), frame_hex (the encoded change),
the declared side effects, and whether the property is hardware-verified.
Writes go through one path: the write gate (path must exist in the device's
tree, property must already exist on the node, allowlisted at the enabled tier,
never denylisted, never a fader, correct type and range), then dry-run, then
the hardware-verified approval check, then send, then resync-and-diff
verification. Refusals carry a code: unknown_channel, unknown_path,
not_on_node, not_allowlisted, denylisted, fader, tier,
type_mismatch, invalid_value, stale_tree, not_hardware_verified,
use_task_tool, and stale_generation (the tree kept changing while a write
was being resolved; it is retried twice before this is returned). Nothing is sent
in any of these cases.
If something goes wrong after the frame is sent, the error says so: write SENT but not verified, with verification_failed (the resync diff didn't match)
or verify_unavailable (the verification resync itself failed). The console has
probably changed, so check its state before retrying (#47).
Resources
| URI | Content |
|---|---|
rodecaster://state | The full state tree as JSON, with secrets redacted |
rodecaster://channels/{name} | One strip as JSON. Readable as channel-1 or 1; subscribe to the canonical channel-N form |
rodecaster://best-practices/{model} | RØDE's user-guide recommendations for duo or pro2, each with a citation. Static: never opens the console |
rodecaster://protocol | The discovered layout (strip / mix bases, counts, every root run), source and bus hints, and the allowlist |
The state, channel and protocol resources publish notifications/resources/updated over subscriptions/listen
(MCP 2026-07-28) when the console reports a change, once the device is open.
Clients on older protocol versions are not offered resources/subscribe
(the capability is advertised as false for them); they can re-read instead.
Redaction covers Wi-Fi SSIDs and passwords, IP addressing, serial numbers,
Bluetooth addresses, usernames, account codes, show UUIDs and SIP details.
Prompts
console-checkup(show_type,channels, both optional): asks about your show if you didn't say, runsrun_checkup, presents the findings by severity with RØDE's reasoning and a citation, then offers each fix one at a time and applies it only after you say yes to that fix.podcast-preflight(guests, optional): checks connection, runs the checkup for the session, then routing and recorder state, and proposes (but does not make) changes.troubleshoot-audio(symptom): walks the read tools to find why audio is missing.
Not yet
set_routing, set_channel_level, trigger_pad, loading pad sounds (#85)
and recorder are deferred until the console mappings they depend on are
verified on hardware; STATUS.md says why for each.
Development
uv sync
uv run pytest
uv run ruff check && uv run ruff format --check
uv run mypy src
Tests never touch hardware: they run the server through the MCP SDK's
in-memory client against a simulated console built from the sanitized
fixtures in fixtures/.
Credits / prior art
The protocol was reverse-engineered by others, not by this project. This server is a fresh Python implementation built on their published work, all under the MIT License. Several modules port the behaviour of these projects, and one test fixture is their data. See THIRD_PARTY_NOTICES.md for exactly what came from where, with each project's copyright notice.
- Yeradon/rodecaster-protocol:
the reference JUCE
ValueTreeSynchronisercodec and USB framing for the Pro II and Duo. Our codec, framing and layout discovery are ports of its behaviour, and its Duo capture is one of our test fixtures. - seanheiney/rodey: Python library, CLI and the original RØDECaster MCP server (Pro II), with the best protocol write-up.
- gcdkgrnvle/companion-module-rode-rodecaster2: Bitfocus Companion module (Pro II and Duo) with runtime layout discovery.
- x1h0/rcp2-cli: Rust CLI/TUI; product-ID tables for both consoles.
- RitzOli/companion-module-rode-rodecaster-pro2: Companion module (Pro II); interface-selection and firmware-version details.
- ernestoacostame/CasterManager: Linux desktop manager built on rcp2-cli.
How this differs from other RØDECaster projects
Short version: the protocol work is other people's. The Duo hardware verification, the safety design, the approval flow, the health-check framework and its RØDE knowledge base are ours. If you only need to control a console from a script today, the projects above already do that. This one is for letting an AI assistant do it safely.
At a glance
- All Python, end to end. The codec, USB framing, transport, safety gate,
MCP server and checkup engine are one typed Python package (mypy strict, ruff)
with four runtime dependencies (
mcp,hidapi,pydantic,pyyaml). It installs withuvx rodecaster-mcp, with no Rust toolchain or Node runtime. The reference implementations are Rust (Yeradon, rcp2-cli) and JavaScript (the Companion modules). rodey is Python too. - Health-check framework with RØDE's guidance built in.
run_checkupaudits the console's live settings against a short profile of your show and returns findings, each with a severity, the evidence, and a fix you can approve. It never changes anything on its own: fixes go through the normal write tools, one yes at a time. It ships with a knowledge base of 58 best practices drawn from RØDE's user guides, paraphrased and cited by guide, page and heading (docs/research/RODE-MANUAL-BEST-PRACTICES.md). It covers gain staging, processing, routing, recording and firmware, and 19 entries are wired to checkup rules. The assistant can read it atrodecaster://best-practices/duoand.../pro2. You can see a real run in docs/examples/duo-health-check. - A multi-agent code review of the whole codebase, with every finding fixed.
Before release, about 10 reviewer agents each went over all of
src/from a different angle: line by line, cross-file call tracing, efficiency, design level, and the project's safety rules. A verification pass then confirmed and de-duplicated what they found. That gave 18 findings, 15 confirmed with a reproduction, among them a mute that was sent but reported as refused, writes that failed verification during recording, and an approval path that skipped its checks. All 18 are fixed and closed (#32, #33, #45–#57, #63–#66), and the test suite has grown to 884 tests. The full record is in docs/reviews/2026-11-28-deep-code-review.md.
What is not ours
- The protocol. Several projects decoded it before us (above). Our codec, USB framing and layout discovery port the behaviour of Yeradon's Rust library; they were written independently in Python, but the knowledge is Yeradon's.
- The Duo 1.7.4 test fixture is Yeradon's capture, unmodified.
- The first RØDECaster MCP server is rodey. It exposes raw get/set/list/watch tools, and its writes read the value back.
What we added
| rodey (MCP, Pro II) | This server | |
|---|---|---|
| Consoles verified on hardware | Pro II fw 1.7.3 | Duo fw 1.7.7 (desk checks H1–H20, docs/DUO-PROTOCOL.md); Pro II in progress |
| Firmware-mode report (report 1) | Sends N (0x4E) as part of its handshake and refuses every other report-1 byte | Never sent at all. On the Duo, session-open alone gives a full sync (H1), so an outbound guard refuses every report-1 write, 0x4E included |
| Bool encoding | 02/03 swapped, which is why its mute looks "inverted" | JUCE-correct (02 = true); polarity confirmed on hardware (H3) |
| What the AI can write | Any object ID and property; its encoder refuses destructive ones (reset, SD erase, flash, show delete) | Only an allowlist of paths that exist in the console's own state dump, plus a permanent denylist (those, plus firmware-download/update triggers and systemChannelSelected) and write tiers (tier 1 by default) |
| Dry-run | None found in its MCP server | On by default: returns the exact frame and sends nothing |
| Checking a write | Reads the one property before and after (a fresh dump each time) | Full resync and diff of the whole tree: success only if only the target and its declared side effects changed (for a mute, exactly its linked mix cells, #33). An unexpected change anywhere else fails the write |
| First writes | Not gated | Per model and firmware: a property verified on Duo 1.7.7 is not trusted on 1.7.4 or a Pro II. Each first write needs the console owner's approval |
| How the owner approves | n/a | In the chat client, through MCP elicitation (#38): a form shows the target, the old and new value, why it needs approval and the exact bytes, plus a fresh 4-digit code to type back. The approval is single-use, bound to that exact write and expires in 2 minutes. It works with the MCP 2026-07-28 protocol, where a server can't ask mid-call; we found that out in Claude Code. And because Claude Code's form doesn't show the message, the code goes in the field itself (#41) |
| Connection | Opens the console per tool call, so each read re-dumps the whole state (its README: about 1 s per read) | One long-lived session with a reader that never stops (the console's controls freeze if nothing drains its notifications), reconnect once after a USB error on reads, never on writes (#39) |
| Sharing with the RØDECaster App | Says the app can coexist | Found that on macOS both open but can't share: the app hangs (H15). We tell you to quit it (#32: detect it) |
| Secrets | Documents that the dump holds wifiPSK and SIP passwords in clear; get_property returns them | Redacted from MCP output; fixtures are sanitized structures only, with a test that scans them for the capture's private values |
| Tools | Raw get_property / set_property by object ID | Task-level tools (mute_channel("Channel 1"), set_processing), plus a guarded raw escape hatch |
If you know of another project that already does one of these, please open an issue: we'd rather be corrected than claim it.
Performance (measured, 2026-11-28)
We haven't benchmarked against rodey on hardware yet, so we don't claim to be faster. What we have measured:
- The server adds about 1 ms per tool call (in-process, simulated console,
200 calls each, median:
get_status0.6 ms,list_channels1.0 ms,mute_channeldry-run 0.9 ms). - Decoding a full Duo state dump takes about 17 ms in Python (143 KB, 847 nodes, 6,663 properties).
- rodey's README puts a read at about 1 s, because it opens the console and re-dumps the full state for every call. We keep one session open and answer reads from the live tree, so a read doesn't touch USB at all. We expect that to be our biggest speed difference, but we haven't timed it side by side on hardware yet.
- The time you actually wait is the AI model's own thinking (seconds) and the USB transfer of a full sync (584 reports) after each real write. Neither depends on the server's language, so rewriting it in Rust would save milliseconds out of seconds.
- The bigger win is to avoid the full resync after writes that are already verified, and check the console's echo notification instead (desk check H10). That's tracked as future work.
License
MIT © 2026 Scott Sauer
rodecaster-mcppip install rodecaster-mcp