beat-twin
Provides tools for inspecting and controlling Bitwig Studio sessions, including transport, tracks, scenes, devices, and remote controls, with a read-only mode by default and optional write policies for transport, mixer, clips, scenes, devices, and application actions.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@beat-twinwhat's the current project tempo and time signature?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Beat Twin
Beat Twin is a proof-of-concept bridge between Bitwig Studio and the Model Context Protocol (MCP).
It exposes a small local MCP server for agent-assisted music workflows while keeping DAW mutations behind explicit write-policy gates. The default mode is read-only.
What Works
Read-only session inspection for transport, tracks, scenes, selected device, and remote controls.
Plan-only arrangement suggestions based on the current read-only Bitwig snapshot.
Transport, mixer, clip, scene, device, and application write tools, hidden and blocked by default.
A Bitwig controller script that speaks JSON-RPC over a local TCP connection.
Offline protocol and policy tests that run without launching Bitwig.
A browser Playground for command-first song sketches, Tone.js audition, note editing, pattern tools, keyboard shortcuts, local undo/redo, JSON save/load, visible timeline feedback, a local command palette, and deterministic command drafts.
Related MCP server: bitwig-gemini-mcp
Architecture
MCP client
-> Node.js MCP server (index.js)
-> local TCP JSON-RPC bridge on 127.0.0.1:8888
-> Bitwig controller script
-> Bitwig StudioThe Node process is the MCP server. It connects to the Bitwig controller on demand through BITWIG_HOST and BITWIG_PORT.
The browser-first playground foundation now lives alongside the MCP bridge:
apps/playground
-> @beat-twin/commands
-> @beat-twin/core
-> @beat-twin/audio-tone browser audition
-> localStorage JSON save/loadThe current Bitwig bridge still lives in index.js; adapter extraction is intentionally left for a later compatibility-focused slice. Browser audition is local Web Audio preview, not a Bitwig mutation or MCP write.
Browser save/load is also local Playground state, not a Bitwig mutation.
Browser pattern tools are local document edits for duplicate, quantize, and transpose.
Browser undo/redo restores local Playground command snapshots only.
Browser keyboard shortcuts invoke existing local Playground actions only.
Browser timeline feedback is derived from local song state and does not call Bitwig.
Browser command palette actions reuse the same local Playground action boundary.
Browser command drafts parse known local phrases only; they are not an AI chat path.
Requirements
Node.js 20 or newer
pnpm 11.10.0 or newer
Bitwig Studio for live/manual verification
Install
pnpm installRun
node index.jsConfigure your MCP client to run that command from this repository. A portable example lives in llm-mcp/mcp.example.json.
Codex example:
codex mcp add beat-twin --env BITWIG_HOST=127.0.0.1 --env BITWIG_PORT=8888 -- node /absolute/path/to/beat-twin/index.jsInstall The Bitwig Controller
Copy the controller script into your Bitwig controller scripts directory.
Linux example:
mkdir -p "$HOME/Bitwig Studio/Controller Scripts/BeatTwin"
cp bitwig-controller/BeatTwin/BeatTwin.control.js "$HOME/Bitwig Studio/Controller Scripts/BeatTwin/BeatTwin.control.js"macOS users commonly use:
$HOME/Documents/Bitwig Studio/Controller Scripts/Windows users can copy bitwig-controller/BeatTwin into:
%USERPROFILE%\Documents\Bitwig Studio\Controller Scripts\Then open Bitwig Studio and add the controller manually:
Beat Twin -> Beat TwinIf Bitwig was already open before installing the file, restart Bitwig or reload
the controller settings before testing the bridge. See docs/LOCAL_MCP_SETUP.md
for local verification commands and troubleshooting.
Safety Model
Beat Twin is read-only by default. At the MCP entry point, write tools are not listed by MCP clients and are blocked if called through the MCP server without an enabling policy.
This gate is enforced by the Node MCP server only. The Bitwig controller's TCP bridge (default 127.0.0.1:8888) is unauthenticated and executes any JSON-RPC command it receives. It does not apply the write policy. Anything able to reach that port can drive Bitwig regardless of the MCP write policy, so the MCP gate is not a barrier at the DAW itself. As a known limitation of this local proof of concept, treat the bridge as trusted-local-only: firewall the port and do not expose it on untrusted networks.
To enable a narrow write class:
BITWIG_MCP_WRITE_POLICY=transport node index.jsTo enable multiple write classes:
BITWIG_MCP_WRITE_POLICY=transport,mixer_write node index.jsTo enable every write class for disposable test sessions only:
BITWIG_MCP_ENABLE_WRITES=1 node index.jsUse write mode only in a disposable Bitwig project or a copy of real work.
Tests
Run the offline checks:
pnpm testRun a syntax check:
node --check index.jsLive tests require Bitwig Studio, the controller script, and explicit write permissions. They are intentionally separate from the default test suite.
Useful Docs
Status
Beat Twin is an experimental local integration, not a hardened production tool. It is published as an open-source foundation for safe, inspectable DAW control experiments.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/LaurentHuzard/beat-twin'
If you have feedback or need assistance with the MCP directory API, please join our Discord server