AbletonMCP
Control Ableton Live from Claude Code via the Model Context Protocol (MCP). Create/edit tracks, control plugins, fire clips, edit MIDI notes, capture audio — all through natural language.
README
AbletonMCP
Control Ableton Live from Claude Code via the Model Context Protocol (MCP). Create/edit tracks, control plugins (Waves, FabFilter, iZotope, any VST), fire clips, edit MIDI notes, capture audio — all through natural language.
Architecture
Claude Code
↓ MCP Protocol (stdio)
mcp_server/ ← Python MCP server (this project)
↓ HTTP JSON (localhost:9001)
AbletonMCP/ ← Ableton Remote Script (Python, runs inside Ableton)
↓ Live Python API
Ableton Live
Requirements
- Ableton Live 10, 11, or 12 (any edition)
- Python 3.11+ (for the MCP server)
- Claude Code CLI
Installation
Step 1 — Install the Ableton Remote Script
Copy the AbletonMCP/ folder into Ableton's MIDI Remote Scripts directory:
| OS | Path |
|---|---|
| Windows | C:\Users\<you>\Documents\Ableton\User Library\Remote Scripts\ |
| macOS | /Users/<you>/Music/Ableton/User Library/Remote Scripts/ |
Result: Remote Scripts/AbletonMCP/__init__.py should exist.
Step 2 — Enable in Ableton
- Open Ableton Live
- Go to Preferences → Link, Tempo & MIDI
- Under Control Surface, select
AbletonMCPin any available slot - No Input/Output device required — leave them as
None - Check Ableton's Log file (
Help → Show Log File) and confirm you see:[AbletonMCP] AbletonMCP started on port 9001
Step 3 — Install the MCP Server
cd ableton-mcp
pip install -e .
For audio capture support (optional):
pip install -e ".[audio]"
Step 4 — Configure Claude Code
Add to your Claude Code MCP config (~/.claude/claude_desktop_config.json or via claude mcp add):
{
"mcpServers": {
"ableton": {
"command": "python",
"args": ["-m", "mcp_server.main"],
"cwd": "/path/to/ableton-mcp"
}
}
}
Or using the Claude Code CLI:
claude mcp add ableton python -m mcp_server.main --cwd /path/to/ableton-mcp
Step 5 — Verify
In Claude Code, ask:
Get the current Ableton session state
If Ableton is open with AbletonMCP loaded, you'll see tempo, tracks, etc.
Running Tests
Tests run without Ableton (using a mock bridge server):
pip install -e ".[dev]"
pytest tests/ -v
All 51 tests should pass.
Features & Tools
Session / Transport
| Tool | Description |
|---|---|
get_session |
Tempo, time signature, playback state, loop settings, track/scene counts |
set_tempo |
Set BPM (60–200) |
set_time_signature |
Set numerator and denominator (e.g. 3/4, 7/8) |
play |
Start playback |
stop |
Stop playback and return to position 0 |
continue_playback |
Continue from current position |
toggle_record |
Toggle session record mode |
set_loop |
Enable/disable loop with optional start and length in bars |
set_metronome |
Toggle click track |
Mixer (Master)
| Tool | Description |
|---|---|
get_mixer |
Master volume, master pan, cue volume, crossfader |
set_master_volume |
0.0 (silent) → 1.0 (0dB) → 1.26 (+2dB) |
set_crossfader |
-1.0 (A) → 0.0 (center) → 1.0 (B) |
Tracks
| Tool | Description |
|---|---|
list_tracks |
All audio, MIDI, and return tracks |
get_track |
Full track details by index |
create_track |
Create audio, MIDI, or return track |
update_track |
Name, volume, pan, mute, solo, arm, color |
delete_track |
Remove track permanently |
duplicate_track |
Copy track to next position |
get_sends |
All send levels for a track |
set_send |
Set send level to a return track |
Track colors accepted as name strings: red, orange, yellow, green, cyan, blue, purple, pink, white, gray — or as integer Ableton color ID.
Clips
| Tool | Description |
|---|---|
list_clips |
All clip slots for a track (empty and filled) |
get_clip |
Clip details: name, length, loop points, warp mode |
create_clip |
Create MIDI clip in a slot with given length |
update_clip |
Name, loop start/end, looping, warp mode, gain |
delete_clip |
Remove clip from slot |
fire_clip |
Launch clip (equivalent to clicking launch button) |
stop_clip |
Stop playing clip on track |
get_notes |
All MIDI notes: pitch, start, duration, velocity |
add_notes |
Add MIDI notes to a clip |
clear_notes |
Remove all notes from a clip |
MIDI note format:
{"pitch": 60, "start": 0.0, "duration": 0.5, "velocity": 100, "mute": false}
pitch: MIDI note number (0–127, middle C = 60)start: position in beats from clip startduration: note length in beatsvelocity: 0–127
Devices / Plugins
Works with Ableton native devices (Reverb, Compressor, Operator, Wavetable, etc.) and any installed VST/AU plugin (Waves, FabFilter, iZotope, Native Instruments, Serum, Vital, etc.).
| Tool | Description |
|---|---|
list_devices |
All devices in a track's device chain |
get_device |
Device info + all parameters with values and ranges |
add_device |
Add device by name (searches Ableton browser) |
enable_device |
Bypass or enable a device |
delete_device |
Remove device from chain |
list_parameters |
All parameters: name, value, min, max, display string |
set_parameter_by_index |
Set parameter by its index number |
set_parameter_by_name |
Set parameter by name (case-insensitive) |
load_preset |
Load a preset by name from Ableton's browser |
Plugin examples:
add_device(track_index=0, device_name="FabFilter Pro-Q 3")
add_device(track_index=1, device_name="Wave s SSL E-Channel")
add_device(track_index=2, device_name="iZotope Ozone 10")
add_device(track_index=0, device_name="Serum")
add_device(track_index=0, device_name="Compressor") # Ableton native
Parameter editing examples:
set_parameter_by_name(track_index=0, device_index=0, param_name="Threshold", value=-18.0)
set_parameter_by_name(track_index=0, device_index=1, param_name="Band 1 Gain", value=3.0)
Scenes
| Tool | Description |
|---|---|
list_scenes |
All scenes with name and color |
get_scene |
Scene details |
create_scene |
Add new scene |
update_scene |
Name, color, tempo (per-scene), time signature |
delete_scene |
Remove scene and all its clips |
fire_scene |
Launch all clips in scene row |
Audio
| Tool | Description |
|---|---|
get_audio_devices |
List audio devices (find virtual routing device name) |
analyze_track |
Track signal info: volume, pan, device chain state |
export_track |
Export track to WAV (see note below) |
start_audio_capture |
Begin recording from virtual audio device |
stop_audio_capture |
Stop capture and save WAV; returns RMS, peak, duration |
Audio capture setup (virtual routing):
- Install a virtual audio device:
- In Ableton, route your master output to the virtual device
- Use
get_audio_devicesto find the exact device name - Use
start_audio_capture(device_name="CABLE Output (VB-Audio Virtual Cable)") - Play in Ableton
- Use
stop_audio_capture(output_path="~/my_recording.wav")to save + analyze
Note on export: Ableton's Python API does not expose the export/render dialog programmatically. The recommended workflow is virtual routing capture or using Ableton's built-in export (File → Export Audio/Video) for offline rendering.
Usage Examples
Natural language in Claude Code
Create a new MIDI track called "Bass" at index 2 with a FabFilter Pro-Q 3 plugin,
then add a 4-bar clip in slot 0 with a C major chord (C4, E4, G4) at beat 0 with duration 2 beats.
Set the tempo to 128 BPM, enable the loop from bar 1 to bar 9, then fire scene "Chorus".
List all parameters of the Compressor on track 0 and set the threshold to -12 dB and ratio to 6:1.
Duplicate track 1, mute the original, and add a Waves SSL E-Channel to the duplicate.
Project Structure
ableton-mcp/
├── AbletonMCP/ # Ableton Remote Script (install in Ableton)
│ ├── __init__.py # Entry point, create_instance()
│ ├── bridge_server.py # HTTP server thread (port 9001)
│ ├── api_handler.py # URL routing
│ └── live_api/
│ ├── session.py # Transport, tempo, loop, mixer
│ ├── tracks.py # Track CRUD, sends
│ ├── clips.py # Clip + MIDI note management
│ ├── devices.py # Plugin add/remove/parameter control
│ ├── scenes.py # Scene management
│ └── audio.py # Audio capture via virtual routing
├── mcp_server/ # MCP Server (Claude talks to this)
│ ├── main.py # Server entry point
│ ├── bridge_client.py # HTTP client to AbletonMCP
│ └── tools/
│ ├── session_tools.py
│ ├── track_tools.py
│ ├── clip_tools.py
│ ├── device_tools.py
│ ├── scene_tools.py
│ └── audio_tools.py
├── tests/
│ ├── mock_bridge/server.py # Simulates Ableton for offline testing
│ ├── conftest.py
│ ├── test_session.py
│ ├── test_tracks.py
│ ├── test_clips.py
│ ├── test_devices.py
│ └── test_scenes.py
└── pyproject.toml
Troubleshooting
"Cannot connect to Ableton bridge at localhost:9001"
- Confirm AbletonMCP is selected in Ableton Preferences → Control Surfaces
- Check Ableton's log file for
[AbletonMCP] started on port 9001 - Make sure no firewall blocks localhost:9001
Plugin not found when using add_device
- Plugin must be installed and scanned by Ableton (Preferences → Plug-Ins)
- Use the exact name as it appears in Ableton's browser
- VST3 plugins are preferred over VST2 when both are installed
"Parameter X not found"
- Use
get_deviceorlist_parametersfirst to see exact parameter names - Parameter names are case-insensitive but must otherwise match exactly
Tests fail
- Run
pip install -e ".[dev]"first - Tests do not require Ableton — they use a mock bridge server
- Ensure port 9002 is free (used by mock server during testing)
Known Limitations
- Device reordering: Ableton's Python API does not support moving devices within a chain. Delete and re-add in desired order.
- Direct WAV export: Ableton's API cannot trigger the export dialog programmatically. Use virtual routing capture or Ableton's built-in export.
- Return track deletion: Not supported via API (Ableton limitation).
- Audio clips: MIDI note editing only applies to MIDI clips. Audio clips support loop/warp settings only.
- Plugin browser search: Uses Ableton's browser tree traversal. Very large plugin collections may be slow to search on first use.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。