AbletonMCP
AbletonMCP - Ableton Live 模型上下文协议集成
AbletonMCP 通过模型上下文协议 (MCP) 将 Ableton Live 与 Claude AI 连接起来,使 Claude 能够直接与 Ableton Live 交互并控制它。这种集成实现了即时辅助的音乐制作、曲目创作和 Live 会话操控。
加入社区
提供反馈,获得启发,并在 MCP: Discord的基础上进行构建。由Siddharth制作
特征
双向通信:通过基于套接字的服务器将 Claude AI 连接到 Ableton Live
轨道操作:创建、修改和操作 MIDI 和音轨
乐器和效果选择:Claude 可以从 Ableton 的库中访问和加载正确的乐器、效果和声音
剪辑创建:创建和编辑带有注释的 MIDI 剪辑
会话控制:开始和停止播放、播放剪辑和控制传输
Related MCP server: AbletonMCP
成分
该系统由两个主要组件组成:
Ableton 远程脚本(
Ableton_Remote_Script/__init__.py):用于 Ableton Live 的 MIDI 远程脚本,可创建套接字服务器来接收和执行命令MCP 服务器(
server.py):一个实现模型上下文协议并连接到 Ableton 远程脚本的 Python 服务器
安装
通过 Smithery 安装
要通过Smithery自动安装适用于 Claude Desktop 的 Ableton Live Integration:
npx -y @smithery/cli install @ahujasid/ableton-mcp --client claude先决条件
Ableton Live 10 或更新版本
Python 3.8 或更高版本
如果您使用的是 Mac,请将 uv 安装为:
brew install uv否则,请从 [uv 官方网站][ https://docs.astral.sh/uv/getting-started/installation/ ] 安装
⚠️ 在安装 UV 之前请勿继续
Claude 用于桌面集成
转到 Claude > 设置 > 开发人员 > 编辑配置 > claude_desktop_config.json 以包含以下内容:
{
"mcpServers": {
"AbletonMCP": {
"command": "uvx",
"args": [
"ableton-mcp"
]
}
}
}光标集成
通过 uvx 运行 ableton-mcp,无需永久安装。前往“光标设置”>“MCP”,然后粘贴以下命令:
uvx ableton-mcp⚠️ 仅运行 MCP 服务器的一个实例(在 Cursor 或 Claude Desktop 上),而不是同时运行两者
安装 Ableton Remote 脚本
从此 repo 下载
AbletonMCP_Remote_Script/__init__.py文件将该文件夹复制到 Ableton 的 MIDI 远程脚本目录。不同的操作系统和版本有不同的位置。其中一个应该可以,你可能需要查看:
对于 macOS:
方法 1:前往“应用程序”> 右键单击 Ableton Live 应用程序 → 显示包内容 → 导航至:
Contents/App-Resources/MIDI Remote Scripts/方法二:如果第一种方法中没有找到,请使用直接路径(将 XX 替换为您的版本号):
/Users/[Username]/Library/Preferences/Ableton/Live XX/User Remote Scripts
对于 Windows:
方法 1:C:\Users[用户名]\AppData\Roaming\Ableton\Live xxx\Preferences\User Remote Scripts
方法 2:
C:\ProgramData\Ableton\Live XX\Resources\MIDI Remote Scripts\方法 3:
C:\Program Files\Ableton\Live XX\Resources\MIDI Remote Scripts\注意:将 XX 替换为您的 Ableton 版本号(例如,10、11、12)
在远程脚本目录中创建一个名为“AbletonMCP”的文件夹,并粘贴下载的“__init__.py”文件
启动 Ableton Live
前往“设置/首选项”→“链接、速度和 MIDI”
在控制界面下拉菜单中,选择“AbletonMCP”
将输入和输出设置为“无”
用法
启动连接
确保 Ableton Remote 脚本已加载到 Ableton Live 中
确保 MCP 服务器已在 Claude Desktop 或 Cursor 中配置
当你与 Claude 互动时,连接应该会自动建立
与 Claude 一起使用
一旦在 Claude 上设置了配置文件,并且远程脚本在 Ableton 中运行,您将看到一个带有 Ableton MCP 工具的锤子图标。
功能
获取会话和轨道信息
创建和修改 MIDI 和音轨
创建、编辑和触发剪辑
控制播放
从 Ableton 的浏览器加载乐器和效果
向 MIDI 片段添加注释
更改节奏和其他会话参数
示例命令
以下是您可以要求克劳德做的事情的一些示例:
“创作 80 年代合成波音乐”演示
“创造 Metro Boomin 风格的嘻哈节奏”
“使用合成低音乐器创建新的 MIDI 音轨”
“给我的鼓添加混响”
“创建一个带有简单旋律的 4 小节 MIDI 片段”
“获取有关当前 Ableton 会话的信息”
“将 808 鼓架加载到选定的轨道中”
“为轨道 1 中的剪辑添加爵士和弦进行”
“将节奏设置为 120 BPM”
“播放轨道 2 中的剪辑”
故障排除
连接问题:确保 Ableton Remote Script 已加载,并且 MCP 服务器已在 Claude 上配置
超时错误:尝试简化您的请求或将其分解为更小的步骤
您是否尝试过将其关闭并重新打开? :如果仍然遇到连接错误,请尝试重新启动 Claude 和 Ableton Live
技术细节
通信协议
该系统使用基于 JSON 的简单 TCP 套接字协议:
命令以 JSON 对象的形式发送,带有
type和可选params响应是带有
status和result或messageJSON 对象
限制和安全注意事项
创作复杂的音乐编排可能需要分解成更小的步骤
该工具旨在与 Ableton 的默认设备和浏览器项目配合使用
在进行大量实验之前,务必保存你的工作
贡献
欢迎贡献代码!欢迎提交 Pull 请求。
免责声明
这是第三方集成,不是由 Ableton 制作的。
Available Tools
16 toolsadd_notes_to_clipB
Add MIDI notes to a clip.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
notes: List of note dictionaries, each with pitch, start_time, duration, velocity, and mute
Inputs: track_index (required), clip_index (required), notes (required).
create_clipA
Create a new MIDI clip in the specified track and clip slot.
Parameters:
track_index: The index of the track to create the clip in
clip_index: The index of the clip slot to create the clip in
length: The length of the clip in beats (default: 4.0)
Inputs: track_index (required), clip_index (required), length.
create_midi_trackB
Create a new MIDI track in the Ableton session.
Parameters:
index: The index to insert the track at (-1 = end of list)
Inputs: index.
fire_clipA
Start playing a clip.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
Inputs: track_index (required), clip_index (required).
get_browser_items_at_pathA
Get browser items at a specific path in Ableton's browser.
Parameters:
path: Path in the format "category/folder/subfolder" where category is one of the available browser categories in Ableton
Inputs: path (required).
get_browser_treeA
Get a hierarchical tree of browser categories from Ableton.
Parameters:
category_type: Type of categories to get ('all', 'instruments', 'sounds', 'drums', 'audio_effects', 'midi_effects')
Inputs: category_type.
get_session_infoB
Get detailed information about the current Ableton session
Inputs: no named parameters.
get_track_infoC
Get detailed information about a specific track in Ableton.
Parameters:
track_index: The index of the track to get information about
Inputs: track_index (required).
load_drum_kitB
Load a drum rack and then load a specific drum kit into it.
Parameters:
track_index: The index of the track to load on
rack_uri: The URI of the drum rack to load (e.g., 'Drums/Drum Rack')
kit_path: Path to the drum kit inside the browser (e.g., 'drums/acoustic/kit1')
Inputs: track_index (required), rack_uri (required), kit_path (required).
load_instrument_or_effectC
Load an instrument or effect onto a track using its URI.
Parameters:
track_index: The index of the track to load the instrument on
uri: The URI of the instrument or effect to load (e.g., 'query:Synths#Instrument%20Rack:Bass:FileId_5116')
Inputs: track_index (required), uri (required).
set_clip_nameB
Set the name of a clip.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
name: The new name for the clip
Inputs: track_index (required), clip_index (required), name (required).
set_tempoA
Set the tempo of the Ableton session.
Parameters:
tempo: The new tempo in BPM
Inputs: tempo (required).
set_track_nameC
Set the name of a track.
Parameters:
track_index: The index of the track to rename
name: The new name for the track
Inputs: track_index (required), name (required).
start_playbackA
Start playing the Ableton session.
Inputs: no named parameters.
stop_clipB
Stop playing a clip.
Parameters:
track_index: The index of the track containing the clip
clip_index: The index of the clip slot containing the clip
Inputs: track_index (required), clip_index (required).
stop_playbackA
Stop playing the Ableton session.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 16 tools
Most tools have distinct purposes targeting specific resources like clips, tracks, browser, or playback. However, fire_clip and start_playback could be slightly ambiguous as both initiate playback, though fire_clip targets a specific clip while start_playback affects the entire session. The descriptions help clarify this distinction.
All tool names follow a consistent verb_noun pattern with clear, descriptive actions (e.g., add_notes_to_clip, create_clip, get_session_info). There are no deviations in naming conventions, making the set predictable and easy to understand.
With 16 tools, this server is well-scoped for controlling Ableton Live, covering key areas like clip management, track operations, browser navigation, and playback control. Each tool serves a specific function without redundancy, making the count appropriate for the domain.
The toolset provides comprehensive coverage for core Ableton workflows, including creating and managing clips/tracks, loading instruments/effects, and controlling playback. Minor gaps exist, such as no tools for deleting clips or tracks, but agents can work around this by recreating or overwriting resources.
Maintenance
Related MCP Connectors
Generate AI music via the Lacuna Music API from MCP clients like Claude Desktop & Code.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Use AI models for chat, image, and video generation from Claude Code and other MCP hosts.
Compose, mix, master and export in Logic Pro, REAPER or Ableton Live by talking to an AI engineer.
Related MCP Servers
- AlicenseCqualityDmaintenanceConnects Claude AI to Ableton Live through the Model Context Protocol, enabling prompt-assisted music production with track creation, instrument loading, clip editing, and session control. Allows users to create complete musical arrangements by describing what they want in natural language.373MIT
- AlicenseBqualityDmaintenanceConnects Ableton Live to Claude AI via the Model Context Protocol for prompt-assisted music production and session manipulation. It enables users to create tracks, load instruments, and manage MIDI clips using natural language commands.161MIT
- AlicenseBqualityCmaintenanceConnects Ableton Live to Claude AI through the Model Context Protocol, enabling AI-assisted music production and Live session manipulation via over 200 tools.10060MIT
- AlicenseBqualityDmaintenanceConnects Claude AI to Ableton Live via the Model Context Protocol, enabling prompt-assisted music production, track and clip manipulation, and session control.16MIT