-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathinstallation_process.txt
More file actions
281 lines (203 loc) · 10.7 KB
/
installation_process.txt
File metadata and controls
281 lines (203 loc) · 10.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
================================================================================
AbletonBridge - Installation Process Guide
Ableton Live Model Context Protocol Integration
Version 3.5.0
================================================================================
PREREQUISITES
--------------------------------------------------------------------------------
Before starting, make sure you have the following installed:
- Ableton Live 10 or newer (11+ recommended, 12 for full feature support)
- Python 3.10 or newer
- uv package manager (https://docs.astral.sh/uv/getting-started/installation/)
- Claude Desktop, Claude.ai, or Cursor (as your AI assistant / MCP host)
- Node.js (only if using Smithery auto-install)
================================================================================
STEP 1: INSTALL THE UV PACKAGE MANAGER
================================================================================
Windows (PowerShell):
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
macOS (Homebrew):
brew install uv
Linux / macOS (curl):
curl -LsSf https://astral.sh/uv/install.sh | sh
Verify installation:
uv --version
*** Do NOT proceed before uv is installed. ***
================================================================================
STEP 2: INSTALL THE ABLETON REMOTE SCRIPT
================================================================================
This script runs INSIDE Ableton Live and creates a socket server so the MCP
server can send commands to Ableton.
1. Locate the "AbletonBridge_Remote_Script" folder inside the ableton-bridge
directory. It contains "__init__.py" and a "handlers/" subdirectory with
modular handler files (session.py, clips.py, devices.py, etc.).
2. Copy the entire "AbletonBridge_Remote_Script" folder to one of these
locations (keep the folder structure intact — __init__.py + handlers/):
WINDOWS (try in order until one works):
C:\Users\<YourUsername>\Documents\Ableton\User Library\Remote Scripts\
C:\Users\<YourUsername>\AppData\Roaming\Ableton\Live x.x.x\Preferences\User Remote Scripts\
C:\ProgramData\Ableton\Live XX\Resources\MIDI Remote Scripts\
C:\Program Files\Ableton\Live XX\Resources\MIDI Remote Scripts\
(Replace XX with your Ableton version number, e.g. 11, 12)
macOS:
Method 1: Applications > Right-click Ableton Live > Show Package Contents >
Contents/App-Resources/MIDI Remote Scripts/
Method 2: /Users/<YourUsername>/Library/Preferences/Ableton/Live XX/User Remote Scripts/
RECOMMENDED (Live 10.1.13+ / Live 12):
Place in the User Library Remote Scripts folder:
Windows: %USERPROFILE%\Documents\Ableton\User Library\Remote Scripts\
macOS: ~/Music/Ableton/User Library/Remote Scripts/
3. The final path should look like:
...\Remote Scripts\AbletonBridge\__init__.py
...\Remote Scripts\AbletonBridge\handlers\session.py (etc.)
4. Launch Ableton Live (or restart it if already open).
5. Go to Settings/Preferences > Link, Tempo & MIDI.
6. In the "Control Surface" dropdown, select "AbletonBridge".
7. Set both Input and Output to "None".
================================================================================
STEP 3: CONFIGURE YOUR AI ASSISTANT (MCP HOST)
================================================================================
--- Option A: Claude Desktop ---
1. Open Claude Desktop.
2. Go to Claude > Settings > Developer > Edit Config.
3. This opens the file "claude_desktop_config.json". Add or merge:
{
"mcpServers": {
"AbletonBridge": {
"command": "uv",
"args": ["run", "--directory", "C:\\path\\to\\ableton-bridge", "ableton-bridge"]
}
}
}
Replace "C:\\path\\to\\ableton-bridge" with the actual path to
your downloaded/cloned repository folder.
4. Save the file and restart Claude Desktop.
--- Option B: Claude Code (CLI) ---
Add to your Claude Code MCP settings:
{
"mcpServers": {
"AbletonBridge": {
"command": "uv",
"args": ["run", "--directory", "C:\\path\\to\\ableton-bridge", "ableton-bridge"]
}
}
}
--- Option C: Cursor ---
1. Go to Cursor Settings > MCP.
2. Add a new server with the command:
uv run --directory C:\path\to\ableton-bridge ableton-bridge
3. Save and restart Cursor.
*** Only run ONE instance of the MCP server (either Claude Desktop OR Cursor),
not both at the same time. ***
================================================================================
STEP 4: ALTERNATIVE - INSTALL VIA SMITHERY (AUTO-INSTALL)
================================================================================
If you prefer automated setup for Claude Desktop:
npx -y @smithery/cli install @ahujasid/ableton-mcp --client claude
This handles the Claude Desktop config automatically.
================================================================================
STEP 5: ALTERNATIVE - INSTALL FROM SOURCE (PIP)
================================================================================
If you cloned/downloaded the repo and want to install locally:
cd C:\path\to\ableton-bridge
pip install -e .
Or using uv:
cd C:\path\to\ableton-bridge
uv pip install -e .
Then configure your MCP host to point to the installed script name
"ableton-bridge".
================================================================================
STEP 6: INSTALL THE MAX FOR LIVE BRIDGE (OPTIONAL)
================================================================================
The M4L bridge provides access to hidden/non-automatable device parameters.
It is optional but required for snapshot, morph, macro, and preset tools.
1. Requires Ableton Live Suite or Standard + Max for Live.
2. Open the pre-built M4L device from the M4L_Device folder,
or create a new Max Audio Effect and build the patch:
[udpreceive 9878] -> [js m4l_bridge.js] -> [udpsend localhost 9879]
NOTE: The bridge is an Audio Effect (not MIDI Effect) so it can access
audio analysis and cross-track metering features.
3. Copy M4L_Device/m4l_bridge.js to the device's folder.
4. Save the device and load it on any track.
5. See M4L_Device/README.md for detailed instructions.
================================================================================
STEP 7: VERIFY THE CONNECTION
================================================================================
1. Make sure Ableton Live is running with the AbletonBridge control surface active.
2. Make sure your AI assistant (Claude/Cursor) is running with the MCP config.
3. In Claude, you should see a hammer icon indicating the AbletonBridge tools
are available.
4. Open the web dashboard at http://127.0.0.1:9880 to verify connection status.
5. Test with a simple command like: "Get information about my Ableton session"
NOTE: The server maintains a disk-persisted browser cache at
~/.ableton-bridge/browser_cache.json.gz (6,400+ items, gzip compressed).
On first launch, it scans Ableton's instrument/effect library (~10 seconds)
and saves the cache to disk. Subsequent launches load instantly (~50ms).
The cache has a 7-day lifetime and auto-refreshes in the background.
You can force a re-scan with the "refresh_browser_cache" tool after
installing new packs or instruments.
================================================================================
STEP 8: OPTIONAL - ELEVENLABS VOICE & SFX SERVER
================================================================================
AbletonBridge includes an optional ElevenLabs integration with 19 tools for
AI voice generation, sound effects, voice cloning, and transcription. Generated
audio saves directly to your Ableton User Library for easy import.
1. Install dependencies:
pip install -e ".[elevenlabs]"
2. Set your API key:
Windows: set ELEVENLABS_API_KEY=your_key_here
macOS: export ELEVENLABS_API_KEY=your_key_here
Or add to a .env file in the project root.
3. Add to your MCP host config as a second server alongside AbletonBridge:
{
"mcpServers": {
"AbletonBridge": {
"command": "uv",
"args": ["run", "--directory", "C:\\path\\to\\ableton-bridge", "ableton-bridge"]
},
"elevenlabs": {
"command": "uv",
"args": ["run", "elevenlabs-mcp"],
"env": {
"ELEVENLABS_API_KEY": "your_key_here"
}
}
}
}
Example commands:
"Generate a robot voice saying 'drop the bass' and load it into Simpler"
"Create thunder sound effect, 3 seconds long"
"Transcribe the audio clip on my desktop"
================================================================================
TROUBLESHOOTING
================================================================================
Connection issues:
- Ensure the AbletonBridge Remote Script is loaded in Ableton (check
Preferences > Link, Tempo & MIDI).
- Ensure the MCP server config is correct in your AI assistant.
- The server communicates via TCP socket on localhost (127.0.0.1:9877).
"unexpected argument '--dir'" error:
- Use "--directory" instead of "--dir" in your config. Newer versions of
uv renamed this flag.
Timeout errors:
- Simplify your requests or break them into smaller steps.
Tools not appearing:
- Restart both Ableton Live AND your AI assistant.
- Double-check that uv is installed and on your PATH.
Python version issues:
- Ensure Python 3.10+ is installed: python --version
- If using multiple Python versions, specify the correct one in your config.
Dashboard not loading:
- Check that Claude Desktop is running the server (restart after config change).
- If port 9880 is in use, set ABLETON_BRIDGE_DASHBOARD_PORT env var.
General fix:
- Restart both Claude/Cursor and Ableton Live.
- Always save your Ableton project before experimenting.
================================================================================
USEFUL LINKS
================================================================================
GitHub: https://github.com/BuggedPlayer/ableton-bridge
Discord: https://discord.gg/3ZrMyGKnaU
uv: https://docs.astral.sh/uv/getting-started/installation/
License: MIT
================================================================================