Full-coverage Ableton Live integration through the Model Context Protocol (mixer, automation, devices, scenes, arrangement, and more)
Project description
AbletonMCP - Ableton Live Model Context Protocol Integration
AbletonMCP connects Ableton Live to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Ableton Live. This integration enables prompt-assisted music production, track creation, and Live session manipulation.
Join the Community
Give feedback, get inspired, and build on top of the MCP: Discord. Made by Siddharth
Features
- Two-way communication: Connect Claude AI to Ableton Live through a socket-based server
- Full track control: Create, delete, duplicate, rename, color, mute/solo/arm, route, and fold MIDI, audio, and return tracks
- Mixer control: Volume, panning, sends, crossfader assignment, and the master track
- Session and arrangement clips: Create, delete, duplicate, quantize, loop, and read/write MIDI notes; duplicate clips into the arrangement
- Scenes: Create, delete, duplicate, fire, rename, color, and tempo-lock scenes
- Devices: Load instruments/effects/samples from the browser, toggle devices, and read/write any device parameter, including inside racks and drum pads
- Automation: Insert and clear clip envelope automation for device parameters
- Transport: Play/stop/continue, loop region, punch in/out, overdub, session record, and cue points
- Session introspection: Full session/track/clip/scene/device state as structured JSON
Components
The system consists of two main components, each organized by domain rather than as one large file:
- Ableton Remote Script (
AbletonMCP_Remote_Script/): A MIDI Remote Script for Ableton Live that opens a JSON/TCP socket server and dispatches commands to handler modules that call the Live Object Model (LOM).socket_server.py- generic threaded JSON-over-TCP server (no Live API dependency)dispatcher.py- command registry and dispatch, with aLiveContextindirection layerlive_api_utils.py- pure helpers for looking up and serializing Live objectshandlers/- one module per domain:session,transport,tracks,mixer,clips,scenes,devices,automation,browser,application__init__.py- thinControlSurfacesubclass that wires the socket server to the dispatcher
- MCP Server (
MCP_Server/): A Python server that implements the Model Context Protocol and connects to the Ableton Remote Script.connection.py- the TCP/JSON client (AbletonConnection)mcp_instance.py- the sharedFastMCPinstance and lifespantools/- one module per domain, mirroring the Remote Script's handler modules 1:1server.py- thin entry point that registers all tools and runs the server
Everything except the ControlSurface subclass itself (which needs Live's _Framework) is plain, dependency-free Python, importable and unit-testable outside of Ableton Live.
Installation
Prerequisites
- Ableton Live 10 or newer
- Python 3.8 or newer
- uv package manager
If you're on Mac, please install uv as:
brew install uv
Otherwise, install from [uv's official website][https://docs.astral.sh/uv/getting-started/installation/]
⚠️ Do not proceed before installing UV
Claude for Desktop Integration
Follow along with the setup instructions video
- Go to Claude > Settings > Developer > Edit Config > claude_desktop_config.json to include the following:
{
"mcpServers": {
"AbletonMCP": {
"command": "uvx",
"args": [
"ableton-mcp-full"
]
}
}
}
Cursor Integration
Run ableton-mcp-full without installing it permanently through uvx. Go to Cursor Settings > MCP and paste this as a command:
uvx ableton-mcp-full
⚠️ Only run one instance of the MCP server (either on Cursor or Claude Desktop), not both
Installing the Ableton Remote Script
Follow along with the setup instructions video (note: the video shows the older single-file version; the install location is the same, but you now copy a folder of files instead of a single __init__.py)
-
Download this repo, or at minimum the whole
AbletonMCP_Remote_Script/directory (it now contains several files and ahandlers/subfolder, not just__init__.py) -
Find Ableton's MIDI Remote Scripts directory. Different OS and versions have different locations. One of these should work, you might have to look:
For macOS:
- Method 1: Go to Applications > Right-click on Ableton Live app → Show Package Contents → Navigate to:
Contents/App-Resources/MIDI Remote Scripts/ - Method 2: If it's not there in the first method, use the direct path (replace XX with your version number):
/Users/[Username]/Library/Preferences/Ableton/Live XX/User Remote Scripts
For Windows:
- Method 1: C:\Users[Username]\AppData\Roaming\Ableton\Live x.x.x\Preferences\User Remote Scripts
- Method 2:
C:\ProgramData\Ableton\Live XX\Resources\MIDI Remote Scripts\ - Method 3:
C:\Program Files\Ableton\Live XX\Resources\MIDI Remote Scripts\Note: Replace XX with your Ableton version number (e.g., 10, 11, 12)
- Method 1: Go to Applications > Right-click on Ableton Live app → Show Package Contents → Navigate to:
-
Create a folder called
AbletonMCPin the Remote Scripts directory and copy the entire contents of this repo'sAbletonMCP_Remote_Script/directory into it (__init__.py,dispatcher.py,socket_server.py,live_api_utils.py, and thehandlers/subfolder) -- so you end up with.../AbletonMCP/__init__.py,.../AbletonMCP/handlers/tracks.py, etc. -
Launch (or restart) Ableton Live
-
Go to Settings/Preferences → Link, Tempo & MIDI
-
In the Control Surface dropdown, select "AbletonMCP"
-
Set Input and Output to "None"
Usage
Starting the Connection
- Ensure the Ableton Remote Script is loaded in Ableton Live
- Make sure the MCP server is configured in Claude Desktop or Cursor
- The connection should be established automatically when you interact with Claude
Using with Claude
Once the config file has been set on Claude, and the remote script is running in Ableton, you will see a hammer icon with tools for the Ableton MCP.
Capabilities
Every tool below is available both to Claude (as an MCP tool) and as a Remote Script command; the two are always kept in exact 1:1 correspondence (enforced by a test, see Testing).
Session & transport - tempo, time signature, metronome, clip trigger quantization, undo/redo, play/stop/continue, song position, loop region, punch in/out, overdub, session record, cue points
Tracks & mixer - create/delete/duplicate MIDI, audio, and return tracks; rename, color, mute/solo/arm, monitoring state, input/output routing, group track fold state; volume, panning, sends, crossfader assign, master volume/crossfader
Clips - create/delete/duplicate session clips; fire/stop clips and stop-all; rename, color, loop region, quantize; add/get/remove MIDI notes; duplicate a session clip into the arrangement and list/delete arrangement clips
Scenes - create/delete/duplicate/fire scenes; rename, color, and tempo-lock
Devices - list devices on a track; load instruments/effects/samples from the browser; delete/activate devices; list/get/set device parameters; inspect rack chains and drum pads
Automation - clear and insert clip envelope points for any device parameter
Browser - browse the full category tree, look up items by path or URI, load items onto tracks, and preview items before loading
Example Commands
Here are some examples of what you can ask Claude to do:
- "Create an 80s synthwave track" Demo
- "Create a Metro Boomin style hip-hop beat"
- "Create a new MIDI track with a synth bass instrument"
- "Add reverb to my drums"
- "Create a 4-bar MIDI clip with a simple melody"
- "Get information about the current Ableton session"
- "Load a 808 drum rack into the selected track"
- "Add a jazz chord progression to the clip in track 1"
- "Set the tempo to 120 BPM"
- "Play the clip in track 2"
- "Automate the filter cutoff on the bass to sweep up over 4 bars"
- "Set up a group track with a compressor on the return"
- "Duplicate this clip into the arrangement at bar 9"
Troubleshooting
- Connection issues: Make sure the Ableton Remote Script is loaded, and the MCP server is configured on Claude
- Timeout errors: Try simplifying your requests or breaking them into smaller steps
- "Unknown command" errors: The Remote Script folder in Ableton's Remote Scripts directory is out of date -- re-copy the full
AbletonMCP_Remote_Script/directory (see Installation) and restart Live - Have you tried turning it off and on again?: If you're still having connection errors, try restarting both Claude and Ableton Live
Technical Details
Communication Protocol
The system uses a simple JSON-based protocol over TCP sockets:
- Commands are sent as JSON objects with a
typeand optionalparams - Responses are JSON objects with a
statusandresultormessage - All Live API access happens on Ableton's main thread; the Remote Script hops there internally and blocks the socket response until the command completes, so the client never has to guess when it's safe to send the next command
Testing
The whole command surface is unit tested without needing a running Ableton Live instance, using lightweight fakes for the Live Object Model (tests/fakes/live_objects.py):
uv pip install -e ".[dev]"
pytest
This runs:
tests/remote_script/- every handler, the dispatcher's error handling, and the socket server, all against fakestests/mcp_server/- the socket client (AbletonConnection) against a real loopback socket, plus every@mcp.toolagainst a fake connection, including a cross-check that every tool sends a command the Remote Script dispatcher actually knows about
tests/integration/ contains opt-in, read-only tests against a real Ableton Live instance (they never create/delete anything, to avoid mutating whatever project happens to be open). They're excluded by default and only run with:
pytest -m integration tests/integration
They're automatically skipped if nothing is listening on localhost:9877.
Known Limitations
Some things Ableton Live's UI can do aren't exposed through the scriptable Live Object Model at all, so they're out of scope here too:
- Freezing/flattening tracks
- Reordering tracks or devices within a chain (the LOM has no "move" call for either)
- Warp mode/markers and detailed audio-clip editing beyond gain and loop points
- Groove pool assignment
- Saving/exporting the project (the LOM does not expose a save call)
- Anything specific to third-party plugin UIs beyond their exposed parameters
Automation envelope support (clear_clip_envelope/insert_envelope_point(s)) relies on Clip.automation_envelope, which has historically had version-to-version quirks in Live's own API; treat it as best-effort and verify results in the Live UI, especially on older Live versions.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Disclaimer
This is a third-party integration and not made by Ableton.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ableton_mcp_full-2.0.0.tar.gz.
File metadata
- Download URL: ableton_mcp_full-2.0.0.tar.gz
- Upload date:
- Size: 18.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8194fd3ee863bb45b5fbc54d81d0f1e8094e07b91145d0fd51d26f4cd2447eb
|
|
| MD5 |
9374be7e7187cae5a154bba4889e78fe
|
|
| BLAKE2b-256 |
142340cfc1b4dc06c09ae73045928cf773562b2b97e46492b769e32c60212238
|
File details
Details for the file ableton_mcp_full-2.0.0-py3-none-any.whl.
File metadata
- Download URL: ableton_mcp_full-2.0.0-py3-none-any.whl
- Upload date:
- Size: 24.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18bdeb07af6c8ca123063cecca0be6f1290eb85ac3ec67bf6b3735f472204caa
|
|
| MD5 |
bcd6d0dc261ab9f56600e977e5d58277
|
|
| BLAKE2b-256 |
a35f53c1caf09d33fa41668addeb672e7d2f6603c69710f219c61ddb33561af3
|