Ableton Live MCP Server

io.github.wstierhout由 GitHub 帳號 wstierhout 發布v1.8.1更新於 Oct 24, 2026

Control Ableton Live with 156 typed tools for music production and offline .als analysis.

已驗證STDIO僅桌面檔案與儲存媒體與設計

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助手在執行中的 Ableton Live 專案裡建立軌道、編輯 MIDI、載入裝置並混音,也能離線分析已儲存的 .als 專案。

可以做什麼
  • 控制工作階段與播放:速度、播放/停止、循環、定位點、場景、復原、Link
  • 建立與管理軌道及混音器設定,包括路由、送出與電平表
  • 建立片段並寫入或編輯 MIDI 音符,設定量化、律動與 warp
  • 瀏覽並載入樂器與效果器,讀取與設定裝置參數、鼓墊與機架
  • 在時間軸上編排片段、寫入自動化,並用產生器產生鼓點、和弦、貝斯線與旋律
  • 將片段錄成 WAV、偵測調性、檢查混音,並在不開啟 Live 的情況下檢視與比對 .als、.adg、.adv 檔案
適用情境
適合想讓 AI 助手協助在 Ableton Live 11 或 12 中製作音樂——草擬節拍、編輯 MIDI、音色設計、混音——或在不開啟 Live 的情況下檢視與比較已儲存專案檔案的情況。
執行需求
透過 uvx 以 stdio 在本機執行,需要 Python 3.10+ 與 uv。需要 Ableton Live 11 或 12,並安裝隨套件提供的 Remote Script 且在控制面中選取它;橋接會監聽 127.0.0.1:9877。可用 ABLETON_TOOLSETS、ABLETON_MCP_PORT 與 ABLETON_PORT 變數調整工具集與連接埠。
安裝前請注意
Remote Script 在本機連接埠上監聽且沒有身分驗證,不要轉送該連接埠或綁定到公開網路。許多工具會做破壞性修改(刪除軌道、取代片段音符、覆寫編排區域),操作前請先儲存。安裝 Remote Script 會複製檔案到使用者資料庫,若發現既有腳本可能中止。並非 Ableton 官方產品。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Ableton Live MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Ableton Live MCP Server

[CI] [Release] [License: MIT] [Python] [Glama tool quality]

Website and installation guide: abletonmcp.com

Control Ableton Live from an AI assistant. This is a Model Context Protocol (MCP) server that gives Claude, Cursor, Codex, or any MCP client 156 tools for building tracks, editing MIDI, loading instruments and effects, mixing, and mastering inside a running Ableton Live set, plus offline tools that read and diff saved .als project files with Live closed.

A Remote Script runs inside Live and exposes the Live API over a local socket. The MCP server turns that into typed, validated tools that an AI can call correctly, with per-tool documentation, read-only and destructive hints, and workflow prompts.

Quickstart

You need Ableton Live 11 or 12, Python 3.10+, and uv (brew install uv).

1. Register the MCP server.

Codex (local desktop, CLI or IDE host):

bash
codex mcp add ableton -- uvx [email protected]codex mcp list

For manual configuration and troubleshooting, see the Codex guide.

Claude Code:

bash
claude mcp add AbletonMCP -s user -- uvx [email protected]

Claude Desktop or Cursor, in the mcpServers block of the config file:

json
{  "mcpServers": {    "AbletonMCP": {      "command": "uvx",      "args": ["[email protected]"]    }  }}

(To run an unreleased revision instead, use uvx --from git+https://github.com/wstierhout/ableton-live-mcp ableton-live-mcp.)

2. Install the Remote Script. This copies the Live-side script into your User Library:

bash
uvx [email protected] install

Then activate the bridge in Live:

  1. Fully restart Ableton Live.
  2. Open Settings > Tempo & MIDI, then find the MIDI section and its Control Surface list.
  3. In an unused Control Surface row, select AbletonMCP. Leave existing hardware controller rows unchanged.
  4. In that same row, set Input: None and Output: None.

Link is a separate Settings page in current Live versions. In older versions, look under Link, Tempo & MIDI (or Link/MIDI) in Settings/Preferences, then find the MIDI section.

This selection is required for every MCP client. Installation copies the Remote Script; selecting the Control Surface starts it inside Live. The bridge uses a local socket, so its row does not need hardware MIDI input/output ports.

Run the installer again after upgrading the package so the Live-side script stays version-matched. See Ableton's guide to third-party Remote Scripts if the entry does not appear.

3. Check the setup.

bash
uvx [email protected] doctor --json

Use the same --user-library "/path/to/User Library" for install and doctor if your library has moved. If an older/different script exists, installation stops: review it before adding --replace. A unique backup is retained. Restart Live before diagnosing; doctor checks both installed bytes and the running bridge version.

4. Start read-only. Ask for the tempo and track names without changes. Then, in a disposable set, try: "Make a lofi beat at 80 BPM with a dusty drum kit, an upright bass, and Rhodes chords, then put a limiter on the master at -1 dB."

What it can do

AreaTools
Session and transportsession info, one-call session snapshot, play/stop, tempo, tap tempo, time signature, loop, locators and cue navigation, scenes, undo/redo, capture MIDI, song scale, global groove and swing, Ableton Link
Tracks and mixercreate and delete MIDI, audio, and return tracks; delete devices; take lanes; group-track fold; volume, pan, mute, solo, arm, sends; input/output routing; meters
Clips and notescreate clips, write and edit MIDI notes (with probability), quantize with strength, Groove Pool swing, loop, gain, pitch, warp mode
Devicesbrowse and search by name, load instruments and effects onto any track including Master and Returns, read and set any parameter, sidechain routing, sample preview, rack macro variations, Simpler sample slicing, per-pad drum control, curated device knowledge base
Arrangementplace clips on the timeline, read and delete arrangement clips, write clip automation
Generatorsdrum patterns in 7 styles, euclidean rhythms, chord progressions, voice-led jazz voicings, 50-plus genre-aware progressions, voice-leading melodies, walking basslines, motif transforms (invert, retrograde, augment), minimalist processes, humanize, one-call session setup
Batchrun many edits in one round trip and one undo step
Audio and analysisrecord a section to a WAV without the Export dialog, detect key and scale, scan the mix for problems, diff the session since the last check
Offline (no Live)summarize, list tracks, extract MIDI, detect key, read mixer and locator detail, diff two versions, lint a saved .als, and parse .adg/.adv racks with edition detection
Recipesscaffold a genre starter (lofi, house) in one call

There are also five workflow prompts (make_a_beat, mix_and_master, start_a_track, sound_design, analyze_and_improve) and a set of server instructions that teach the model the conventions before its first call: 0-based indices, beats for time, 0.85 volume equals 0 dB, and native ranges for device parameters.

Notes

Every action is a specific tool with validated arguments; there is no arbitrary-code path. Some tools still make destructive edits (delete a track, replace a clip's notes, overwrite an arrangement region), so save your work before a big session.

Audio analysis and session changes

analyze_audio_file reads WAV (integer and floating point), AIFF/AIFF-C, FLAC, Ogg Vorbis, MP3, AAC and M4A/MP4 (AAC or Apple Lossless) locally. The package installs the PyAV decoder dependency. It preserves the file, sample rate, channel layout and floating-point headroom; compressed files are measured after decoding. Analysis covers the first 30 seconds by default (up to 120 seconds, with a 32-million-sample processing budget), and reports when the result is partial. Measurements include sample peak and RMS, not LUFS or true peak.

session_diff distinguishes renames, reordering and duplicate track names using identifiers from the running bridge. Call it before and after an edit; the first call establishes the comparison baseline. Installing an updated Remote Script and restarting Live keeps the bridge's snapshot format matched to the server.

Focusing the toolset

The server registers 156 tools. That is a lot for a model to choose from on a small task. Set ABLETON_TOOLSETS to load only the groups you need, for example ABLETON_TOOLSETS=session,tracks,clips,generators. Groups (each may span several modules): session, tracks, clips, devices, browser, arrangement, generators, audio, analysis, offline, recipes. Unset loads everything.

Conventions

  • Indices are 0-based. Times and lengths are in beats. Volume uses Live's 0.0 to 1.0 fader range where 0.85 is 0 dB.
  • Device parameters use each parameter's own range. Read get_device_parameters first and check min, max, and the display value before setting.
  • add_notes_to_clip replaces the clip's notes. Use edit_notes to add or remove a few without touching the rest.
  • Placing a session clip into the arrangement overwrites whatever is under it, which is also how you replace a section.
  • Transport replies report the state before the command ran. Confirm with get_session_info.

Troubleshooting

  • AbletonMCP is missing from the Control Surface list: the folder has to be named exactly AbletonMCP, and Live only scans scripts at startup, so restart it.
  • Every command times out: a dialog is open in Live and it blocks the script. On the trial, that is the startup nag. Dismiss it and retry.
  • Port 9877 is not listening: Live is not running, or the Control Surface is not set. If another program already uses 9877, set ABLETON_MCP_PORT in Live's launch environment and ABLETON_PORT for the server so both sides match.
  • You cannot export or freeze from a tool: Live's API has no render or freeze function, so those stay manual. For rendered audio, export with the shortcut and analyse the file separately.

Security

The Remote Script listens on 127.0.0.1:9877 with no authentication. It is bound to loopback so only local processes can reach it. Do not forward that port or change the bind address to a public interface. See SECURITY.md.

Development

ableton_live_mcp/  server.py        entrypoint: runs the MCP server or a setup subcommand  app.py           FastMCP app, lifecycle, and server instructions  connection.py    socket client to the Remote Script  cli.py           install / uninstall / doctor subcommands  tools/           session, tracks, clips, devices, browser, arrangement,                   generators, prompts  remote_script/    __init__.py    the Live-side script and its command dispatch tablestests/             protocol, dispatch-contract, and registration tests
bash
uv run --extra dev pytest      # testsuvx ruff check .               # lint

CI runs lint, a byte-compile of the Remote Script, and tests on Python 3.10, 3.12, 3.13, and 3.14.

Frequently asked questions

What is the Ableton Live MCP Server?

It is a local Model Context Protocol server that lets AI clients such as Claude, Cursor, and Codex inspect and control Ableton Live through typed tools. It can build tracks, edit MIDI, load and configure devices, arrange clips, mix a set, and analyze saved .als projects.

How is this different from other Ableton MCP servers?

This server exposes 156 specific, validated tools rather than an arbitrary-code execution tool. It includes destructive/read-only hints, workflow prompts, built-in music generators, mixing and analysis tools, and offline .als/.adg inspection. The Remote Script and MCP package are versioned and tested together.

Can it work while Ableton Live is closed?

The real-time control tools require Ableton Live and the bundled Remote Script to be running. The offline tools can summarize, inspect, lint, extract MIDI from, and diff saved .als, .adg, and .adv files without launching Live.

Which MCP clients are supported?

Any client that can launch a local stdio MCP server can use it, including Claude Desktop, Claude Code, Cursor, Codex, and compatible IDEs. The canonical command is uvx mcp-server-ableton-live.

Is this an official Ableton product?

No. It is an independent, open-source integration and is not affiliated with or endorsed by Ableton.

Credits and license

MIT licensed, maintained by Wouter Stierhout. See LICENSE. Ableton and Live are trademarks of Ableton AG. This independent open-source project is not affiliated with or endorsed by Ableton AG.

來源:README.md,提交 55abd3a

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v1.8.1最新Sep 17, 2026
  2. v1.8.0Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分