
Ableton for AI
io.github.peterkolbe由 GitHub 账号 peterkolbe 发布v0.1.2更新于 Oct 28, 2026
Bridge between Ableton Live and AI. Inspect, analyze audio, and control mixing via MCP.
概览
把 Ableton Live 接入 MCP 客户端,让助手查看工程、分析导出的分轨,并调整混音与设备参数。
- 可以做什么
- 读取会话与轨道信息:速度、定位点、轨道列表、混音状态、设备链及参数
- 一次调用批量查询多条轨道的完整数据
- 分析导出的分轨,生成音频摘要(LUFS、峰值、RMS、瞬态)与频谱图
- 以资源形式读取这些摘要和频谱图,并列出可用的分析结果
- 远程调整轨道音量与声像,并设置任意设备参数
- 适用场景
- 适合在 Ableton Live 中工作、希望助手回答工程状态问题、基于分轨分析给出混音建议,或直接在对话中调整推子、声像和设备参数的用户。
- 运行要求
- 在桌面端本地运行(macOS 或 Windows),需要 Python 3.11+ 或 uv;Ableton Live 并安装启用 AbletonOSC 控制面;STEMS_SOURCE_DIR 指向手动从 Live 导出的分轨文件夹;可选 PREFERRED_AUDIO_FORMAT 等设置。
安装
在 SourceWeft 中
- 打开 控制台中的 Ableton for AI,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Ableton for AI
[!IMPORTANT] For AI Agents: Please read AGENTS.md for detailed technical context and protocol specifications before working on this project.
Ableton for AI is the bridge between your DAW and AI models. It makes Ableton projects hearable and visible to AI models by implementing the Model Context Protocol (MCP) and exporting detailed project data.
What can it do?
Connect Ableton Live directly to MCP-capable AI clients (like Claude Desktop, Cursor, or Cline). The AI can inspect, analyze, and even modify your project in real-time.
Included Tools:
get_overview: SESSION DISCOVERY. Provides tempo, locators, and a list of all tracks with their current mixer state (volume, panning, etc.).get_track: TRACK INSPECTION. Comprehensive data for a single track: metadata, complete device chain, and all device parameters (with UI-readable strings).get_tracks: BULK TRACK INSPECTION. Query full data for a range of tracks in a single parallelized call.analyze_stems: DEEP AUDIO ANALYSIS. Triggers generation of audio summaries (.summary.json) and spectrograms (.spectrogram.webp) for all tracks.set_track_volume/set_track_panning: MIXER CONTROL. Remotely adjust track faders and panning.set_device_parameter: REMOTE CONTROL. Precisely adjust any parameter of any device in the project.
Included Resources:
ableton://stems/{track_name}/summary: AUDIO SUMMARY. Compact analysis (JSON) containing LUFS, Peak, RMS, 10ms-frames, detected transients, and alegendfield.ableton://stems/{track_name}/spectrogram: VISUAL ANALYSIS. Log-frequency spectrogram image (WebP) for visual frequency inspection.ableton://stems/available/summaries: Discovery resource for all tracks with available audio summaries.ableton://stems/available/spectrograms: Discovery resource for all tracks with available spectrograms.
How do I get started?
1. Prepare your environment
Install AbletonOSC
This project relies on AbletonOSC to communicate with Ableton Live.
- Download and install AbletonOSC.
- Follow the instructions there to add it as a Control Surface in Ableton Live's Link/Tempo/MIDI settings.
Install ableton-for-ai
Option A: uv (Recommended)
uv lets you run the server directly without installing anything globally:
Option B: pip
Requires Python 3.11+ (python.org or brew install python):
2. Connect to your Chatbot (MCP Client)
Add the server to your MCP client configuration (e.g. Claude Desktop, Cursor, or Cline).
Via uvx (if you installed uv)
Via pip (if you installed with pip)
[!NOTE]
STEMS_SOURCE_DIRmust point to the folder where your exported audio stems are located. You need to export stems manually from Ableton Live (e.g. via "Export Audio/Video" with individual tracks selected), as there is currently no OSC API for triggering exports. The audio analysis tools (analyze_stems) will look for files in this directory.
Where to put this config
- Claude Desktop (macOS):
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop (Windows):
%APPDATA%\Claude\claude_desktop_config.json - Cursor / Cline: See their respective MCP documentation.
Restart your MCP client after saving the config.
3. Use it
Once connected, you can ask the AI about your project state. The AI will use the included tools and resources to fetch data directly from Ableton.
For audio analysis: Export your stems from Ableton Live first (e.g. via File → Export Audio/Video with individual tracks selected) into your configured STEMS_SOURCE_DIR. This step must be done manually, as there is no API for triggering exports.
For complex tasks (e.g. mix feedback): Give the chatbot context about your project. A good starting prompt includes genre, goal, and where your exported stems start (beat or locator). See agent-templates/mix-engineer.md for a ready-to-use prompt template.
Example prompts:
- "What is the current tempo and how many tracks do I have?"
- "Check the EQ settings on my Lead Synth track."
- "Show me an overview of the mixer state."
- "Analyze the stems and tell me if there are any frequency clashes."
- "Show me the spectrogram for the 'Kick' track."
⚙️ Configuration
You can customize the server behavior by setting environment variables or editing config.py (when running from source).
🔌 Using Custom VSTs / Plugins
1. Register the Plugin Name
In config.py, add the exact name of the plugin as it appears in Ableton to RELEVANT_DEVICE_NAMES.
2. Auto-Populate Parameters (The Options.txt Trick)
By default, Ableton Live only exposes the parameters of a third-party plugin, if the overall parameter number threshold (_PluginAutoPopulateThreshold) is below 64 ( default), see here. You can change this to 128 and hope that your favorite custom VSTs will be exposed. If they are still not exposed, because there are too many (e.g. Fab Filter Pro Q 4), you have to configure the parameters within ableton.
Force Ableton to automatically expose parameters by adding -_PluginAutoPopulateThreshold=128 to your Options.txt:
- Mac:
~/Library/Preferences/Ableton/Live [Version]/Options.txt - Windows:
%AppData%\Ableton\Live [Version]\Preferences\Options.txt
Mac Terminal Commands
To quickly set this up on a Mac, you can use these commands (replace [Version] with your actual Live version, e.g., 12.3.6):
OR open the file in a text editor and add the setting manually, e.g.
📂 CLI: Analyze & Upload (No MCP required)
This method is ideal for LLMs that don't support MCP directly (like ChatGPT or the Claude Web Interface). It runs the same analysis pipeline locally and exports the results as files you can upload to any chatbot.
Available Commands
Full audio analysis (summaries + spectrograms + full analysis JSONs):
Extract Ableton project metadata only (tracks, devices, parameters):
Full pipeline (audio analysis AND project data extraction):
[!NOTE] The OSC daemon starts automatically — no need to launch it manually.
Output
The results will be stored in the ./out directory, organized into subfolders:
./out/project/: Contains the Ableton project JSON file../out/summaries/: Contains compressed audio analysis JSONs (optimized for AI)../out/spectrograms/: Contains spectrogram WebP images for each stem../out/analyses/: Contains full high-resolution analysis JSONs.
Mixing with AI (Manual Upload)
- Export your stems from Ableton into your
STEMS_SOURCE_DIR. - Run
ableton-for-ai-cli analyze_stemsto generate analysis files. - Drag and drop the files from your
outfolder into the chatbot (spectrograms.webp+ analysis.json). - Use a prompt like this:
🛠️ Development & Contributing
Local Setup (from source)
Run the MCP server from source:
Run CLI commands from source:
MCP Inspector (Debugging)
The MCP Inspector is useful for testing and debugging the MCP server during development.
Start it directly via terminal:
Or start the Inspector without presets and configure it manually:
Then enter the following in the Inspector UI:
- Command:
uv - Arguments:
--directory /absolute/path/to/ableton-for-ai run mcp_server_ableton.py
Linting & Formatting
Publishing to MCP Registry
To publish a new version to the official MCP Registry:
Verify the publication:
Make sure to update the version in both server.json and pyproject.toml before publishing.
⚠️ Known Limitations & Troubleshooting
Automation Tracking
- Not Supported: Automation data is not included in the exports.
- Technical Reason: The underlying
AbletonOSCscript does not reliably expose automation status or points in its current version.
📄 License
This project is licensed under the MIT License.
来源:README.md,提交 73ab160
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分