Logo vun Ableton

Ableton

Communautéit
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.

Editeurxiaolaa2
Repositoryableton-copilot-mcp
SproochTypeScript
Forks
20
Stären
92
Disponibel Tools
35
Transporttypstdio
Kategorien
LizenzMIT
Linken
  • Tools mat KI-Workflows verbannen

    Ableton stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 35 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    92 Stären an 20 Forks aus dem verlinkte 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.

Installatioun

TypingMind
Viraussetzungen:

Node.js 18+

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

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

Ableton MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal Ableton verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun leeft lokal iwwer den TypingMind-MCP-Connector op Ärem Apparat.

Ariichtungsuleedung fir de lokale Connector ze benotzen

Benotzt dës Optioun, wann den MCP-Server Zougrëff op lokal Fichieren, Appen oder privat Ressourcen op Ärem Computer brauch.

1

D'MCP-Astellungen opmaachen

Gitt an TypingMind op „Astellungen“, „Erweidert Astellungen“, dann op „Model Context Protocol“ a wielt „Connector ariichten“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Klickt op d'Astellungssymbol.
  3. Gitt op „Erweidert Astellungen“.
  4. Maacht d'Sektioun „Model Context Protocol“ op.
  5. Klickt op „Connector ariichten“ a wielt „Dësen Apparat“.
Ariichtungsbildschierm vum TypingMind-MCP-Connector mat „Dësen Apparat“ ausgewielt
2

De Connector-Befeel ausféieren

Wielt „Dësen Apparat“, kopéiert de Befeel aus TypingMind a féiert en am Terminal aus. Loosst de Prozess lafen, wärend Dir MCP benotzt.

  1. Kopéiert den Ariichtungsbefeel, deen TypingMind uweist.
  2. Maacht Terminal op macOS oder Windows Terminal op Windows op.
  3. Pescht de Befeel an a féiert en aus.
  4. Bestätegt d'Installatioun vum Package, wann den Terminal Iech freet, ob Dir weiderfuere wëllt.
  5. Loosst den Terminal an de Prozess doranner lafen, wärend Dir MCP-Tools benotzt.
3

Ableton als Server derbäisetzen

Wann de Connector-Status „Prett“ ass, klickt op „Serveren änneren“ a pescht d'MCP-Serverkonfiguratioun an.

  1. Waart, bis de Connector-Status „Prett“ weist.
  2. Klickt op „Serveren änneren“.
  3. Pescht d'MCP-Serverkonfiguratioun vu Ableton an.
  4. Späichert d'Serverlëscht.
  5. Aktualiséiert, wann Dir kontrolléiere wëllt, ob de Connector nach ëmmer prett ass.
MCP-Astellunge vun TypingMind mat aktivem Server an dem Knäppchen „Serveren änneren“
{
  "mcpServers": {
    "ableton": {
      "command": "npx",
      "args": [
        "-y",
        "ableton-copilot-mcp"
      ]
    }
  }
}
4

D'Verbindung mat verschiddene Modeller benotzen

Späichert d'Serverlëscht, maacht „Plugins“ op an aktivéiert d'MCP-Tools vu Ableton. Wielt dann e belibegen ënnerstëtzte KI-Modell an TypingMind a benotzt d'Tools am Chat oder weist se engem KI-Agent zou.

  1. Maacht d'Säit „Plugins“ an TypingMind op.
  2. Aktivéiert d'MCP-Tools vu Ableton.
  3. Start e Chat a wielt de KI-Modell, deen Dir benotze wëllt.
  4. Benotzt d'MCP-Tools am Chat oder weist se engem KI-Agent zou.
  5. Wiesselt bei Bedarf op en anere KI-Modell, ouni MCP nei ze verbannen.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat Ableton?
Ableton
Jo. Ech hunn et gelies.
Dat hunn ech mat Ableton fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server Ableton benotzt?

Ableton ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech Ableton MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir Ableton mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat Ableton MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann Ableton verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech Ableton MCP mat TypingMind?

Ableton leeft iwwer de lokale MCP-Connector vun TypingMind. Dat eegent sech am beschten, wann de MCP-Server Zougrëff op lokal Fichieren, Desktop-Apps, Kommandozeilen-Tools oder privat Ressourcen op Ärem Computer brauch.

Wéi eng Tools stellt Ableton MCP an TypingMind zur Verfügung?

Ableton stellt 35 MCP-Tools zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir Ableton MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann Ableton eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇