Repository avatar
Other Tools
v0.2.0
active

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.

RØDECaster Duo Health Check summary: 26 read calls, 0 writes, nine channel strips with fader positions

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.

FlagDefaultEffect
RCD_DRY_RUN1Encode and report writes; send nothing
RCD_READ_ONLY01 registers no mutating tools at all
RCD_WRITE_TIER1Highest 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

ToolKindWhat it does
server_inforeadVersion and safety flags
get_statusreadConnection, model, firmware (and whether it is a tested version), tree freshness, layout, raw recorder state
list_channelsreadEvery strip: muted, cue, input source (+ unverified hint), processing toggles, master flag
list_padsreadEvery configured SMART pad: slot (from padIdx, unverified), type hint, name, colour, file, envelope. Loading sounds is not supported yet (#85)
get_routingreadThe 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_propertiesreadRaw: one node's properties (secrets redacted) with allowlist / denylist status, and its child runs. path: [] is the root
get_propertyreadRaw: one property at a path (redacted)
resyncreadAsk for a fresh full sync (session-open only). Clears a stale tree
run_checkupreadAudit 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_deviceconnectionClose 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_channelwriteMute or unmute a strip by name. Verification expects the source row's mix-cell side effects
set_processingwriteTurn 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_propertywriteRaw: 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

URIContent
rodecaster://stateThe 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://protocolThe 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, runs run_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.

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 with uvx 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_checkup audits 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 at rodecaster://best-practices/duo and .../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 hardwarePro II fw 1.7.3Duo 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 byteNever 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 encoding02/03 swapped, which is why its mute looks "inverted"JUCE-correct (02 = true); polarity confirmed on hardware (H3)
What the AI can writeAny 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-runNone found in its MCP serverOn by default: returns the exact frame and sends nothing
Checking a writeReads 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 writesNot gatedPer 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 approvesn/aIn 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)
ConnectionOpens 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 AppSays the app can coexistFound that on macOS both open but can't share: the app hangs (H15). We tell you to quit it (#32: detect it)
SecretsDocuments that the dump holds wifiPSK and SIP passwords in clear; get_property returns themRedacted from MCP output; fixtures are sanitized structures only, with a test that scans them for the capture's private values
ToolsRaw get_property / set_property by object IDTask-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_status 0.6 ms, list_channels 1.0 ms, mute_channel dry-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

PYPI
rodecaster-mcp
Install Command
pip install rodecaster-mcp
Runtime: uvx