Zene Studio
On this page

The MCP bridge

Driving Zene Studio from an AI agent through the Model Context Protocol bridge.

Applies to 0.3.0-alphaUpdated

Zene Studio ships an MCP bridge on top of the control socket, so an AI agent can operate a real DAW session using the same command set a script would.

It is a bridge, not a second API: everything it exposes comes from the control registry. Nothing is reachable through MCP that is not reachable through the socket.

How it fits together

AI agent  ──MCP──►  zene bridge  ──socket──►  running Zene Studio session
  1. Start Zene Studio with a control socket (see Control socket).
  2. Point the bridge at that socket path.
  3. The agent discovers tools from the offline command snapshot, or from the live session.

The offline snapshot

The bridge ships a committed snapshot of the command list:

tools/mcp-zene-control/zene_control/commands_snapshot.json

This holds 332 command ids: the release configuration. The reference build registers 340. It exists so the bridge can describe its tools without a running session.

Eight commands will not appear there: the wasm.* group is registered only where the wasmtime C API is found, and no release job provisions it.

Working against a live session

The snapshot is a good starting point but it is not the truth. When a session is available, ask it:

echo '{"command":"control.commands_list"}' | nc -U /tmp/zene.sock

Honest refusals reach the agent

mixer.set_pan refuses every call, and that refusal travels through the bridge unchanged. This is desirable: an agent that is told “this property does not exist” behaves better than one handed a silently ignored write. Do not wrap the bridge to hide refusals.

Safety

MCP gives an agent real control over a real session — including rendering, exporting and overwriting projects. Treat it like any other automation surface:

  • point it at a scratch project, not the one you care about;
  • keep irreversible commands (13 of them) behind a human decision;
  • snapshot before bulk operations;
  • do not expose the socket path to anything untrusted.

Help keep Zene Studio free

Developing Zene Studio costs money.

There is no paid tier and no advertising, so donations are what keep it going. If it is useful to you, please give what you can.