Skip to main content

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).

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
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
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://protocol The discovered layout (strip / mix bases, counts, every root run), source and bus hints, and the allowlist

All three 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

  • podcast-preflight (guests, optional): checks connection, mutes, 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, list_pads / trigger_pad 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 and the approval flow 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.

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_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

Metadata

Release files for rodecaster-mcp 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rodecaster-mcp 0.1.0
File Size Uploaded Provenance Actions
rodecaster_mcp-0.1.0.tar.gz 516.0 kB Without provenance Details for rodecaster_mcp-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rodecaster-mcp 0.1.0
File Interpreter ABI Platform Actions
rodecaster_mcp-0.1.0-py3-none-any.whl Python 3 none any Details for rodecaster_mcp-0.1.0-py3-none-any.whl

Total release size: 621.0 kB

Release files / rodecaster_mcp-0.1.0.tar.gz

Download URL rodecaster_mcp-0.1.0.tar.gz
Size 516.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2345bc10a50d2391bf9c05110ab6c0283dcc5a09cb6c2ddf4a47fcba5c1ff0e1
BLAKE2b-256 checksum
How to use checksums
60337174891d06599d6cfde0c9e51179932ed78a1fa60ddd926e12c57098d069
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / rodecaster_mcp-0.1.0-py3-none-any.whl

Download URL rodecaster_mcp-0.1.0-py3-none-any.whl
Size 105.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74707f357a0ae7a9092349ffd6e8ae8d5aed20a3cc2b22c3755e82bab979693b
BLAKE2b-256 checksum
How to use checksums
976c3fdb97aa0160dbfec86c37d646ad30f0d10c88e32fb2293af851a065d0b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for rodecaster-mcp 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page