Ableton logo

Ableton

Community
xiaolaa2

An MCP server built on ableton-js enables AI assistants to control Ableton Live in real time, including Arrangement View operations such as song management, track control, MIDI editing, and audio recording, along with other capabilities.

Publisherxiaolaa2
Repositoryableton-copilot-mcp
LanguageTypeScript
Forks
20
Stars
92
Available tools
35
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    Ableton exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 35 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    92 stars and 20 forks from the linked repository.

ableton-copilot-mcp

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.

🎯 Note

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.

🎥 Demo

This is a simple demonstration video of MIDI operations.

https://github.com/user-attachments/assets/8d635c4c-a1f2-44be-93ae-062038d14c71

🚀 Features

🎵 Song Control

  • 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

🎹 Track Management

  • 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

🎼 Clip Operations

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

🎧 Audio Operations

  • Supports recording track content based on time range

🔌 Device Management

  • Load audio effects, instruments and plugins
  • Modify device parameters
  • Browse available devices in the library

📝 State Management

  • Operation history tracking and detailed logging
  • Support for operation rollback (currently only supports note operations)
  • Browse and restore previous states

📝 To-Do List

  • Support automatic envelope adjustment
  • Support more snapshot types (track properties, device parameters, etc.)

⚠️ Warning

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

📥 Installation

Prerequisites

  • Node.js environment: Ensure Node.js is installed (v20+ recommended) and the npx command is available

    🔗 Download: Node.js official website

Installation Steps

1. Install AbletonJS MIDI Remote Scripts

Choose ONE of the following three methods to install MIDI Remote Scripts:

  • Method 1: One-line installation (Recommended)

    bash
    npx @xiaolaa2/ableton-copilot-mcp --install-scripts
    # or use the short form
    npx @xiaolaa2/ableton-copilot-mcp -is
  • Method 2: Tool-assisted installation

    1. First, start ableton-copilot-mcp (see Usage section below)
    2. Let AI assistant or manually call the MCP tool init_ableton_js to complete the installation automatically
  • Method 3: Manual installation

    1. 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
    2. Download MIDI Remote Scripts from the ableton-js project
    3. Copy the downloaded midi-script folder to the location above
    4. Rename it to AbletonJS

🔧 Usage

Quick Start

  1. Launch Ableton Live

  2. Enable AbletonJS Control Surface

    • Open Ableton Live Preferences: Preferences → Link/MIDI
    • In the MIDI tab, locate the Control Surface section
    • Select AbletonJS from the dropdown menu
  3. Connect using an MCP client

    The following clients can be used as MCP endpoints:

Client Configuration

Cursor Configuration Example

Add the following configuration to your Cursor settings:

json
"ableton-js-mcp": {
    "command": "npx",
    "args": [
        "-y",
        "@xiaolaa2/ableton-copilot-mcp"
    ]
}

For the latest version:

json
"ableton-js-mcp": {
    "command": "npx",
    "args": [
        "-y",
        "@xiaolaa2/ableton-copilot-mcp@latest"
    ]
}

Custom Storage Path (Optional)

You can specify a custom data storage location using the BASE_PATH environment variable:

json
"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 Testing

Compatibility primarily depends on the version support of the ableton-js library.

Ableton Live VersionTest Status
12.1.10✅ Tested and working
11.x⚠️ Not tested yet
10.x⚠️ Not tested yet

🤝 Contributing

Issues and contributions are welcome. Please submit issues or suggestions through GitHub Issues.

📄 License

This project is licensed under the MIT License.

⚠️ Disclaimer

This is a third-party integration and not made by Ableton.

Installation

TypingMind
Prerequisites:

Node.js 18+

{
  "mcpServers": {
    "ableton-js-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xiaolaa2/ableton-copilot-mcp"
      ]
    }
  }
}

Available Tools

  • list_resources

    List Ableton live Browser resources of specified type

  • load_device

    Load a resource which is loadable (audio effect/instrument/plugin/drums/midi effect/sounds) into a track. If track_id is not provided, will load to currently selected track. If no track is selected, instruments will be loaded to the last MIDI track, and audio effects will be loaded to the last MIDI or audio track.

  • get_clip_properties

    Get clip properties by clip id. To get specific properties, set the corresponding property name to true in the properties parameter.

  • get_clip_notes

    Get clip notes by clip id. Returns NoteExtended array for Live 11+ and Note array for Live 10 and below.

    Field abbreviations in returned data:

    • id: note_id
    • p: pitch (MIDI note 0-127, 60=C3)
    • t: start_time (beats)
    • d: duration (beats)
    • v: velocity (0-127)
    • m: mute (boolean)
    • pr: probability (0-1, Live 11+)
    • rv: release_velocity (Live 11+)
    • vd: velocity_deviation (Live 11+)
  • remove_clip_notes

    Remove clip notes by clip id

  • remove_notes_by_ids

    Remove notes by clip id and note ids

  • add_notes_to_clip

    Add notes to clip by clip id

  • modify_clip_notes

    Modify clip notes by clip id

  • replace_clip_notes

    Replace all notes in the clip with new notes

  • set_clips_property

    batch set clip property

  • crop_clip

    Crops the clip. The region that is cropped depends on whether the clip is looped or not. If looped, the region outside of the loop is removed. If not looped, the region outside the start and end markers is removed.

  • duplicate_clip_loop

    Makes the loop twice as long and duplicates notes and envelopes. Duplicates the clip start/end range if the clip is not looped.

  • duplicate_clip_region

    Duplicates the notes in the specified region to the destination_time. Only notes of the specified pitch are duplicated if pitch is not -1. If the transposition_amount is not 0, the notes in the region will be transposed by the transposition_amount of semitones. Raises an error on audio clips..

  • get_device_properties

    get device properties. To get specific properties, set the corresponding property name to true in the properties parameter

  • modify_device_parameter_value

    set device parameter value, only support built-in Live devices

  • get_operation_histories

    get mcp tools operation histories by page

  • get_snapshot_by_history_id

    get snapshot by history id

  • rollback_by_history_id

    rollback to the state before the operation corresponding to the history_id was executed, currently supports Note operations

  • get_song_properties

    get song properties. To get specific properties, set the corresponding property name to true in the properties parameter.

  • get_song_view_properties

    get song view properties. To get specific properties, set the corresponding property name to true in the properties parameter.

  • set_song_property

    set song basic properties

  • set_song_view_property

    set song view properties

  • create_track

    create track and return raw track

  • delete_track

    delete track by index

  • duplicate_track

    duplicate midi or audio track by index

  • record_by_time_range

    Opens Ableton's audio record button and starts playback from start_time to end_time. Before recording, please: ENSURE: 1. Set the recording track to record mode 2. Set the recording track's input routing to Resample or a specific audio track/input routing(get from get_track_available_input_routings tool) 3. After recording, disable the track's record mode

  • get_track_properties

    get track properties. To get specific properties, set the corresponding property name to true in the properties parameter

  • create_midi_clip

    Creates an empty MIDI clip on the track and returns the created clip information

  • set_tracks_property

    batch set tracks property

  • duplicate_clip_to_track

    duplicate clip to track and return the duplicated clip information

  • delete_clip

    delete clip by id

  • delete_device

    delete device by index, start from 0

  • create_audio_clip

    Create audio clip on track. Given an absolute path to a valid audio file in a supported format, creates an audio clip that references the file at the specified position in the arrangement view. Prints an error if: - The track is not an audio track - The track is frozen - The track is being recorded into

  • init_ableton_js

    Initialize ableton-js and copy its MIDI scripts to Ableton Live's MIDI Remote Scripts folder. If ableton-js is already installed, it will update the content.

  • get_application_info

    Get Ableton Live application information. To get specific properties, set the corresponding property name to true in the properties parameter. If no properties are specified, returns all available information.

Use Ableton MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Ableton is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Ableton as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Ableton MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "ableton": {
      "command": "npx",
      "args": [
        "-y",
        "ableton-copilot-mcp"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Ableton MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Ableton MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Ableton to help me with this task?
Ableton
Sure. I read it.
Here is what I found using Ableton.

Frequently asked questions

What is the Ableton MCP server used for?

Ableton is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Ableton MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Ableton with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Ableton MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Ableton connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Ableton MCP to TypingMind?

Ableton runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Ableton MCP provide in TypingMind?

Ableton exposes 35 MCP tools that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Ableton MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Ableton requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇