Ableton Live MCP Server

v2.0.1
io.github.wstierhout/ableton-live-mcp Checked 4 days ago Published 5 days ago

Control Ableton Live with 73 typed tools for music production, AI Ears, and offline .als analysis.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_session_snapshot

One-call overview of the whole set: tempo, time signature, play state, and for every track its id, name, type, mute/solo/arm, volume, Session-slot clip count, and device names, plus return-track names. Arrangement clips are not counted; inspect get_arrangement_clips before deleting a track. Prefer this over calling get_track_info on every track.

get_session_info

Return global Live-set and transport state without modifying the set. Includes tempo, time signature, playback position/state, Arrangement loop, track/return/scene counts, scene names, key/scale, record mode, launch quantization, Master volume/pan, and bridge version/capabilities. Pass `operation_id` to inspect a retained receipt, or set `include_locators`, `include_scale` (scale intervals & tuning), or `include_grooves` (Groove Pool).

ParameterTypeDescription
include_groovesboolean
include_locatorsboolean
include_scaleboolean
operation_idOptional receipt ID from an uncertain command or batch error.

transport

Control Live's transport, playhead, and global playback actions. - play / stop / seek (requires `time` in beats): confirmed after a later Live tick. - continue: resume from current playhead without rewinding. - jump_by (requires `beats`), jump_to_cue (`direction`: 'next'|'prev'), jump_to_locator (requires `locator_index` from get_session_info(include_locators=true)). - stop_all_clips, back_to_arranger, re_enable_automation, capture_midi, tap_tempo, arrangement_view (switch Live's main window to Arrangement view).

ParameterTypeDescription
action *string
beatsRelative beat offset for action='jump_by' (negative moves back).
directionDirection for action='jump_to_cue' (default 'next').
locator_indexZero-based locator index for action='jump_to_locator'.
time

set_session_settings

Update one or more global session settings in a single call. Omitted fields stay unchanged. Updating any `loop_*` field preserves the other loop bounds automatically and waits for Live's confirmed loop readback. Non-loop settings are sent together in one batch when multiple are provided.

ParameterTypeDescription
ableton_linkOptional state change: true turns it on, false turns it off.
arrangement_overdubOptional state change: true turns it on, false turns it off.
clip_trigger_quantizationGlobal launch quantization: 0=None, 4=1 bar, 7=1/4 note, 13=1/32.
crossfaderMaster A/B crossfader (-1.0=A, 0.0=center, 1.0=B).
groove_amountGlobal Groove Pool amount (0.0-1.0).
loop_enabledOptional state change: true turns it on, false turns it off.
loop_length
loop_start
metronomeOptional state change: true turns it on, false turns it off.
record_lengthFixed loop length in beats when trigger_session_record=true.
record_modeOptional state change: true turns it on, false turns it off.
root_noteSong scale root pitch class (0=C .. 11=B).
scale_nameSong scale name, e.g. 'Major', 'Minor', 'Dorian'.
session_automation_recordOptional state change: true turns it on, false turns it off.
session_recordOptional state change: true turns it on, false turns it off.
signature_denominator
signature_numerator
swing_amountGlobal quantize swing amount (0.0-1.0).
tempoSession tempo in BPM.
trigger_session_recordbooleanStart Session recording into armed tracks (optionally fixed length).

create_locator

Create or rename an Arrangement locator at an absolute beat position. Requires stopped playback for exact placement. SIDE EFFECT: moves the Arrangement playhead to `time` first. If a locator already exists there, it is reused and renamed when `name` is provided.

ParameterTypeDescription
time *numberPosition in beats from the start of the Arrangement.
nameOptional display name; omit it to keep Live's generated name.

manage_scene

Create, launch, rename, duplicate, or capture playing clips into a Session scene. - create: inserts an empty scene at `index` (-1 appends); optionally pass `name`. - fire / duplicate: requires `scene_index`. - rename: requires `scene_index` and `name`. - capture_and_insert: snapshots currently playing Session clips into a new scene. Use delete_scene to remove a scene.

ParameterTypeDescription
action *string
indexintegerInsert index for action='create' (-1 appends).
nameOptional display name; omit it to keep Live's generated name.
scene_index

delete_scene

Delete a Session scene (row). Later scene indices shift down by one.

ParameterTypeDescription
scene_index *integerZero-based Session-view scene (row) index.

history

Revert (`undo`) or reapply (`redo`) the top entry in Live's native Undo history. A native batch can split into multiple Live Undo steps: inspect state after each undo rather than blindly replaying a fixed count.

ParameterTypeDescription
action *string

batch_commands

Preflight 1–128 wire commands, then execute them in one round-trip (no automatic rollback). Native Live Undo can split a batch into multiple steps; inspect after one history(action='undo') before deciding whether another is needed. Supply `operation_id` to deduplicate retries within the last 256 mutation receipts. Track commands accept `expected_track_id` from get_session_snapshot. `commands = [{"type": "<wire_cmd>", "params": {...}}, ...]` uses Live bridge command names, e.g. `set_tempo`, `create_midi_track`, `create_audio_track`, `set_track_name`, `set_track_v…

ParameterTypeDescription
commands *array
operation_id
require_single_undobooleanReject any batch except reads and at most one verified rename, pan, or inactive native Utility Gain/Output action.

save_set

Save the current set if Live exposes its native save API. Most Ableton Live versions do not expose a Python save method; in that case this returns `available: false` and the user should save manually in Live (Cmd+S / Ctrl+S).

get_track_info

Inspect a regular track, return tracks, or Master without modifying the set. - track_type='track' (default, requires `track_index`): name/type, mixer, sends, populated Session clip_slots, device chain, plus optional routing, meters, and group info. - track_type='return': lists all return tracks (mixer + devices; filter with `track_index`). - track_type='master': returns Master volume/pan, devices, and smoothed output meters.

ParameterTypeDescription
include_empty_slotsbooleanInclude empty clip slots in clip_slots (default false = compact).
include_groupbooleanAlso include group/fold state and parent group name.
include_metersbooleanAlso include normalized, smoothed output meters (0-1, not LUFS/dBFS).
include_routingbooleanAlso include track input/output routing options and monitoring state.
track_index
track_typestringTarget container: 'track' (default), 'return', or 'master'.

create_track

Create a new MIDI track, audio track, return track, or comping take lane. - kind='midi' | 'audio': inserts at `index` (-1 appends) and optionally renames it when `name` is provided. - kind='return': appends a new Return send bus (optionally renames when `name` is set; Live auto-prefixes letters like 'A-'/'B-', so pass 'Delay' rather than 'C-Delay'). - kind='take_lane': adds a comping take lane to `track_index`.

ParameterTypeDescription
indexintegerInsertion position among regular tracks; -1 appends at the end.
kindstring
nameOptional display name; omit it to keep Live's generated name.
track_indexTarget track index when kind='take_lane'.

duplicate_track

Insert a copy of one regular track, including its devices and clips. Increases track count and shifts later track indices up by one.

ParameterTypeDescription
track_index *integerZero-based index of a regular track in the Live set.

set_track_settings

Update one or more mixer, routing, or display properties on a track, return, or Master. Omitted fields stay unchanged. For track_type='master', supports `volume` and `crossfader`. For track_type='return', supports `name`, `volume`, `pan`, `mute`, `solo`, and `color_index` (0=Return A). Get valid routing display names from get_track_info(track_index, include_routing=true).

ParameterTypeDescription
armOptional state change: true turns it on, false turns it off.
color_index
crossfade_assign
crossfaderMaster A/B crossfader when track_type='master'.
expected_track_idOptional stable track id from get_session_snapshot to guard edits.
foldedFold (true) or unfold (false) a group track.
input_routing_channel
input_routing_type
monitoringInput monitoring: 0=In, 1=Auto, 2=Off.
muteOptional state change: true turns it on, false turns it off.
nameOptional display name; omit it to keep Live's generated name.
output_routing_channel
output_routing_type
pan
sendsMap of send_index (0=Return A) -> send level 0.0-1.0.
soloOptional state change: true turns it on, false turns it off.
track_index
track_typestringTarget container: 'track' (default), 'return', or 'master'.
volumeFader volume 0.0-1.0 where 0.85 = 0 dB unity.

delete_track

Delete a regular track (and its Session & Arrangement content) or a return track. Inspect get_arrangement_clips before deleting a regular track, and pass `expected_track_id` from get_session_snapshot to refuse a stale index. Later track indices shift down by one.

ParameterTypeDescription
track_index *integerZero-based index of a regular track in the Live set.
expected_track_id
track_typestring

delete_device

Delete a device from a regular track, return track, or Master chain (0-based). Shifts indices of later devices down by one, so re-read the chain afterwards.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
track_typestringTarget container: 'track' (default), 'return', or 'master'.

create_clip

Create an empty MIDI clip, or import an audio file when `audio_path` is provided. Fails if the slot already has a clip. Tip: write_clip_notation creates/resizes a MIDI clip automatically in one call.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.
audio_pathAbsolute path to an audio file (.wav, etc.) to import into an audio track slot (Live 12.0.5+). Omit to create an empty MIDI clip.
lengthnumberMIDI clip length in beats (4.0 = one 4/4 bar).

get_clip_info

Full Session clip state: loop points, markers, playing position, per-clip time signature; for audio clips also file path, gain display, and warp markers.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.

get_clip_notes

Return every raw MIDI note dict in a Session clip (up to 32,000; larger clips fail). Prefer read_clip_notation for compact human/LLM-readable bar|beat notation.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.

read_clip_notation

Read a MIDI clip formatted as compact bar|beat notation (grouping chords on one line, omitting default v100). Much smaller than raw get_clip_notes JSON and round-trips directly back into write_clip_notation.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.
beats_per_barnumberBeats per bar for bar|beat formatting (default 4.0).

write_clip_notation

Write MIDI notes using compact bar|beat notation instead of verbose note JSON. Cuts token usage 3-5x and avoids float-beat errors. Creates or resizes the clip automatically when replace=true.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
notation *stringCompact bar|beat MIDI lines (1-indexed, Live C3=60). Syntax: `<bar[-end]>|<beat[+num/den][,beat...]> <pitches|drum_names> [d<beats>|n/<val>[.|t]] [v<1-127>] [p<0-1>] [mute]`. Use decimals like `1|3.75…
track_index *integerZero-based index of a regular track in the Live set.
beats_per_barnumberBeats per bar for bar|beat math (default 4.0).
lengthClip length in beats (auto-inferred to full bars when omitted).
replacebooleanTrue replaces/creates the clip; False layers onto an existing clip.

edit_notes

Add, remove, or replace raw MIDI notes in an existing Session clip. `add`: [{pitch (0-127, 60=C3), start_time, duration, velocity (1-127), mute}]. `remove`: [{pitch, start_time}] (matched by pitch+start, when replace=false). Prefer write_clip_notation for authoring new parts.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.
add
remove
replacebooleanFalse (default) adds/removes a subset; True REPLACES all notes in the clip with `add`.

set_clip_settings

Update one or more Session clip properties (name, color, loop, audio/warp, meter, groove) in one call. Omitted fields stay unchanged. Multiple properties execute together in one batch.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.
color_index
gainAudio clip gain (0-1).
groove_indexGroove Pool index from get_session_info(include_grooves=true); pass -1 to clear.
loop_endOptional position in beats from the start of the clip.
loop_startOptional position in beats from the start of the clip.
loopingOptional state change: true turns it on, false turns it off.
nameOptional display name; omit it to keep Live's generated name.
pitch_coarseAudio clip pitch shift in semitones.
pitch_fineAudio clip fine pitch in cents.
signature_denominator
signature_numerator
start_markerOptional position in beats from the start of the clip.
warp_mode0=Beats, 1=Tones, 2=Texture, 3=Re-Pitch, 4=Complex, 6=Complex Pro.
warpingOptional state change: true turns it on, false turns it off.

clip_playback

Launch (`fire`) or stop (`stop`) one Session-view clip.

ParameterTypeDescription
action *string
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.

clip_operation

Structural and rhythmic edits on a Session clip. - quantize: snap MIDI notes toward `grid` (quarter/eighth/eighth_triplet/sixteenth/ sixteenth_triplet/thirtysecond) by `amount` (0-1). - duplicate_to: copy clip to `(dst_track, dst_scene)` (overwrites destination). - duplicate_loop: double the loop length and duplicate its notes. - crop: discard material outside the loop braces. - duplicate_region: copy notes from `(region_start, region_length)` to `destination_time`, optionally transposing (`pitch=-1` = all pitches).

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
op *string
track_index *integerZero-based index of a regular track in the Live set.
amountnumber
destination_time
dst_scene
dst_track
gridstring
pitch
region_length
region_start
transposition_amount

delete_clip

Delete the existing Session-view clip in a slot, leaving the slot empty.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.

load_browser_item

Load a browser preset, instrument, effect, or plugin by URI onto a track, return, or Master. Obtain `uri` from search_browser or browse_library. `track_index` is ignored when `track_type='master'` (0=Return A for `track_type='return'`). Pass `device_index` (Live 12.3+) to place the newly loaded device at a specific chain slot in one call. For native Live 12.3+ devices by name without browser search, prefer insert_device.

ParameterTypeDescription
uri *stringLoadable browser-item URI returned by search_browser.
device_indexOptional target chain index after loading (-1 appends; 0..N places at that slot via move_device on Live 12.3+). Omit to keep Live's default slot.
track_indexintegerZero-based index of a regular track in the Live set.
track_typestringTarget container: 'track' (default), 'return', or 'master'.

get_device_parameters

List parameters of a device on a track, return, Master, or inside a rack chain. Returns real indices, names, native values/ranges, display strings (plus display_min/display_max on <=128 continuous params), and plugin_format when applicable. Pass `query` (e.g. 'filter', 'glide', 'gain') on large synths to filter by name. Pass `chain_index` + `chain_device_index` (from get_rack_info) to inspect a device inside a rack chain. `track_index` is ignored when `track_type='master'`.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
chain_device_indexOptional device index inside chain_index from get_rack_info (requires chain_index).
chain_indexOptional rack chain index from get_rack_info to target a nested chain device (requires chain_device_index).
queryOptional case-insensitive substring filter on parameter name (e.g. 'filter', 'glide', 'freq', 'gain') to avoid dumping 100+ parameters.
track_typestringTarget container: 'track' (default), 'return', or 'master'.

set_device_parameter

Set one or more parameters on a track, return, Master, or nested rack-chain device. Read get_device_parameters first. Pass `parameter` + `value` for a single parameter, or `values` (`{name_or_index: value, ...}`, up to 128) to patch multiple parameters on the same device in one round-trip. Numbers use native ranges (clamped); strings accept display units ('250 Hz', '-3 dB', '90 ms', '0.3 x', '4:1', '25L', 'C', '-12 st') or exact labels ('Off', enum items). Pass `chain_index` + `chain_device_index` from get_rack_info for nested rack devices (`track_type='track'` onl…

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
chain_device_indexOptional device index inside chain_index from get_rack_info (requires chain_index).
chain_indexOptional rack chain index from get_rack_info to target a nested chain device (requires chain_device_index).
parameter
track_typestringTarget container: 'track' (default), 'return', or 'master'.
value
valuesOptional batch mapping of parameter names (or stringified indices like '14') to values, e.g. {'Mix': '35 %', 'Delay Left': '250 ms'}. Runs in one round-trip; omit `parameter`/`value` when using `value…

set_device_enabled

Enable (`true`) or bypass (`false`) a device on a track, return, or Master.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
enabled *booleanTrue turns the requested state on; false turns it off.
track_index *integerZero-based index of a regular track in the Live set.
track_typestringTarget container: 'track' (default), 'return', or 'master'.

get_rack_info

Inspect an Instrument/Effect/Drum Rack's chains (and nested devices) and/or occupied drum pads. Use the returned `chain_index` and `chain_device_index` with get_device_parameters / set_device_parameter, or pad notes with set_drum_pad.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
kindstring

set_drum_pad

Mute, solo, or rename a Drum Rack pad by its MIDI note (e.g. 36=kick).

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
note *integer
track_index *integerZero-based index of a regular track in the Live set.
mute
name
solo

rack_variation

Manage rack macro snapshots: 'store', 'recall' (with `index`), or 'randomize'.

ParameterTypeDescription
action *string
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
index

set_simpler_playback_mode

Set a Simpler device's playback mode: 0=Classic, 1=One-Shot, 2=Slicing. Pass `chain_index` + `chain_device_index` (from get_rack_info) to target a Simpler nested inside a Drum Rack pad or Instrument Rack chain.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
mode *integer
track_index *integerZero-based index of a regular track in the Live set.
chain_device_indexOptional device index inside chain_index from get_rack_info (requires chain_index).
chain_indexOptional rack chain index from get_rack_info to target a nested chain device (requires chain_device_index).

replace_simpler_sample

Replace a Simpler sample with an absolute local audio-file path (Live 12.4+). Pass `chain_index` + `chain_device_index` (from get_rack_info) to target a Simpler nested inside a Drum Rack pad or Instrument Rack chain. Replaces musical content: confirm the target and preserve the original set.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
path *string
track_index *integerZero-based index of a regular track in the Live set.
chain_device_indexOptional device index inside chain_index from get_rack_info (requires chain_index).
chain_indexOptional rack chain index from get_rack_info to target a nested chain device (requires chain_device_index).

get_device_routing

Read a sidechain-capable device's audio-input routing (current + available options).

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.

set_device_routing

Set a device's sidechain audio input using display_name options from get_device_routing.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
display_name *string
field *string
track_index *integerZero-based index of a regular track in the Live set.

insert_device

Insert a native Ableton Live device directly by name at any chain position (Live 12.3+). Supports regular tracks, returns, Master, and chains inside racks. For VST/AU plug-ins or custom presets, use search_browser + load_browser_item.

ParameterTypeDescription
device_name *stringNative Live device name (e.g. 'EQ Eight', 'Compressor', 'Reverb', 'Drum Rack', 'Simpler', 'Wavetable', 'Auto Filter', 'Utility').
track_index *integerZero-based index of a regular track in the Live set.
chain_indexOptional chain index inside rack_index (requires rack_index).
device_indexintegerInsertion index in the chain (-1 appends at the end).
rack_index
track_typestringTarget container: 'track' (default), 'return', or 'master'.

move_device

Move or reorder a device within a track or across tracks (Live 12.3+).

ParameterTypeDescription
dst_track_index *integerZero-based index of a regular track in the Live set.
src_device_index *integerZero-based device position in the target track's device chain.
src_track_index *integerZero-based index of a regular track in the Live set.
dst_device_indexintegerDestination index in the target chain (-1 appends).
dst_track_typestringTarget container: 'track' (default), 'return', or 'master'.
src_track_typestringTarget container: 'track' (default), 'return', or 'master'.

insert_rack_chain

Add a new chain to an Instrument, Audio Effect, MIDI Effect, or Drum Rack (Live 12.3+).

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
chain_indexintegerInsert index (-1 appends).
choke_group
in_noteDrum Rack pad MIDI note (e.g. 36=kick).
name
out_note

get_plugin_info

Read a third-party VST/AU PluginDevice's preset list (up to 500), current preset, and editor state.

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
track_typestringTarget container: 'track' (default), 'return', or 'master'.

set_plugin_state

Switch a VST/AU PluginDevice's preset (`preset_index` or `preset_name`) and/or GUI window (`editor_open`).

ParameterTypeDescription
device_index *integerZero-based device position in the target track's device chain.
track_index *integerZero-based index of a regular track in the Live set.
editor_open
preset_index
preset_name
track_typestringTarget container: 'track' (default), 'return', or 'master'.

describe_device

Return curated guidance for an Ableton native device (key parameters, units, sensible starting values, mixing tips). Omit `device_name` to list all devices in the knowledge base. Pair with get_device_parameters for live ranges.

ParameterTypeDescription
device_name

browse_library

Browse Live's library tree without searching. - Omit `path` to list top-level browser roots (`category_type`: 'all' or e.g. instruments, sounds, drums, audio_effects, midi_effects, plugins, user_library, packs, samples, clips, grooves). - Pass `path` (e.g. 'drums/acoustic') to list immediate items inside that folder. Prefer search_browser when you already know a name.

ParameterTypeDescription
category_typestring
path

search_browser

Search Ableton's browser by display name (case-insensitive substring). Returns loadable items with URIs for load_browser_item; plugin matches carry `format` ('vst3'/'vst2'/'au') and rank VST3 before VST2/AU. Completed roots are cached in memory for ~2 minutes; pass `refresh=true` after installing new presets/plugins. Check `partial`/`limit_reasons` before assuming no match.

ParameterTypeDescription
query *string
category
max_resultsinteger
refreshboolean

preview_browser

Audition a browser item (`item_uri` from search_browser/browse_library) without loading it onto a track. Omit `item_uri` to stop the active preview.

ParameterTypeDescription
item_uri

load_drum_kit

Resolve the first loadable kit at `kit_path`, then load a rack and that kit. A missing kit fails before edits. Prefer load_browser_item when one known URI is sufficient.

ParameterTypeDescription
kit_path *stringSlash-separated Live browser path, such as "drums/acoustic".
rack_uri *stringLoadable browser-item URI returned by search_browser.
track_index *integerZero-based index of a regular track in the Live set.

get_arrangement_clips

List all clips placed in the Arrangement timeline for a track. Returns each clip's name, start_time, end_time, length, and type. Parameters: - track_index: The index of the track to inspect

ParameterTypeDescription
track_index *integer

duplicate_to_arrangement

Copy a Session-view clip into the Arrangement timeline. OVERWRITES whatever already occupies the destination range on that track (like recording over tape) - this is also the supported way to REPLACE a section. Uses Live's track.duplicate_clip_to_arrangement() API (Live 11/12). The clip is placed at destination_time beats from the start of the arrangement on the same track it lives in. Typical workflow: 1. write_clip_notation (or create_clip + edit_notes) to build a Session clip 2. Call duplicate_to_arrangement once per bar/section you need 3. C…

ParameterTypeDescription
clip_index *integer
destination_time *number
track_index *integer

delete_arrangement_clip

Delete a clip from the Arrangement timeline by its position in get_arrangement_clips' list. NOTE: indices of later clips on the same track shift down by one after each delete - re-read get_arrangement_clips between deletes.

ParameterTypeDescription
arrangement_clip_index *integer
track_index *integer

write_automation

Replace a Session clip's parameter envelope with bounded steps or a ramp. Times are beats from clip start; values use the native min/max from get_device_parameters. In points mode, omitted duration holds until the next point or clip end. Explicit duration must be positive and cannot overlap the next point or extend past the clip. Points must be ordered and unique. Ramp mode joins ordered points as a staircase, at step_length beats (default 0.0625), up to 4096 generated steps. Equal-time points make a jump. Only the last ramp point may specify duration. The last se…

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
device_index *integerZero-based device position in the target track's device chain.
parameter *Parameter name or zero-based parameter index returned by get_device_parameters.
points *arrayOrdered native breakpoints: time/value and optional positive duration in beats.
track_index *integerZero-based index of a regular track in the Live set.
modestring
step_lengthnumber

read_automation

Read a Session clip envelope without creating or changing it. Choose explicit times OR a start/end/step grid (defaults 0 to clip end, every beat); end is included only when aligned with the grid. At most 1024 finite samples within the clip per call. Returns native values, optional display text, parameter min/max/current value and has_envelope=false for a missing envelope. Samples are Live's actual stepped envelope, not a reconstruction of the supplied control points. On Live 11 an exact step boundary can return the value just before that step; sample just after…

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
device_index *integerZero-based device position in the target track's device chain.
parameter *Parameter name or zero-based parameter index returned by get_device_parameters.
track_index *integerZero-based index of a regular track in the Live set.
end
start
step
times

clear_automation

Delete one device parameter's entire automation envelope from a clip. Resolve the device and parameter with get_device_parameters first. This removes every automation point for that parameter, not a time range; manual parameter state remains. Use write_automation to replace the envelope with new points, or undo immediately to recover an accidental clear.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
device_index *integerZero-based device position in the target track's device chain.
parameter *Parameter name or zero-based parameter index returned by get_device_parameters.
track_index *integerZero-based index of a regular track in the Live set.

generate_drums

Generate a drum MIDI clip (REPLACES existing notes). - mode='pattern' (default): genre beat (lofi/boom_bap/house/techno/trap/dnb/ambient); `swing` default 0.06 beats, `humanize` default 6. - mode='groove': pocketed groove with ghost snares (lofi/boom_bap/house/trap/jazz/funk); `pocket`, `swing` default 0.55, `ghost`, `humanize` default 8. - mode='euclidean': Bjorklund rhythm E(`pulses`,`steps`) for one `instrument` (name or MIDI #). - mode='grid': ASCII 16th-note grid (`grid`: 'kick: X..x....\nsnare: ....x...'; X/x/o/./-).

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.
barsinteger
ghostnumber
grid
humanize
instrumentstring
modestring
pocketnumber
pulsesinteger
rotateinteger
seed
stepsinteger
stylestring
swing
velocityinteger

generate_chords

Generate chord progressions into a Session MIDI clip (REPLACES existing notes). - mode='voiced' (default): voice-led jazz/modern voicings (`progression`, `style`: rootless/quartal/shell/block, `voices`, `humanize`). - mode='basic': compact chords with `rhythm` (held/stabs/quarters) and `strum` (`progression`). - mode='genre': auto-builds a genre progression (`genre`, `key`, `scale`, `bars`) then voices it.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
track_index *integerZero-based index of a regular track in the Live set.
barsinteger
beats_per_chordnumberPositive number of beats allocated to each chord.
center_pitchintegerMIDI pitch around which chord voicings are centered.
genre
humanizeinteger
keystring
modestring
progression
rhythmstringChord rhythm: held, two stabs per slot, or quarter-note hits.
scalestring
seed
strumnumberBeat offset between chord tones; 0 produces block chords.
stylestring
velocity
voicesinteger

generate_bass

Generate a bassline following `progression` into a Session clip (REPLACES notes). - mode='pattern' (default): `style` = roots | root_fifth | walking | eighth_pump. - mode='walking': quarter-note scale/chord walking bass with approach & ghost notes.

ParameterTypeDescription
clip_index *integerZero-based Session-view clip-slot index on the track.
progression *stringDash-, comma-, or space-separated chord symbols, e.g. "Dm7-G7-Cmaj7".
track_index *integerZero-based index of a regular track in the Live set.
beats_per_chordnumber
ghostnumber
keystring
modestring
octaveinteger
scalestring
seed
stylestring
velocity

setup_session

Bootstrap a session in one call: set tempo and create named MIDI tracks, optionally loading an instrument found by name for each. tracks: [{"name": "Drums", "instrument": "drum kit"}, {"name": "Bass", "instrument": "upright bass"}, ...]. "instrument" is a search_browser query (the first returned match is loaded); omit it to create an empty track. Returns a per-track report with the loaded item names.

ParameterTypeDescription
tempo *number
tracks *array

generate_melody

Write a voice-led melody over a chord progression (REPLACES existing notes). Notes come from key+scale, biased to chord tones on strong beats, with optional chromatic approach notes. density: low|medium|high. phrase_arc: rising|arch| ascend_descend|static. swing: 0.5 straight .. ~0.66.

ParameterTypeDescription
clip_index *integer
progression *string
track_index *integer
beats_per_chordnumber
chromaticnumber
densitystring
highinteger
keystring
lowinteger
phrase_arcstring
scalestring
seed
swingnumber

transform_clip

Read a Session MIDI clip, transform its notes, and write back (or to `dest_clip_index`). - transpose: shift pitches by `amount` semitones (int). - invert: mirror pitches about the earliest note. - retrograde: reverse note onset order across the clip's phrase length. - augment: scale start times and durations by `amount` (>0). - humanize: apply random `timing` (beats) and `velocity` jitter (`seed` for reproducibility).

ParameterTypeDescription
clip_index *integer
op *string
track_index *integer
amountnumber
dest_clip_index
seed
timingnumber
velocityinteger

generate_process

Write a minimalist process pattern into a Session clip (REPLACES existing notes). - mode='phase': Steve-Reich phasing — stack `repeats` copies shifted by `shift` beats. - mode='additive': Philip-Glass additive build-up — 1st note, 1st 2 notes, ..., up to `steps` (0=all). Build the motif from space/comma-separated MIDI `pitches` or read `source_clip_index`.

ParameterTypeDescription
clip_index *integer
track_index *integer
modestring
note_lengthnumber
pitchesstring
repeatsinteger
shiftnumber
source_clip_index
stepsinteger
velocityinteger

record_section

Bounce an Arrangement range to a WAV via Resampling (1x real time; up to 5 min). Short captures finish in one call. Captures longer than `wait_seconds` (default 45 s) run in a background job and return `status="recording"` with a `job_id` so they stay well under MCP client timeouts — poll with `record_section(job_id="...")` until `status="completed"`, or stop cleanly with `cancel=true`. Live has no offline export API (Cmd+Shift+R in Live renders offline when a fast full-song export is wanted). Uses Live's warp/sample mapping to copy `[start_beat, end_beat]` whil…

ParameterTypeDescription
cancelbooleanWith job_id, stop and cleanly recover an active background capture.
cleanupboolean
disable_loopboolean
end_beat
job_idPoll or cancel an in-progress capture returned by an earlier call.
sourcestring
start_beat
wait_secondsnumberMax seconds to block before returning status='recording' + job_id (default 45 s, safely under 60-120 s MCP client timeouts).

analyze_mix

Heuristic session-state checks, NOT audio, peak, LUFS or headroom measurements. Scan the current live set for inspection leads: several high faders, a muted or empty Session track, or a MIDI track without devices. External routing and Arrangement audio may explain these states. Returns machine-readable findings so you can decide what to fix. Reads the session; changes nothing.

session_diff

Report what changed in the set since the LAST time you called this tool: tempo/time-signature/play-state, tracks added, removed, renamed or reordered, and per-track volume, mute, solo, arm, clip-count, and device changes. The first call records a baseline (no diff). Track IDs are scoped to the running bridge; older bridges cannot identify renames reliably. Call it before and after an edit to verify it took effect.

describe_capabilities

A map of all available groups, the enabled groups, and conventions to follow, so you can orient before your first call. Set ABLETON_TOOLSETS to load only some groups. For the current live state, call get_session_snapshot; for mix problems, analyze_mix.

detect_key

Detect musical key/scale via Krumhansl-Kessler correlation (read-only). - scope='session' (default): pools Session MIDI clips across the live set. - scope='track': pools Session clips on `track_index`. - scope='clip': analyzes one Session MIDI clip (`track_index`, `clip_index`). - scope='als': analyzes a saved .als file offline (`path`, optional `track_index`). `weight`: 'duration' (default), 'velocity', 'product', or 'count'.

ParameterTypeDescription
clip_index
path
scopestring
track_index
weightstring

analyze_audio_file

Measure local WAV (integer/float), AIFF/AIFF-C, FLAC, Ogg Vorbis, MP3, AAC or M4A/MP4 (AAC/ALAC) without Live: per-channel sample peak/RMS dBFS, DC offset, crest factor, full-scale samples, ITU-R BS.1770-4 integrated/short-term/ momentary LUFS, 4x oversampled true peak (dBTP), 7-band spectral balance (sub/bass/low_mid/mid/upper_mid/highs/air + centroid & tilt), and stereo phase correlation / mid-side width / L-R balance. Use start_seconds (default 0) and max_seconds (default 30, maximum 120) to inspect a specific section (e.g. a drop or chorus in a reference track).…

ParameterTypeDescription
path *string
max_secondsnumber
start_secondsnumber

compare_audio_files

Compare two local audio files (B relative to A): before/after record_section bounces or your mix vs a reference track. Use start_seconds_a / start_seconds_b and max_seconds to compare matching sections (e.g. seconds 60-80 of a full reference song against seconds 0-20 of your Live bounce). Returns LUFS/true-peak/RMS deltas, stereo width & phase correlation deltas, raw AND loudness-matched 7-band tonal deltas, plus both individual reports and a concise summary. Read-only; no upload.

ParameterTypeDescription
path_a *string
path_b *string
max_secondsnumber
start_seconds_anumber
start_seconds_bnumber

visualize_audio_file

Render an inline log-frequency spectrogram (25 Hz-20 kHz with 7-band gridlines) + peak/RMS/clip waveform PNG of a local audio file or section (WAV integer/float, AIFF, FLAC, Ogg, MP3, AAC, M4A/MP4). Lets vision-capable agents directly see rhythm, transients, phrasing/rests, pitch contours, distortion/clipping, filter sweeps, and reverb smear. Window: start_seconds (default 0) + duration_seconds (default 20, max 60). Read-only; no upload.

ParameterTypeDescription
path *string
duration_secondsnumber
start_secondsnumber

inspect_als

Inspect a saved .als project file WITHOUT Ableton Live running. - view='summary' (default): Live version, tempo, meter, track/scene counts, track briefs. - view='tracks': track briefs with clip metadata (optional `track_index` filters to one track). - view='details': locators plus track volume, pan, and automation lane count (optional `track_index`). - view='midi' (requires `track_index`): extract MIDI note dicts for one track (<=32,000 notes). - view='unfinished': heuristic observations (unrecognized master dynamics, empty tracks/clips, muted).

ParameterTypeDescription
path *string
refreshboolean
track_index
viewstring

als_diff

Diff two saved .als files (e.g. song_v4.als vs song_v5.als) offline: tempo/time-signature changes, tracks added/removed, and per-track deltas.

ParameterTypeDescription
path_a *string
path_b *string

inspect_adg

Inspect a saved .adg rack or .adv device preset WITHOUT Ableton Live running. - view='summary' (default): name, rack type, device/chain/macro/sample counts, edition, is_drum_rack. - view='analyze': full recursive chain/device tree, named macros, samples, and drum pad map. - view='edition': required Live edition ('intro'/'standard'/'suite') and which devices force it.

ParameterTypeDescription
path *string
viewstring

list_recipes

List the built-in composition recipes (name, description, and default tempo/key/scale/bars), for use with apply_recipe.

apply_recipe

Scaffold a genre starter in one call: set the tempo, add Drums, Bass, and Chords MIDI tracks, try to load fitting instruments, and write generated parts. `name` is one from list_recipes (e.g. "lofi_beat", "house_groove"). tempo/key/scale/bars override the recipe defaults. Adds new tracks; it does not overwrite existing ones.

ParameterTypeDescription
name *string
bars
key
scale
tempo