An MCP (Model Context Protocol) server built on ableton-js for real-time interaction and control with Ableton Live's Arrangement View, dedicated to assisting music producers in their music production.
As a music producer, I have some understanding of using Ableton for music creation. During the creative process, we often need to handle various tedious operations, such as humanizing note properties, merging notes, recording one track to another audio track, etc. Previously, we could only rely on the functions provided by the host DAW for these operations. However, with the emergence of large language models and MCP, we now have the possibility to let AI help us with automation. Although it's still not realistic for AI to directly generate notes or create a complete song (it can't generate a good-sounding song), having AI assist us with auxiliary operations presents a new possibility.
This is a simple demonstration video of MIDI operations.
Midi.Operation.mp4
- Get basic song information (root note, scale name, tempo, song length, etc.)
- Get a list of all tracks
- Create MIDI, audio, and return tracks
- Delete and duplicate tracks
- Get all clips in a track
- Create empty MIDI clips in the arrangement view tracks
- Create audio clips in tracks based on provided sample file paths
- Set track properties (mute, color, name, arm, solo, etc.)
- Duplicate MIDI clips to specified tracks
- Get clips in the piano roll view
- Get and manage all notes in a clip
- Add, delete, and replace notes in clips
- Set clip properties (name, color, looping, loop_start, loop_end, etc.)
- Supports recording track content based on time range
- Load audio effects, instruments and plugins
- Modify device parameters
- Browse available devices in the library
- Operation history tracking and detailed logging
- Support for operation rollback (currently only supports note operations)
- Browse and restore previous states
- Support automatic envelope adjustment
- Support more snapshot types (track properties, device parameters, etc.)
- Direct manipulation of MIDI clips by AI may result in the loss of original notes and cannot be undone with Ctrl + Z. Please operate with caution. If needed, you can ask the AI to help you roll back note operations.
- Node.js environment: Ensure Node.js is installed (v20+ recommended) and the
npx
command is availableπ Download: Node.js official website
Choose ONE of the following three methods to install MIDI Remote Scripts:
-
Method 1: One-line installation (Recommended)
npx @xiaolaa2/ableton-copilot-mcp --install-scripts # or use the short form npx @xiaolaa2/ableton-copilot-mcp -is
-
Method 2: Tool-assisted installation
- First, start ableton-copilot-mcp (see Usage section below)
- Let AI assistant or manually call the MCP tool
init_ableton_js
to complete the installation automatically
-
Method 3: Manual installation
- Create a folder named "Remote Scripts" in your Ableton User Library:
- Windows:
C:\Users\[username]\Documents\Ableton\User Library\Remote Scripts
- Mac:
/Users/[username]/Music/Ableton/User Library/Remote Scripts
- Windows:
- Download MIDI Remote Scripts from the ableton-js project
- Copy the downloaded
midi-script
folder to the location above - Rename it to
AbletonJS
- Create a folder named "Remote Scripts" in your Ableton User Library:
-
Launch Ableton Live
-
Enable AbletonJS Control Surface
- Open Ableton Live Preferences:
Preferences
βLink/MIDI
- In the
MIDI
tab, locate theControl Surface
section - Select
AbletonJS
from the dropdown menu
- Open Ableton Live Preferences:
-
Connect using an MCP client
The following clients can be used as MCP endpoints:
- Cursor
- Cherry Studio
- Claude Desktop
- Other MCP clients
Add the following configuration to your Cursor settings:
"ableton-js-mcp": {
"command": "npx",
"args": [
"-y",
"@xiaolaa2/ableton-copilot-mcp"
]
}
For the latest version:
"ableton-js-mcp": {
"command": "npx",
"args": [
"-y",
"@xiaolaa2/ableton-copilot-mcp@latest"
]
}
You can specify a custom data storage location using the BASE_PATH
environment variable:
"ableton-js-mcp": {
"command": "npx",
"args": [
"-y",
"@xiaolaa2/ableton-copilot-mcp"
],
"env": {
"BASE_PATH": "D:\\ableton_copilot_mcp"
}
}
π‘ Tip: The storage path is used to save log files, operation history, and state snapshots
Compatibility primarily depends on the version support of the ableton-js library.
Ableton Live Version | Test Status |
---|---|
12.1.10 | β Tested and working |
11.x | |
10.x |
Issues and contributions are welcome. Please submit issues or suggestions through GitHub Issues.
This project is licensed under the MIT License.
This is a third-party integration and not made by Ableton.