Ableton Live MCP Server
The server exposes an MCP interface to inspect and control Ableton Live; the provided schema is the legacy/retired per-action tool list, now folded into consolidated verbs in the README.
Inspect Live and the Set: health, capabilities, full session structure, tracks, clips, devices, browser tree/items, and audio clip analysis.
Read/write many properties by address across song, tracks, returns, master, scenes, slots, clips, grooves, cue points, app, devices, parameters, and mixers.
Create, duplicate, and delete tracks, scenes, clips, arrangement clips, take lanes, and more.
Control transport, launch clips/scenes, undo/redo, and use gated recording tools.
Edit MIDI notes; generate and transform musical content; convert audio to MIDI, Simpler tracks, drum racks, etc.
Manage devices/racks/parameters, load browser items, hot-swap, draw/read/clear automation, and ramp parameters.
Handle mixing/routing, warp markers, emulated follow actions, batch operations, and gated development via
eval_python.The schema's listed tools (e.g.
get_session_info,set_tempo,create_clip,fire_clip) are retired; usedescribe_set,set_properties,create,launch, etc. instead.
Click on "Deploy 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., "@Ableton Live MCP Server set the tempo to 128 BPM and start playback"
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.
Ableton Live MCP Server (ableton-mcp-server)
A Node.js/TypeScript stdio Model Context Protocol (MCP) server for controlling and querying Ableton Live via a Python Remote Script TCP bridge.
Architecture
+-------------------+ stdio (MCP) +--------------------+ TCP (JSON) +--------------------+
| MCP Client | <-------------------> | ableton-mcp-server | <------------------> | Ableton Live |
| (Claude, AGY, etc)| | (Node.js/TS) | localhost:9877 | (Remote Script) |
+-------------------+ +--------------------+ +--------------------+MCP Transport: Communicates over
stdiousing@modelcontextprotocol/sdk. Diagnostics and operational logs are strictly directed tostderrto preserve stdout for JSON-RPC frames.Ableton Bridge: Keeps Ableton Live access behind a typed
AbletonClientadapter communicating over localhost TCP port9877using framed JSON requests.Remote Script: A Python Control Surface script running inside Ableton Live's Python environment (Live 12 or later). Its socket server is pumped by a
Live.Base.Timeron Live's main thread, so every command runs on the main thread and answers in about 10 ms (a threaded server answered in 300-600 ms because socket threads only got the GIL when Live called into Python). Commands are registered with a@commanddecorator, which is the single source of truth for dispatch, undo behaviour and the capability list.Capability Discovery: Queries the running Remote Script's handshake (
get_script_info) dynamically at startup to verify supported capabilities and script version.
Related MCP server: ableton-mcp-loopback
Requirements
Ableton Live 12 or newer (any edition; some features depend on the edition, see
get_capabilities)Node.js 18+ and npm
Optional:
ffmpeg/ffprobeforaudioanalyzeandbounce
Installation
1. Build the MCP server
From the repository root:
npm install
npm run build2. Install the Remote Script into Live
Live loads Remote Scripts from a Remote Scripts folder inside your User Library, and the User Library location is configurable. The script is a package (a folder of Python files), so the whole folder has to be copied.
Easiest: npm run deploy. It finds your User Library from Live's own preferences (or from ABLETON_USER_LIBRARY), refuses to write anywhere that doesn't look like a User Library, mirrors remote-script/AbletonMCP/ into Remote Scripts/AbletonMCP/ (removing stale files) and prints the build id. npm run deploy -- --dry-run shows what would change without touching anything, and npm run deploy -- --check compares the build running inside Live with your source.
By hand: in Live open Preferences → Library, note the User Library location, then copy the folder remote-script/AbletonMCP to <User Library>/Remote Scripts/AbletonMCP:
<your User Library>/
└── Remote Scripts/
└── AbletonMCP/
├── __init__.py (entry point: create_instance, the AbletonMCP class, build id)
├── config.py clock.py registry.py helpers.py curves.py
└── server.py session.py tracks.py clips.py devices.py automation.py browser.pyA partial copy makes the script fail to import; AbletonMCP then silently disappears from the Control Surface list (the error is in Live's Log.txt). The handshake reports a build_id (a hash of the sources) so a stale or partial deploy is visible: get_health/get_script_info show it.
While developing, npm run hotswap reloads the deployed package inside the running Live without a restart (dev only: only a real restart proves a clean load).
Note: Live scans for Remote Scripts only at launch. Restart Live after installing or updating the script. If the User Library is on an external drive, make sure it is mounted before launching Live. On macOS, the terminal you copy from may need permission to access removable volumes (System Settings → Privacy & Security → Files and Folders).
3. Enable the script in Live
Restart Live.
Open Preferences → Link, Tempo & MIDI.
In a Control Surface slot, choose AbletonMCP.
Set Input and Output to
None.Live shows:
AbletonMCP: Listening for commands on port 9877.
4. Register the server with your MCP client
Point your client at the built entry point, dist/index.js in this repo, using an absolute path for your machine.
Claude Code (from the repo root):
claude mcp add ableton -- node "$(pwd)/dist/index.js"Claude Desktop / other clients (JSON config):
{
"mcpServers": {
"ableton": {
"command": "node",
"args": ["<absolute path to this repo>/dist/index.js"],
"env": {
"ABLETON_HOST": "127.0.0.1",
"ABLETON_PORT": "9877"
}
}
}
}For Claude Code, a project .mcp.json in the repo root with "args": ["dist/index.js"] (a relative path) works for sessions started there. The repo does not ship one (it is git-ignored, so each checkout keeps its own).
5. Verify
With Live running and the script enabled, call the get_health tool. It should report the script version and capability list. Live's Log.txt should also contain (AbletonMCP) AbletonMCP initialized.
Configuration
Variable | Default | Purpose |
|
| Host of the Remote Script socket |
|
| Port of the Remote Script socket |
| on | Binaries used by |
Security
The Remote Script listens on localhost:9877 and does not authenticate: any program running on your computer can send it commands, including ones that change or delete things in the open Set. Web pages cannot reach it (the socket expects one raw JSON document, not HTTP), and nothing outside your computer can.
Two commands are powerful enough to be off by default inside Live itself, whoever is calling: eval (runs any Python in Live, used by the developer tools and eval_python) and record (can record over your timeline and clips). They refuse until you create an empty opt-in file, checked on every call, so no restart is needed:
mkdir -p ~/.ableton-mcp-server && touch ~/.ableton-mcp-server/allow_eval # developers: the live tests and `npm run hotswap` need this
touch ~/.ableton-mcp-server/allow_record # only if you want the record tool
rm ~/.ableton-mcp-server/allow_eval # switches it off againThe MCP tools eval_python and record stay hidden unless ABLETON_MCP_ALLOW_EVAL=1 / ABLETON_MCP_ALLOW_RECORD=1 is also set in the MCP server's environment, so an assistant only ever sees them when you turned on both. get_health shows the state of each gate.
Capabilities & Compatibility
Supported Live Versions
Live 12 or newer (developed against 12.4). Live's Python API is undocumented and shifts between versions, so
npm run test:driftcompares the running Live with a committed API dump (see "Live API reference and drift").Group, return and master tracks are inspected safely: properties that do not apply to a track type are reported as unavailable instead of failing.
Available MCP Tools
Most tools take an address (song, tracks/N, tracks/N/slots/M/clip, grooves/N, ...): see "Properties by address". Tools carry MCP risk annotations (read-only, destructive), and every writing call is one undo step.
Area | Tools |
Discover |
|
Read / change any property |
|
Structure |
|
Play and record |
|
Mixing and routing |
|
Measure levels |
|
Clips and notes |
|
Many edits at once |
|
Compose |
|
Devices and sound |
|
Development |
|
The tool list has a size budget (test/ts/spec.test.ts), so the longest tools (create, clip_action, edit_notes, device_action, automation, audio) carry short descriptions. Call one with help: true for its full rules: the MCP server answers alone and nothing runs.
Earlier versions had one tool per property or action. These were folded into the verbs above (their bridge commands still exist, only the MCP tools were retired to keep the tool list small):
Retired tool | Use instead |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Follow actions (emulated)
Live's API has no clip follow actions, so follow_actions emulates them inside Live on the Remote Script's 10 ms timer. set (address of a Session clip, actions: names or {action, weight} chosen by weight each pass among next, previous, first, last, any, other, again, stop, all relative to the clip's own track; after_bars or after_beats, default one pass through the clip) launches the chosen clip when the clip has played that long. It acts only while the transport runs and the clip plays, once per pass, through Live's normal clip launch: Live's launch quantization decides the exact moment (the trigger fires about 40 ms early to catch the grid point; use q_none on the clips or a quantization that matches for tight timing). clear (one clip or all) stops them at once, status lists them. Configurations live in memory only: they are lost when Live restarts or the script reloads, and a deleted clip drops its configuration. Not undoable, not batchable.
Arrangement and recording
Timeline clips have addresses like Session clips:
tracks/N/arrangement/Min time order (a take lane's clips aretracks/N/take_lanes/K/arrangement/M), soget_properties,set_properties(name,muted,start_timeandend_timeare readable),get_notes/write_notes/edit_notes,clip_actionanddelete(withexpect) all work on them.describe_setlists each track's timeline (arrangement: index, name, start, length, kind) and it is part of the fingerprint.create:arrangement_midi_clip(addressof a track or take lane,timein beats,lengthdefault 4),arrangement_audio_clip(address,time,path),take_lane(addressof a track).clip_actionto_arrangementcopies a Session clip onto its track's timeline attime.launchrefuses timeline clips (arrangement playback istransport).Arrangement automation is written through Session clips:
automationdrawon a Session clip, thenclip_actionto_arrangement. Live turns the envelopes into the track's arrangement automation: they do not stay on the copy (itshas_envelopesis false), and the result lists the parameters that are now automated (automation_state1). The copy is also a normal arrangement clip, so use an otherwise empty scratch clip if you only want the automation. Not in Live's API: splitting, consolidating, moving or resizing timeline clips, comp editing, and time signature or tempo changes on the timeline.recordis gated: it needsABLETON_MCP_ALLOW_RECORD=1in the MCP server's environment and the opt-in file~/.ableton-mcp-server/allow_record(see Security), because recording can overwrite the timeline or clip slots.status(default) shows the recording flags and armed tracks;arrangement_start/arrangement_stop,session_start(record_length) /session_stop,overdub,punchandautomationchange them. Starting refuses unless a track is armed (arm withset_propertiesarm) and when recording is already on. Live applies these flags a moment after the call, so each response shows the values just set. Arrangement recording starts the transport whateverplaysays, and while it runs Live also records every playing Session clip onto its own track's timeline, armed or not:arrangement_startwarns when that would happen, so stop those clips first. The test suites never switch it on.session_startbegins at Live's next launch-quantization boundary, records into the slot of the selected scene, and rounds the length up to that quantization; pollstatusto follow it. Recording is not undoable step by step and cannot run in a batch. The default test runs only readstatus;MCP_TEST_RECORD=1 npm run test:livealso records a few beats into a scratch MIDI track and removes it.
Audio clips, warp markers and conversions
createkind: "audio_clip":addressof an empty slot on an audio track andpath, an absolute path to an audio file. Live warps it according to its own settings; the result reportslength,file_pathandwarping. Bad or relative paths are refused.Audio clip settings are ordinary clip properties:
warping,warp_mode(by name),gain(andgain_display_string),pitch_coarse,pitch_fine,ram_mode,sample_rate,sample_length,available_warp_modes, andwarp_markers([{beat_time, sample_time}], sample time in seconds in the file).clip_actionwarp actions:add_warp_marker(beat_time; withoutsample_timeit is placed where it changes nothing),move_warp_marker(beat_timeof an existing marker,distancein beats: this is how audio is retimed) andremove_warp_marker. Live's messages come through (Cannot add warp marker to an unwarped clip,Segment length out of range).audioaction: "analyze"(addressof an audio clip): format, integrated LUFS, sample and true peak, RMS and a six-band spectrum of the source file (ffmpeg), next to the clip's settings.curve: trueadds momentary and short-term LUFS over time (at mostmax_points, default 120), their maxima and the loudness range.audioaction: "snapshot"(read-only): what is audible now. Per track, return and the master: meters, the Session clip playing,mute,silenced_by_solo,solo, fader, output routing andaudible; plus the transport, CPU andnoteson why something that plays is silent.addresslimits it to one track. Meters are Live's units (0.85 = 0 dB, uncalibrated; a return's reads 0): usebouncefor loudness.bounce(audible, needsffmpeg/ffprobeon the MCP host;confirm_playback: trueis required): a calibrated measurement of what a track or the main output really plays (curve: trueadds the loudness over time). It creates a scratch audio track namedMCP BOUNCE, sets its monitoring to Off and its input tosource(master, the default, through Resampling, or a track address withchannelPost Mixer, Post FX or Pre FX), arms it, launchessceneorclips(otherwise it records what is already playing), waitssettle_beatsafter the launch and recordsbeats(default 16, at most 128) into the track's first slot with the launch tool's recording. That slot is empty, so nothing existing can be overwritten and the gatedrecordtool is not involved. It then analyzes the recorded clip likeaudioanalyze(integrated LUFS, sample and true peak, RMS, six-band spectrum), stops what it started, restores the main fader (master_volumelowers it for the run) and deletes the scratch track (keep_trackkeeps it). The recording stays in the project'sSamples/Recordedfolder. Usemeasureto compare many steps quickly andbouncewhen absolute loudness or the frequency balance matters.
Automation & Ramps
Targets are addresses: a Session clip (tracks/2/slots/0/clip) and a parameter (tracks/2/devices/0/parameters/5, tracks/2/mixer/volume, .../chains/1/devices/0/parameters/3, ...).
automationaction: "draw": draws a clip envelope from{time, value, curve?}points (beats from clip start, values in the parameter's own units). The defaultstyle: "breakpoints"writes real envelope breakpoints: a linear ramp is two of them, smooth/ease curves get one everyresolutionbeats (default 0.25; Live draws straight lines between breakpoints, so it is a smooth curve, not a staircase), andstepmakes true jumps. Envelopes drawn this way are light and stay editable in Live.style: "steps"writes the older staircase of fine steps.mode: "replace"(default) rebuilds the parameter's envelope;"merge"rewrites only the drawn range and pins the old envelope at both edges, so everything outside stays exactly as it was.hold(default) fills the clip edges. The result includes a readback of Live's stored values.get_automation: with aclip, its envelopes (all, or oneparameter) as breakpoints in the parameter's units, a jump reported asjump_from. Without a clip it is the overview: every automated parameter (of the Set, or ofaddress: a track, return ormaster) with itsstate(playing, oroverriddenby a hand or bridge write), and every Session clip carrying envelopes with the parameters they control. Arrangement lanes show asplaying; their breakpoints cannot be read.automationaction: "clear": one parameter's envelope, or all of them on the clip.automationaction: "ramp"(withaction: "cancel"to stop one parameter's ramp or all): sweeps a parameter to a target overbeatsorseconds, driven inside Live at about 100 updates per second (Live's timer resolution is 10 ms). For live gestures; usedrawfor motion that belongs to a looping clip. A new ramp on the same parameter replaces the old one however it was addressed.cancelstops one parameter's ramp, or all of them. Ramps are not undoable and cannot run inside a batch (in a batch only thedrawandclearactions ofautomationare allowed).device_actionre_enable_automationhands a parameter that was overridden (automation_state2) back to its clip automation, or every parameter when the address issong. Any write to a parameter while its clip automation is playing overrides it, by hand or through the bridge (set_properties, a ramp), so re-enable it afterwards if the automation should keep control.
Limits from Live's API: envelopes exist only on Session clips (not arrangement clips), only for parameters on the clip's own track, and Live ignores the curve (control) coefficients of an envelope event, so curves are approximated by breakpoints. The bridge still accepts the older track_index/clip_index/device_index argument forms.
Properties by address
get_properties, set_properties and list_properties read and write about a hundred and fifty properties of the Song, tracks, scenes, clip slots, clips, grooves, cue points and the application through one address grammar instead of one tool per property:
Addresses:
song,master,tracks/N,returns/N,scenes/N,tracks/N/slots/M(clip slot),tracks/N/slots/M/clipandgrooves/N(the groove pool),cue_points/N(in time order) andapp(the Live application); indices are 0-based. A name selector works wherever a number does:tracks/name:Drift,scenes/name:Verse(exact match; several matches is anAMBIGUOUSerror listing the indices).Strict values: booleans must be
true/false, integers whole numbers, enums are given by name ("launch_mode": "gate";list_propertiesshows the valid names and ranges). Wrong types areTYPE_ERROR, out-of-range valuesOUT_OF_RANGE, unknown or read-only properties are refused.Interdependent properties (
loop_start/loop_end, ...) can be set together in any order, and a call is all-or-nothing: if one write fails, the others are restored.list_propertiesshows every curated property with its type, range and enum names, plusnot_exposed: the properties Live's API has on that class that this server does not expose yet (from the generated registry, see "Live API reference and drift").get_propertieswithoutnamesreads everything readable; properties that do not apply to that object (audio-only ones on a MIDI clip,armon a return track) are listed underunavailable.set_propertieswithitemschanges several objects in one call.expect: {"name": "Drift"}refuses to write if the object is not the one you meant (index drift after deletes).Virtual mixer properties on tracks:
volumeandpanning(device values; volume 0.85 is 0 dB). The master also hascrossfader(-1 A to 1 B) andcue_volume, and its mixer parameters are addressable too (master/mixer/crossfader,master/mixer/cue_volume). An unset scenetempoortime_signature_numeratorreads as-1.A parameter can be set by what it shows.
set_propertieson a parameter takesvalue(raw, withinmin..max, or a label for a quantized one) ordisplay: the text Live shows ("35 Hz","1.5 kHz","-26 dB","129 ms","4.00 : 1", or a label such as"Low pass"). Live has no inverse of its display formatting, so the script searches by bisection and keeps the nearest displayable value; the precision you write is the precision that must match ("35 Hz"accepts 34.6 Hz,"-26.10 dB"needs two decimals right). A text in another unit, one outside the parameter's displayed range, or one the display cannot show ("4.001 : 1") is refused with the nearest option indetails, never rounded silently.valueanddisplaytogether are refused. The result reports the display before and after.
Views: selection and window state
UI state, never part of the describe_set fingerprint. Read and written with the property tools:
Address | Properties |
|
|
|
|
|
|
|
|
|
|
Selections are addresses of the right kind; selected_device goes through Live's select_device. Writing moves what the user sees, and so do create, load_item and device_action insert; both live suites restore it. Not built: showing, hiding and zooming panels, the Detail pane's tab, select_instrument.
Launching and clip actions
launch:addressis a clip slot or clip (firestarts the clip, or the slot's stop button when it is empty;stop), a scene (fireonly), a track (stop: all its clips) orsong(stop: all clips, transport keeps running). Slot options:quantization(launch quantization for this launch, e.g.q_no_q,q_bar),legato, andrecord_length(beats; empty slots only, Live refuses it on a slot that holds a clip). Scenes takelegatoandselect. Stops takequantized(default true;falsestops at once: Live's slot stop always waits for the next bar, so it goes through the track). Launching never changes the Set's content, but firing a scene also triggers the stop buttons of empty slots, which stops whatever is playing on those tracks.Holding a fire button.
fireis a click, so a gate-mode clip it starts is never released.hold: truepresses the button of a slot, clip or scene andhold: falsereleases it (also ending a gate clip a plainfirestarted). Gate clips play while held; trigger, toggle and repeat clips keep playing after release. A hold takes no other launch option, releases itself afterhold_secondsorhold_beats(default and maximum 120 s, timed on the 10 ms pump) and is refused if already held. Stopping the script releases every hold; a hot-swap keeps them.clip_action(destructive, one undo step):crop,duplicate_loop(MIDI),quantize(gridby name, e.g.rec_q_sixtenth;amount0-1; aligns warp markers on audio clips),quantize_pitch(onepitch, MIDI),scrub/stop_scrub,move_playing_pos.expect: {"name": ...}refuses to act on the wrong clip. Live's own error messages come through unchanged.Grooves:
grooves/Naddresses the groove pool (get_properties/set_properties: name, base grid, timing/quantization/random/velocity amounts, in percent). A clip'sgrooveproperty reads and writes as a groove address. Live reports a groove for every clip (a fresh clip in a one-groove pool reported that groove) and rejectsNone, so an assignment cannot be cleared, grooves are shared objects (changing one changes every clip that uses it), and the API cannot add grooves to the pool.
Notes
get_notes: every field Live stores for each note (id,pitch,start_time,durationin beats,velocity1-127,mute,probability0-1,velocity_deviation-127..127,release_velocity0-127), sorted by time then pitch. Filter by range (from_time/time_span/from_pitch/pitch_span),idsorselected;limit(default 2000) caps the answer andtruncatedsays if more exist. MIDI clips only.write_notes: additive. Every note is validated before anything is written, so one bad note rejects the whole call (max 5000 notes). Returns the new ids and the clip's realnote_count: Live never lets notes of one pitch overlap, so a new note shortens an earlier note that runs into it and one at exactly the same start time replaces it.edit_notes(destructive, one undo step):modify(changes: [{id, ...fields}]orids+set; goes through Live'sapply_note_modifications, which keeps note ids and per-note events),remove(exactly one ofids, a range,all: true),replace(swap the notes in a range, or all, fornotesin one step; if Live refuses the new notes the old ones are put back),duplicate(ids,destination_time,transposition),duplicate_region,select(ids,all,none). Ids that are not in the clip are refused (NOT_FOUND) with nothing changed.
Composition: generate_notes and transform_notes
The music logic is pure TypeScript in src/music (no Live needed to test it); the two tools read notes, run it, and write the result back in one undo step. Times are beats (quarter notes); rates are numbers or strings like 1/16, 1/8t (triplet), 1/4d (dotted); keys are text like C minor, F# dorian, Bb major pentatonic; pitches are numbers or Ableton note names (C3 = 60); seed makes random choices repeatable. Every call accepts dry_run (preview only) and expect (clip name guard), and unknown parameters are refused.
generate_notes(addressof a MIDI clip,generator,params,start_time,mode): euclidean (evenly spread hits, with layers for several drums), drum_pattern (step strings per drum:xhit,Xaccent,oghost,.rest), chord_progression (roman numerals in a key, or chord symbols likeAm7; voice leading, voicings, block/strum/arp/pulse/offbeat styles, optional bass), bassline (follows the chords: root, root+fifth, octaves, walking), melody (seeded random walk inside a scale with contour, rests and a tonic resolution), scale_run, random_notes.modeisadd(default),replace_spanorreplace_all. If the music runs past the clip's loop end the result carries awarning.transform_notes(address,transform,params, optional selection by rangefrom_time/time_span/from_pitch/pitch_spanor byids): in-place transforms keep note ids and per-note settings (transpose by semitones or scale degrees, fit_to_scale, invert, reverse, stretch, shift, humanize, swing, quantize, legato, gate, velocity_shape, strum, recombine); rebuilds replace the selected range in one atomic step (arpeggiate, chop, trill); additions keep the notes and add more (stack, grace_notes, repeat). A transform that would push notes outside 0-127 or before beat 0 refuses and changes nothing.Call either tool with
transform: "help"/generator: "help"(no clip needed) for every entry's kind and parameters.npm run test:scenarioscomposes, transforms, undoes and cleans up on a scratch track through MCP only.
Devices, racks and parameters
Devices, rack chains, drum pads and parameters have addresses under a track (tracks/N, returns/N or master):
tracks/3/devices/0(ordevices/name:EQ Eight), then/parameters/5(orparameters/name:Frequency),/chains/1/devices/2(racks nest as deep as they go),/return_chains/0,/drum_pads/36(by MIDI note) and/drum_pads/36/chains/0/devices/0. Mixers are parameters too:tracks/3/mixer/volume,mixer/panning,mixer/sends/0, andchains/1/mixer/volume.get_devicereads a device with every parameter (index,address,value,min,max,display,default, labels for quantized ones) and, for racks, chains, return chains, occupied drum pads and macro state.changed_only: truelists only the parameters that are not at their default (a quantized parameter has no readable default and is always listed) andnamesonly the parameters you name;parameter_countis always the total.set_propertieswrites a parameter'svalue, checked against that parameter's own range (OUT_OF_RANGE); a quantized parameter also takes its label ("value": "Low-pass"); disabled or macro-mapped parameters refuse (UNAVAILABLE);itemswrites many parameters (or anything else) in one call. Devices havename,on(the Device On switch),collapsed,is_using_compare_preset_band rack state; chains havename,color,mute,solo,volume,panning; padsmuteandsolo(Live ignores those on an empty pad, and the result shows what Live holds). Drum Rack chains also havechoke_group0-16,in_noteandout_note0-127;in_notemoves the chain to another pad, so itsdrum_pads/N/chains/Maddress changes. A CC Control's targets (custom_float_target_0..11,custom_bool_target) take a controller name such as"1: Modulation Wheel".device_action:insert(nameas in Live's browser,position; Live's own refusals such as "Insert audio effects after instruments" come through),delete(needsexpect: {"name"}),duplicate,move(to another track or chain; returns where it landed),save_ab, and rack actionsinsert_chain,add_macro,remove_macro,randomize_macros,store_variation,recall_variationanddelete_variation(byindex: Live silently does nothing when no variation is selected, so the tool refuses instead),copy_pad,clear_pad(needsexpect). Each call is one undo step. A device chain holds one instrument, and Live refuses to duplicate instruments.Device-specific properties and methods. Simpler, Wavetable, Drift, Meld, Eq Eight, Looper, Hybrid Reverb, Roar, Spectral Resonator, Shifter, Drum Cell, CC Control and plug-ins have their own API classes. Their properties are built from the generated registry (exactly what Live offers, and they follow Live updates): integers that Live documents as an enum take its names (
playback_mode: "one_shot",unison_mode: "classic"),X_index+X_listpairs become one propertyXthat takes the label the device shows (voice_mode: "Unison",oscillator_1_wavetable: "Vowels"; the labels are inX_options, read on request because they can be long), and everything else is a plain typed property.get_devicehas aspecificblock (class, property names, callable methods) and, for a Simpler, itssample;list_propertieswith the device address shows the values.A Simpler's sample is addressed as
<device>/sample(start_marker,end_marker,gain,warping,warp_mode,slicing_styleand the slicing settings,slices, ...).device_actioncallruns one of the listed methods with typed arguments (method,args; parameters and clip slots are given as addresses, a Wavetable modulationsourceby name): Simplercrop,reverse,warp_as,warp_double,warp_half,guess_playback_length,replace_sample(absolute path); its sampleinsert_slice,move_slice,remove_slice,clear_slices,reset_slices; Looperrecord,overdub,play,stop,clear,undo,double_length,half_length,double_speed,half_speed,export_to_clip_slot; Wavetableadd_parameter_to_modulation_matrix,set_modulation_value,get_modulation_value,is_parameter_modulatable. Compressor side-chains are routed withrouting.Not in Live's API: deleting a rack chain, loading a preset file from disk by its path (browse to it and use
load_item), plugin parameters beyond those Live has configured.
Browser: browse and load_item
browseaction: "list"(default):pathlikeinstruments/Drift/Bass(no path lists the roots),kind(all,folders,loadable,devices), paged withlimitandoffset; every item carries itspath,uriand flags. Names ignore case and the path is returned canonically; a wrong name lists similar ones.action: "search": Live has no browser search, so the MCP server builds an index the first time (a few seconds: the Remote Script'sbrowser_walkvisits the browser in ~20 ms slices, so Live stays responsive) and keeps it untilrefresh: trueor a restart.querywords must all appear in an item's path (drift bass sub); results are ranked with exact and prefix name matches first. Default roots: instruments, audio_effects, midi_effects, drums, sounds, max_for_live, user_library, packs. The big sample libraries and a few other roots (samples,clips,plugins,current_project) are not in the default set: name them inrootsto index them. The roots also includeuser_folders(the folders in Live's sidebar),colors(Favorites) andlegacy_libraries; name them inrootsto index them (a library can hold tens of thousands of files).action: "index"builds it explicitly.load_item:path(oruri: fast when the index knows it, otherwise a slow walk) andtarget: a track/return/master (loads an instrument, effect or preset and returns the addresses of the devices it added), a clip slot (loads a sample), or a device (hot-swap: replaces it). Loading selects the target in Live's window and is one undo step; it is batchable.action: "preview"plays an item on the preview channel (audible) and"stop_preview"stops it. Paths can repeat when Live has two items with one name in a folder (the first wins): use theurifrom the result for those.
Mixing and routing
Mixer parameters are addressable like any parameter:
tracks/N/mixer/volume,mixer/panning,mixer/sends/M,mixer/track_activator,mixer/left_split_stereoandright_split_stereo, and on the mastermaster/mixer/crossfader,cue_volumeandsong_tempo; chains have their own (.../chains/1/mixer/volume). Tracks also takevolumeandpanningdirectly, pluscrossfade_assign(A,NONE,B),panning_mode(stereo,stereo_split) andcurrent_monitoring_state.routing:addressis a track, return track,master, or a device with a side-chain (a Compressor);directionisinputoroutput.getreturns the currenttypeandchanneland every available type and channel by the display names the mixer shows (Ext. In,Main,Resampling, a track's name).settakestypeand/orchannelby those names; Live only offers valid choices, so it cannot create a routing loop through this call. Feedback guard: routing a track's input from the master or from resampling while its monitoring is not Off refuses (GUARD_FAILED) unlessallow_feedback: true. Resampling: thebouncetool does this for you (scratch track, monitoring Off, inputResampling, record, analyze, remove). Theavailable_types/available_channelslists can be long (a Drum Rack track offers every pad, at each of Pre FX, Post FX and Post Mixer, as a sidechain source):filterkeeps only the names that contain a text,include_available: falseleaves the lists out (then only their counts are reported), andsetleaves them out unlessinclude_available: true.Track delay and solo/cue mode are not in Live's API.
Batches
batch runs several tool calls (ops: [{tool, args}], up to 100) as one round trip and one undo step on Live's main thread, so history undo reverts all of it (see the parameter quirk below) and the user never sees a half-built Set. Later ops can use earlier results: "$0.address" is the address op 0 returned (a whole-string reference keeps its type; inside a longer string it is inserted as text; $1.ids[0] indexes lists), e.g. create a track, then insert a device into $0.address. Arguments are validated in TypeScript before anything is sent (references pass for any type). on_error: "stop" (default) leaves ops that already ran applied as one undo step and skips the rest; "continue" runs everything. A failure comes back as BATCH_FAILED with the outcome of every op. Not batchable: transport, launch, history, the ramp and cancel actions of automation (draw and clear are batchable), follow_actions, record (not undoable edits), transform_notes, generate_notes (they combine calls themselves) and the older browser tools. A failed batch is reported, not rolled back automatically (Live's undo cannot be tried out from outside without touching the user's own history): use history undo deliberately. One Live quirk to know: device parameter writes are always their own undo entries, even inside a batch, so a batch that writes k parameter values needs k+1 undos to revert (the same holds for set_properties with several parameters in items). history returns what each undo reverted.
Set structure, capabilities, transport and history
describe_set: a compact map of the whole Set (song settings, every track/return/master with address, kind, mixer state, devices and clips, every scene). Each track has ahash, and the Set afingerprint, that change only when the Set really changes (playhead, play state and meters are ignored), so a client can detect edits by comparing fingerprints and see which track changed by comparing hashes. The hashes also see edits that are not listed in the output: every MIDI note field (each MIDI clip lists anotes_hash, so a transpose is caught even though the note count stays the same), clip launch mode and quantization, loop and start/end markers, warp, gain, pitch and groove, track sends, crossfader assignment, input/output routing, devices switched off, slots without a stop button, and the global launch quantization (song.clip_trigger_quantization). Device and macro parameter values are not hashed because automation moves them during playback.include_clips: falsegives a lighter summary. The live test suite uses the fingerprint as an invariant: it must be identical before and after a run.include_scenes: falsereplaces the per-scene list byscene_countandscenes_with_settings(scenes that have a name, a tempo or a time signature; the fingerprint still covers every scene), which saves thousands of tokens on a Set with dozens of scenes. The master also reports itscrossfaderandcrossfader_display; the position is performance state like the tempo and is not hashed.get_capabilities: script version and build id, Live version/variant, unavailable features and feature probes (Max for Live, Conversions, note probabilities, Suite devices such as Meld/Roar). A beta build reports variantBetaand editionunknown(the edition is not readable), so rely onfeatures.transport:play,continue,stop,stop_all_clips,tap_tempo,jump_by(amountin beats),next_cue/prev_cue,toggle_cue(adds or removes a cue point at the playhead while playing, at the arrangement insert marker while stopped),capture_midi,capture_and_insert_scene. Returns the resulting transport state. Change tempo or loop settings withset_propertiesonsong.history:undo/redo(steps1-50). It is flagged destructive because undo is global and also reverts edits made by hand.
Creating, duplicating and deleting
create:kindisaudio_track,midi_track,return_track(always appended),scene,midi_clip(addressof an empty clip slot,lengthin beats, default 4),audio_clip,arrangement_midi_clip,arrangement_audio_cliportake_lane(see the tool for their addresses); optionalindex(0-based insertion position, -1 appends),nameandcolor. Returns the new object'saddress. Live snaps colours to its palette, so the result reports the colour it actually applied.duplicate: a regular track (tracks/N, with devices and clips), a scene, or a clip slot (tracks/N/slots/M); the copy lands right after the source and the new address is returned. For a clip slot,tocopies the clip into another empty slot (any scene, or another track of the same type); an occupied destination is refused, because Live would replace it silently. Return tracks and the master cannot be duplicated.delete(destructive): a track, return track, scene or clip.expect: {"name": ...}is mandatory: indices shift after every create/delete, and a stale index is exactly how the wrong object gets removed, so the call is refused (GUARD_FAILED) when the object's current name differs. The master cannot be deleted, and a Set always keeps at least one scene. Each call is one undo step, andhistoryundobrings a deleted object back.Cue points can be read (
cue_points/N, listed bydescribe_setand part of its fingerprint), renamed withset_propertiesand jumped to withlaunch. They cannot be created or deleted at a chosen time: Live'sset_or_delete_cueacts at the arrangement insert marker, which only the user controls, socreate/deleterefuse withUNAVAILABLE.transport toggle_cuecalls it as is (at the playhead while playing, at the insert marker while stopped).Read-only state you can watch:
app(average_process_usage,peak_process_usage, open dialogs), Song recording/count-in/Link/tempo-follower flags, track meters, clip slotplaying_status. Recording and network toggles (record_mode,session_record, Link) are read-only here on purpose: they belong to the gated record tools.Live renumbers default track names when tracks are inserted or removed ("12-Acid..." becomes "13-Acid..."), so re-read addresses after structural changes instead of caching them.
Addressing: track types, racks and parameter details
The Remote Script still accepts the older track-number argument forms on its commands (its tests use them); every MCP tool takes addresses:
track_type:"track"(default),"return"(track_indexcounts return tracks) or"master"(track_indexis ignored; pass 0). The master and return tracks can hold devices, so they can be read, loaded onto, set, ramped and mixed like any other. Clip automation is not available on them (they have no clips). Live prefixes return track names with their letter (A-Reverb), so write the bare name when renaming.device_path: reaches devices inside racks. It alternates device and chain selectors and ends on a device index, e.g.[0, 2, 1]is device 1 in chain 2 of the rack at device 0. A chain selector is a chain index,{"pad": 36}(or{"pad": 36, "chain": 1}) for a drum pad, or{"return": 0}for a return chain. Use it instead ofdevice_index.
get_device lists, for each parameter: index, name, value, min, max, is_quantized, is_enabled, the display string Live shows ("14.2 kHz"), a default for continuous parameters and value_items labels for quantized ones (Filter Type 0 is "Low-pass"). For a rack it also lists its chains, return_chains and occupied drum_pads, so you can see what a device_path can reach; every entry carries its address.
Not covered: device properties Live keeps outside parameters (Wavetable's oscillator wavetable selection, Drift's mod matrix, unison and voice modes), and VST/AU plugin parameters beyond the ones Live has configured.
Development
introspect_api(bridge command, no MCP tool): withoutmodule, returns the running Live's version and the API module list; withmodule, describes every class in it (properties with getter/setter types, method signatures, listeners, enums). It reads class-level descriptors only, so it cannot change the Set. It feedsnpm run dump-api.eval_python: Evaluate raw Python on the Remote Script instance. Executes arbitrary code inside Live, so the tool is hidden and refused unlessABLETON_MCP_ALLOW_EVAL=1is set in the MCP server's environment (set it in your MCP config'senvfor development) and the opt-in file~/.ableton-mcp-server/allow_evalexists (see Security). Failures come back as errors, not success strings.
Troubleshooting
Errors, timing and undo
Every bridge response carries
elapsed_ms(time spent inside Live). Errors carry a stablecode:OUT_OF_RANGE,NOT_FOUND,INVALID_ARGUMENT,TYPE_ERROR,LIVE_ERROR(Live itself refused),UNKNOWN_COMMAND,INVALID_REQUEST,INTERNAL_ERROR. The Node client exposes it aserror.bridgeCode.Every writing command runs in its own undo step, so one
undoin Live reverts exactly one tool call. (Without explicit steps Live coalesces all API edits into a single giant step.) Read-only and no-op commands add no undo entries. One exception: Live records a track rename as its own undo entry even inside a grouped call, so undoing aset_propertiesthat renames a track can take two undos (clip and scene renames group normally). Ramps run outside any step and each becomes one undo step of its own.
Audio Analysis Requirements
Install
ffmpegandffprobeon the machine running the MCP server. SetFFMPEG_PATHandFFPROBE_PATHif they are not onPATH.The MCP host must be able to read the same source-file path reported by Ableton Live. Analysis reads the first 60 seconds for signal statistics and frequency bands; integrated loudness is measured across the full file.
Not decodable by ffmpeg, so these return an "unsupported source" error: Ableton-compressed
.aiffiles (Live pack samples, AIFF-C codecable) and REX files (.rx2). Analyze a WAV or uncompressed AIFF instead.Audio analysis is local DSP and file metadata only. It does not provide AI instrument recognition, transcription, key detection, or tempo estimation.
Slow responses (hundreds of milliseconds per call): the timer-pumped server answers in about 10 ms. If calls are much slower, the Remote Script in your User Library is probably an older version (the log line
Server started on port 9877 (timer pump, 10 ms)confirms the new one) or your Live is older than Live 12 (Live.Base.Timeris required; the log then says "AbletonMCP requires Live 12 or later"). Runnpm run deploy -- --check, thennpm run deployand restart Live.AbletonMCP is not listed under Control Surface:
Live only reads the User Library configured in Preferences → Library. Confirm the script is in that library's
Remote Scripts/AbletonMCP/__init__.py, not a different one.Confirm the User Library drive is mounted, then restart Live.
Check
Log.txt(in Live's preferences folder) forRemoteScriptErrorentries mentioning AbletonMCP.
Connection Refused (
127.0.0.1:9877):Ensure Ableton Live is open and
AbletonMCPis selected as an active Control Surface in Live Preferences.Check if port 9877 is blocked by firewall or in use by another application.
Unsupported Capability Errors:
The MCP server queries
get_script_infoon startup. If a tool requires a Remote Script command that is missing, it returns a clear unsupported-capability error. Runnpm run deploy(it copies the wholeremote-script/AbletonMCPpackage into your User Library) and restart Live.
Group Track Errors:
Group tracks and Master/Return tracks do not have arm buttons. The
AbletonMCPscript handles arm state safely viacan_be_armedchecks.
What Live's API cannot do
See docs/beyond-the-api.md for the verdicts: what is emulated here (follow actions, arrangement automation, browser search, bounce by resampling) and what is simply not available (export, save, grouping, freeze, MIDI clock and key mapping).
Testing
npm test # offline: Remote Script logic against a mocked Live API (no Live needed)
npm run test:live # integration: a running Live with AbletonMCP enabled
npm run test:mcp # MCP layer: tool schemas, handlers and errors over stdio (needs Live)
npm run test:scenarios # end-to-end composition scenario through MCP tools only (needs Live)The live and MCP suites work on your open Set: everything they create is named MCP TEST ... and removed again, and the run fails if the Set's fingerprint or what is playing (transport, tempo, playhead when stopped, playing clips) differs afterwards. They run with the transport stopped or playing. A check that cannot run on your Set (no audio clip, an empty groove pool, ...) or in the current transport state is reported as skipped, not passed, and listed at the end; MCP_TEST_STRICT=1 npm run test:live turns skips for missing Set content into failures, so you know every check really ran.
Live API reference and drift
Live's Python API is undocumented and changes between versions (a beta most of all), so the repo keeps a machine-readable copy and checks it:
npm run dump-api # write docs/live-api/<live version>.json from the running Live (243 KB, sorted, diff-friendly)
npm run build-registry # regenerate remote-script/AbletonMCP/registry_data.json from the newest dump (-- --check to verify)
npm run test:drift # compare the running Live with the committed dump; exit 1 and list added/removed/changed entriesregistry_data.json ships inside the Remote Script: it records, for the Song, Track, Scene, ClipSlot and Clip classes, the type Live reports for every property's getter and setter, plus the enum tables the property table refers to. The offline tests check the hand-written property table against it (a property must exist, be writable when we say so, and have a compatible type) and generate fakes from it that behave like Boost.Python (a wrong setter type raises), so every writable property gets an automatic set/read-back. After a Live update, run npm run test:drift; on drift, review the list, run dump-api and build-registry, fix any property the offline tests now flag, and commit the new dump.
The live suites use a scratch clip on a MIDI track with a device, restore every parameter they touch, and delete what they create. Run them with the transport playing to include the check that Live's parameter follows a drawn envelope during playback. Audio will briefly change while they run.
How to Add a New Live-Side Command
Implement it in the matching module under
remote-script/AbletonMCP/(session.py,tracks.py,clips.py,devices.py,automation.py,browser.py; each is a mixin class onAbletonMCP). Write the implementation as a method that raises on failure (ValueError,IndexError, ...; the dispatcher turns them into coded error responses).Register a thin adapter with
@commandin the same class:@command("my_new_feature", writes=True) # writes=True: runs in its own undo step; destructive=True flags deletes def _cmd_my_new_feature(self, params): return self._my_new_feature(params.get("track_index", 0))The registry drives dispatch, undo wrapping and the capability list (no other list to update). Everything runs on Live's main thread, so keep handlers quick: a slow one blocks Live.
Add the MCP tool: a definition in
src/tools/definitions.ts(withrequiredCapability: 'my_new_feature'), a case insrc/tools/handlers.tsthat callsthis.client.sendCommand('my_new_feature', {...}), and types insrc/types/ableton.tsif needed. Keep the description to what a first call needs and put the long form in the spec'shelp(declarehelp: HELP_ARGin the schema): the size budget leaves little room.Test it: offline (
test/remote_script_test.py, extend the fakes), live (test/live-integration.mjs, with cleanup) and MCP (test/mcp-tools.mjs).Build and deploy:
npm run build && npm run deploy, restart Live (ornpm run hotswapwhile iterating).
License
MIT License. See LICENSE for details.
Available Tools
32 toolsanalyze_audio_clipARead-onlyIdempotent
Analyze the source file of an audio clip (address: 'tracks/N/slots/M/clip') locally with ffmpeg: format metadata, integrated loudness (LUFS), sample and true peak, RMS and an approximate six-band frequency profile, next to the clip's own settings (warping, gain, pitch). Needs ffmpeg and ffprobe on the MCP host. Compressed Ableton .aif files and REX files cannot be analyzed and say so.
Inputs: address (required).
batchADestructive
Run several tools in ONE round trip and ONE undo step (history undo reverts all of it; Live records each device parameter write as its own extra undo entry). ops: [{tool, args}] with each tool's usual arguments, run in order on Live's main thread. Later ops can use earlier results: '$0.address' is the address op 0 returned (a whole-string reference keeps its type, e.g. a number; inside a longer string it is inserted as text; '$1.ids[0]' indexes lists). Example: [{tool:'create',args:{kind:'midi_track',name:'Bass'}},{tool:'device_action',args:{action:'insert',address:'$0.address',name:'Drift'}}]. on_error: stop (default; ops already applied stay applied as one undo step, later ones do not run) or continue. A failure returns BATCH_FAILED with every op's outcome. Up to 100 ops. Batchable tools: get_properties, set_properties, list_properties, describe_set, get_capabilities, get_notes, get_device, create, duplicate, delete, write_notes, edit_notes, clip_action, device_action, routing, draw_automation, get_automation, clear_automation, load_item. Not batchable: transport, launch, history, ramp_parameter, cancel_ramps, record, follow_actions (not undoable edits), transform_notes, generate_notes, browse, analyze_audio_clip and convert (they combine calls or wait).
Inputs: ops (required), on_error.
browseARead-onlyIdempotent
Explore and search Live's browser (instruments, presets, effects, drum kits, packs, user library...). action list (default): path like 'instruments/Drift/Bass' (no path lists the roots), kind all|folders|loadable|devices, paged with limit (default 100) and offset; every item has a path to browse deeper or load. search: query words (all must appear in the item's path, e.g. 'drift bass sub') over the preset and device names of roots (default: instruments, audio_effects, midi_effects, drums, sounds, max_for_live, user_library, packs); kind loadable (default), devices or folders; ranked with exact and prefix name matches first. The first search builds an index by walking the browser in short slices (a few seconds, Live stays responsive) and keeps it until refresh: true; the big sample libraries ('samples', 'clips') are only indexed if you name them in roots. index: (re)build the index for roots. Load what you find with load_item.
Inputs: kind, path, limit, query, +4 more.
cancel_rampsAIdempotent
Cancel the ramp on one parameter, or every active ramp when no parameter is given. The parameter stays wherever the ramp had taken it.
Inputs: parameter.
clear_automationADestructive
Clear one parameter's envelope on a Session clip (clip + parameter), or every envelope on the clip when no parameter is given. Returns whether an envelope existed. One undo step.
Inputs: clip (required), parameter.
clip_actionADestructive
Edit a clip in place: crop (discard everything outside the loop), duplicate_loop (loop twice as long, notes and envelopes copied; MIDI only), quantize (grid: rec_q_quarter, rec_q_eight, rec_q_eight_triplet, rec_q_sixtenth, rec_q_thirtysecond...; amount 0-1, default 1; on audio clips it aligns warp markers), quantize_pitch (like quantize for one pitch, 0-127; MIDI only), scrub (position in beats) / stop_scrub, move_playing_pos (amount beats, negative goes back; clip must be playing), and on AUDIO clips add_warp_marker (beat_time; sample_time = seconds in the file, default: where it changes nothing), move_warp_marker (beat_time of an existing marker, distance in beats: this is how audio is retimed) and remove_warp_marker (beat_time); current markers are the clip's warp_markers property. to_arrangement copies a SESSION clip onto its track's arrangement timeline at time (beats) and returns the new clip's address; a clip that carries automation envelopes turns them into arrangement track automation (the envelopes do not stay on the copy; the result lists the parameters now automated), which is how arrangement automation is written: draw_automation on the Session clip first. address must be a clip. crop and quantize rewrite content: one undo step each, and expect ({name}) refuses to act on the wrong clip. Returns the clip's length and loop after the action.
Inputs: action (required), address (required), grid, time, +7 more.
convertA
Live's audio conversions (edition dependent: Live's own refusal comes through). action: check (can this audio clip become MIDI?), audio_to_midi (type harmony|melody|drums: a new MIDI track with the extracted notes), simpler_track (a new MIDI track with a Simpler playing the clip), drum_rack_from_clip (a new track with a Drum Rack, the clip on the first pad), pad_to_track (address of a drum pad: its chain becomes its own MIDI track), slice_to_drum_rack (address of a Simpler in Slicing mode: every slice gets a pad). address is the audio clip (or pad, or Simpler). Returns the new tracks with their addresses, devices and clips; audio_to_midi finishes in the background in Live, so this waits for the new track (up to 15 s). One undo step.
Inputs: action (required), address (required), type.
createA
Create a track, return track, scene, MIDI clip, audio clip, arrangement clip or take lane and get back its address. kind: audio_track, midi_track, return_track (always appended), scene, audio_clip (address of an EMPTY slot on an audio track and path: an absolute path to an audio file; it is auto-warped by Live's settings and the result reports its length), arrangement_midi_clip (address of a track or take lane, time in beats on the timeline, length default 4) and arrangement_audio_clip (address, time, path), take_lane (address of a track), midi_clip (address of an EMPTY clip slot like 'tracks/2/slots/0', length in beats, default 4). Cue points cannot be created (Live only toggles them at the arrangement insert marker, which is UI state). For tracks and scenes index is the insertion position (0-based; omit or -1 to append; existing objects shift, so re-read addresses afterwards). Optional name and color (RGB integer; Live snaps it to the nearest palette colour and the result reports the colour it applied) are applied immediately. One undo step.
Inputs: kind (required), name, path, time, +4 more.
deleteADestructive
Delete a track ('tracks/N'), return track ('returns/N'), scene ('scenes/N'), clip ('tracks/N/slots/M/clip' or an arrangement clip 'tracks/N/arrangement/M'); cue points cannot be deleted (Live only toggles them at the arrangement insert marker). DESTRUCTIVE (one undo step brings it back). expect is mandatory: {"name": <the object's current name>}. Indices shift after every create/delete, so read the object first; if its name no longer matches, nothing is deleted (GUARD_FAILED). The master track cannot be deleted, and a Set always keeps at least one scene.
Inputs: expect (required), address (required).
describe_setARead-onlyIdempotent
A compact map of the whole Set: song settings, every track (regular, return, master) with its address, kind, mixer state, devices and clips, and every scene. Each track has a hash and the Set has a fingerprint that only change when the Set really changes (playhead, play state and meters are ignored): compare fingerprints to detect edits, or hashes to see which track changed. Set include_clips=false for a lighter summary (clip counts and hashes stay).
Inputs: include_clips.
device_actionADestructive
Change device structure. action: insert (address of a track, return track, master or rack chain; name as in Live's browser, e.g. 'EQ Eight', 'Drum Rack', 'Audio Effect Rack'; optional position, default end; Live refuses bad placements such as effects before an instrument and says why), delete (address of a device; expect {name} mandatory), duplicate (a device; the copy goes right after it), move (address of a device, to a track or chain, optional position; returns where it landed), save_ab (store the current preset in the A/B compare slot), and for racks: insert_chain (optional position), add_macro, remove_macro, randomize_macros, store_variation, recall_variation (index selects the variation first; else the selected one; which last = the last recalled), delete_variation (index or the selected one; Live does nothing when none is selected, so this refuses), re_enable_automation (address of a parameter whose playing clip automation was overridden, by hand or by any write through this bridge such as set_properties or ramp_parameter, or 'song' for all: hands it back to the automation), call (address of a device or of a Simpler's '.../sample': method and args object, one of the methods get_device lists for it: crop, reverse, warp_as, replace_sample on a Simpler; insert_slice, move_slice, remove_slice on its sample; record, overdub, stop, clear, export_to_clip_slot on a Looper; set_modulation_value on a Wavetable), copy_pad (Drum Rack: from_note and to_note), clear_pad (address of a drum pad, e.g. 'tracks/1/devices/0/drum_pads/36'; expect {name} mandatory). Returns the new address where one is created. One undo step. DESTRUCTIVE for delete, clear_pad, remove_macro, delete_variation.
Inputs: action (required), address (required), to, args, +8 more.
draw_automationADestructive
Draw a clip automation envelope for a device or mixer parameter, inside Live (tempo-locked, sample-accurate). clip: a Session clip address ('tracks/2/slots/0/clip'); parameter: a parameter address on that clip's track ('tracks/2/devices/0/parameters/5', 'tracks/2/mixer/volume', 'tracks/2/mixer/sends/0'). points: [{time, value, curve?}] with time in beats from clip start and value in the parameter's own units (get_device shows min/max). The default style 'breakpoints' writes real envelope breakpoints (straight lines between them; smooth/ease curves get a breakpoint every resolution beats, default 0.25; step curves make jumps), so it is editable in Live and light. 'steps' writes a staircase of fine steps instead (resolution default 0.125). curve: linear (default), step, smooth, ease_in, ease_out (a point's own curve shapes the segment after it). mode replace (default) rebuilds the parameter's envelope, merge rewrites only the drawn range (breakpoints outside connect to it by straight lines). With hold (default true) the clip edges are filled with the first/last value. The result includes a readback of Live's stored values. Arrangement clips have no envelopes in Live's API. One undo step per call.
Inputs: clip (required), points (required), parameter (required), hold, +4 more.
duplicateA
Duplicate a regular track ('tracks/N', with its devices and clips), a scene ('scenes/N') or a clip slot ('tracks/N/slots/M', with its clip). The copy lands right after the source (a duplicated slot goes into the next scene); returns the new address. Return tracks and the master cannot be duplicated.
Inputs: address (required).
edit_notesADestructive
Change notes that already exist in a MIDI clip. action: modify (changes: [{id, }] or ids + set: {field: value}; keeps note ids and per-note events), remove (exactly one of ids, a range from_time/time_span/from_pitch/pitch_span, or all: true), replace (swap the notes in a range, or all notes, for notes in one step; if Live refuses the new notes the old ones are restored; omit notes to clear the range), duplicate (ids, optional destination_time and transposition semitones), duplicate_region (start, length, destination_time, optional pitch and transposition) and select (ids, all: true or none: true, for the editor's selection). Get ids from get_notes; unknown ids are refused (NOT_FOUND) with nothing changed. expect ({name}) guards against the wrong clip. One undo step; DESTRUCTIVE (remove, replace).
Inputs: action (required), address (required), all, ids, +14 more.
follow_actionsA
Clip follow actions, which Live's API does not have, emulated inside Live on the Remote Script's 10 ms timer. set (address of a Session clip; actions: names or {action, weight} objects, chosen by weight each pass: next, previous, first, last, any, other, again, stop, all relative to the clip's own track; after_bars or after_beats, default one pass through the clip) launches the chosen clip when the clip has played that long. It only acts while the transport runs and the clip plays, once per pass, and launches through Live's normal clip launch, so Live's launch quantization decides the exact moment (the trigger fires ~40 ms early to catch the grid point; use q_none or a matching quantization for tight timing). clear (an address, or everything) stops them at once; status lists them. Configurations live in memory only: they are lost when Live restarts or the script reloads. Not undoable, not batchable.
Inputs: action, actions, address, after_bars, +1 more.
generate_notesADestructive
Compose notes into a MIDI clip from a generator, in one undo step. address: a MIDI clip (create one with create kind midi_clip; the result warns if the music runs past its loop end); generator + params. Generators: euclidean, drum_pattern, chord_progression, bassline, melody, scale_run, random_notes. Use generator 'help' for every generator's parameters (keys, chord progressions by roman numeral or symbol, drum step strings, seeds...). start_time offsets everything (beats). mode: add (default; keeps existing notes), replace_span (replaces notes inside the generated span) or replace_all. dry_run previews.
Inputs: generator (required), mode, expect, params, +3 more.
get_automationARead-onlyIdempotent
Read a Session clip's automation: every envelope on the clip (or only parameter's) as breakpoints in the parameter's own units: {time, value, jump_from?} (jump_from marks a step: the value just before it), with the parameter's address, name and range. max_points caps each envelope (default 500; truncated says if more exist). Use it to inspect what a clip already does before drawing over it.
Inputs: clip (required), parameter, max_points.
get_capabilitiesARead-onlyIdempotent
What this Live and this bridge can do: script version and build id, Live version and variant, unavailable features, and feature probes (Max for Live present, Conversions, note probabilities, Suite devices such as Meld/Roar). A beta build reports variant 'Beta' and edition 'unknown' because the edition is not readable: rely on features, never on the edition. Also lists every bridge command.
Inputs: no named parameters.
get_deviceARead-onlyIdempotent
Read a device with all its parameters (index, address, value, min, max, display as Live shows it, default, value_items labels for quantized ones, is_enabled) and, for racks, its chains, return chains, occupied drum pads (each with the addresses of the devices it holds) and macro state. address: 'tracks/2/devices/0', 'returns/0/devices/1', 'master/devices/0' or nested 'tracks/2/devices/0/chains/1/devices/2' (a name selector works too: 'tracks/2/devices/name:EQ Eight'). Device names per track are in describe_set. Change a parameter with set_properties on its address ('.../parameters/5' or '.../parameters/name:Frequency', field value; a quantized parameter also takes its label such as 'Low-pass'); many at once with items. Devices also have properties (name, on, collapsed) and racks chains, pads and mixers have theirs: see list_properties. Simpler, Wavetable, Drift, Meld, Eq Eight, Looper, Hybrid Reverb, Roar, Spectral Resonator, Shifter, Drum Cell and plug-ins also have their own properties and methods: the result's specific block lists them (choices such as a wavetable or voice mode are properties that take the label the device shows; ..._options lists the labels), and a Simpler's sample is at '/sample'.
Inputs: address (required).
get_healthA
Ping Ableton Live Remote Script TCP bridge, report connection status, script version, and available capabilities.
Inputs: no named parameters.
get_notesARead-onlyIdempotent
Read the MIDI notes of a clip (address: 'tracks/N/slots/M/clip', MIDI clips only) with every field Live stores: id (stable while the note exists; use it with edit_notes), pitch, start_time and duration (beats), velocity (1-127), mute, probability (0-1), velocity_deviation (-127..127) and release_velocity (0-127). Sorted by start_time then pitch. Without filters it returns all notes (capped by limit, default 2000; truncated says if more exist). Filter by a range (from_time/time_span in beats, from_pitch/pitch_span), by ids, or with selected: true for the notes selected in Live's editor. Also returns the clip's length and loop.
Inputs: address (required), ids, limit, selected, +4 more.
get_propertiesARead-onlyIdempotent
Read properties of the Song, a Track, Scene, ClipSlot, Clip, Groove, cue point, the app, or a device, rack chain, drum pad or device parameter. Addresses: 'song', 'master', 'tracks/N', 'returns/N', 'scenes/N', 'tracks/N/slots/M' (clip slot) and 'tracks/N/slots/M/clip', 'tracks/N/arrangement/M' (arrangement clips in time order), 'tracks/N/take_lanes/K', 'tracks/N/devices/M' (also returns/N and master; then '/parameters/P', '/sample' for a Simpler, '/chains/C/devices/...', '/drum_pads/NOTE', '/mixer/volume'), 'grooves/N' (groove pool), 'cue_points/N' and 'app' (the Live application). Indices are 0-based. A name selector works anywhere a number does, e.g. 'tracks/name:Drift' (exact match; several matches is an error that lists their indices). Give names for specific properties, or omit it to read every readable property (properties that do not apply to the object, e.g. audio-only ones on a MIDI clip, are listed under unavailable). Enum values come back as names. Use list_properties to see what exists.
Inputs: address (required), names.
historyADestructive
Undo or redo in Live. Every writing tool call is one undo step, so undo reverts exactly the last call (exceptions: Live records a track rename and every device parameter write as their own entries, so a call or batch that writes several parameters takes that many extra undos). Undo is global: it also reverts edits the user made by hand, so use it deliberately. steps (1-50, default 1) repeats it; returns the names of what was undone and whether more undo/redo is available.
Inputs: action (required), steps.
launchA
Fire or stop things in the Session view. address is a clip slot or clip ('tracks/N/slots/M[/clip]': fire starts the clip, or the slot's stop button when empty; stop stops it), a scene ('scenes/N': fire only) , a track ('tracks/N': stop all its clips), a cue point ('cue_points/N': jump there) or 'song' (stop all clips, transport keeps running). Options for a slot: quantization overrides the launch quantization for this launch (q_no_q, q_bar, q_half...), legato starts the clip in sync with the one playing, record_length (beats, empty slot only) starts a recording that ends by itself. Scenes take legato and select (false keeps the selection where it is). Stops take quantized (default true; false stops immediately). Launching does not change the Set's content. Arrangement clips cannot be launched (use transport).
Inputs: address (required), action, legato, select, +3 more.
list_propertiesARead-onlyIdempotent
List the properties get_properties/set_properties know for an object kind: type, whether it is writable, allowed enum values and ranges. Give an address (its kind is used) or a kind: song, track, scene, slot, clip, lane, groove, cue, app, device, chain, pad, parameter or sample. With an address of a device or sample the listing includes its device-specific properties (choices show their labels) and methods.
Inputs: kind, address.
load_itemA
Load a browser item (from browse) by path, or by uri (fast when it is in the search index, otherwise slow: it walks the whole browser). target: a track ('tracks/2', 'returns/0', 'master') loads an instrument, effect or preset onto it and returns the addresses of the devices it added; a clip slot ('tracks/2/slots/0') loads a sample into it; a device ('tracks/2/devices/0') hot-swaps it for the item. Loading selects the target in Live's window. action preview plays an item on the preview channel without loading it (stop_preview stops it; audible, and it needs no target). Folders and categories cannot be loaded: browse into them. One undo step.
Inputs: uri, path, action, target.
ramp_parameterA
Sweep a device or mixer parameter (parameter address) to to over beats or seconds, driven inside Live at about 100 updates per second. For live gestures; use draw_automation for motion that belongs to a looping clip. from defaults to the current value; curve: linear, smooth, ease_in, ease_out. A new ramp on the same parameter replaces the old one. Values are in the parameter's own units. Ramps are not undoable and cannot run inside a batch.
Inputs: to (required), parameter (required), from, beats, +2 more.
routingAIdempotent
Read or change a track's (or a side-chain device's) input or output routing by the display names the mixer shows. address: 'tracks/N', 'returns/N', 'master' or a device with a side-chain such as a Compressor ('tracks/2/devices/1', input). direction: input or output. action get (default) returns the current type and channel and everything available_types / available_channels (category: external, resampling, master, track, parent_group_track, none...). set takes type and/or channel (exact display names; channels depend on the type, so set both in one call); Live only offers valid choices. Feedback guard: routing a track's INPUT from the master or from resampling while its monitoring is not Off can loop the sound back at full level, so it refuses unless allow_feedback: true (or monitoring is set to OFF first with set_properties current_monitoring_state). One undo step.
Inputs: address (required), direction (required), type, action, +2 more.
set_propertiesAIdempotent
Set properties on the Song, a Track, Scene, ClipSlot, Clip, Groove, cue point, device, rack chain, drum pad or device PARAMETER (property value, checked against the parameter's own range). A clip's groove is set to a groove address (grooves/N). Addresses: 'song', 'master', 'tracks/N', 'returns/N', 'scenes/N', 'tracks/N/slots/M' (clip slot) and 'tracks/N/slots/M/clip', 'tracks/N/arrangement/M' (arrangement clips in time order), 'tracks/N/take_lanes/K', 'tracks/N/devices/M' (also returns/N and master; then '/parameters/P', '/sample' for a Simpler, '/chains/C/devices/...', '/drum_pads/NOTE', '/mixer/volume'), 'grooves/N' (groove pool), 'cue_points/N' and 'app' (the Live application). Indices are 0-based. A name selector works anywhere a number does, e.g. 'tracks/name:Drift' (exact match; several matches is an error that lists their indices). Values are checked strictly (booleans must be true/false, integers whole numbers, enums given by name; see list_properties). Interdependent properties (e.g. loop_start/loop_end) can be set together in any order, and the call is all-or-nothing: if one write fails, the others are restored. Returns each property's previous and new value. Each call is one undo step in Live. Give address + properties, or items to change several objects in one call. expect ({name}) refuses to write if the object is not the one you meant.
Inputs: items, expect, address, properties.
transform_notesADestructive
Change notes already in a MIDI clip with a music transform: reads the notes, transforms them, writes the result in ONE undo step. address: a MIDI clip; transform + params. Transforms: transpose, fit_to_scale, invert, reverse, stretch, shift, humanize, swing, quantize, legato, gate, velocity_shape, strum, recombine, arpeggiate, chop, stack, grace_notes, trill, repeat. Use transform 'help' for every transform's parameters and kind. Select notes with a range (from_time/time_span/from_pitch/pitch_span) or, for in-place transforms, ids from get_notes; default is every note. dry_run previews without writing. In-place transforms keep note ids and settings; rebuilds replace the selected notes in one step; additions keep them. Notes that would land outside MIDI range or before beat 0 refuse in-place transforms. Times are beats, pitches C3 = 60.
Inputs: transform (required), ids, expect, params, +6 more.
transportA
Transport and playhead actions: play, continue, stop, stop_all_clips, tap_tempo, jump_by (needs amount: beats, negative jumps back), next_cue / prev_cue (jump to a cue point), toggle_cue (add or remove a cue point at the playhead while playing, or at the arrangement insert marker while stopped, which only the user controls), capture_midi (keep recently played MIDI) and capture_and_insert_scene. Returns the resulting transport state. To change tempo or loop settings use set_properties on 'song'. For undo/redo use the history tool.
Inputs: action (required), amount.
write_notesA
Add MIDI notes to a clip (additive: existing notes stay). Each note: pitch (0-127), start_time and duration (beats, duration > 0) and optionally velocity (1-127, default 100), mute, probability (0-1, default 1), velocity_deviation (-127..127, default 0), release_velocity (0-127, default 64). Every note is validated before anything is written, so a bad note rejects the whole call (up to 5000 notes per call). Live never lets notes of one pitch overlap: a new note shortens an earlier note of that pitch that runs into it, and one starting at exactly the same time replaces it, so note_count in the result can be lower than expected. Returns the new note ids. One undo step. To replace or change existing notes use edit_notes.
Inputs: notes (required), address (required), expect.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 32 tools
Most tools have clearly distinct purposes, but a few read-oriented tools overlap: get_properties, get_device, and list_properties all inspect object state, and get_health/get_capabilities both report versions and feature probes. Descriptions help tell them apart, but an agent could still hesitate between them. Overall, the set is well differentiated for a large surface.
The server mostly uses snake_case, but mixes verb_noun names (get_properties, draw_automation, edit_notes) with single verbs (create, delete, launch, browse) and noun_action names (clip_action, device_action, follow_actions). This produces a readable but inconsistent pattern across 32 tools. A stricter verb_noun convention would make the set more predictable.
32 tools is heavy for an MCP server, and several families (properties, automation, notes, clip/device actions) could be consolidated. The domain—Ableton Live’s full production environment—is genuinely broad, so the count is defensible, but it sits at the borderline where selection effort becomes significant.
The surface covers much of Live’s API: tracks, scenes, clips, devices, parameters, notes, automation, routing, browser, conversions, and undo. Notable gaps include arrangement recording (transport lacks a record action), export/render, and track grouping, though most core workflows can be accomplished with workarounds. The set is fairly complete for its scope.
Maintenance
Related MCP Connectors
Remote MCP server for audio stem separation, denoise, reverb, and MIDI export.
Create, co-edit, analyze, publish, and export collaborative step-sequencer sessions through MCP.
Remote MCP server for full read/write access to a Zotero library
OSC ↔ MIDI bridge for synthesizers and DAWs, with the SynthHub catalogue. A MIDI MCP and OSC MCP.
Related MCP Servers
- AlicenseBqualityCmaintenanceTurns Ableton Live into an MCP-accessible control surface, providing tools for controlling transport, tracks, clips, and devices, as well as resources for reading live state.510028 PyPI3MIT
- AlicenseAqualityDmaintenanceA loopback-bound MCP server that enables MCP clients to control Ableton Live (set tempo, create tracks/clips, add MIDI notes, start/stop playback) over a secure local-only connection.21MIT
- AlicenseBqualityDmaintenanceLocal MCP server for inspecting and controlling Ableton Live through a local HTTP bridge. Enables LLMs to perform production workflows like MIDI import, track editing, mixing, mastering, and export.5927 npmMIT
- AlicenseNot gradedqualityCmaintenanceAn MCP server to control Ableton Live via the Live API, offering curated tools for transport, tracks, clips, devices, automation, and more, plus a generic layer to access the entire Live Object Model.1MIT