LiveBrain MCP
Enables AI agents to control Ableton Live 12 for music production, including generating grooves, basslines, and percussion, and executing live set operations through MCP.
README
LiveBrain
AI music production brain for Ableton Live.
LiveBrain is an agent-agnostic music-production system for deep control of Ableton Live 12. Unlike a generic remote-control MCP, it combines a normalized Ableton API with deterministic musical generation, mutation, project analysis and—later—a local Reference Brain and preference model.
The same LiveBrain core is intended to work with Claude Desktop, Claude Code, ChatGPT, Codex, Cursor, VS Code and other MCP-compatible clients. Each client may require a different transport or deployment model.
Architecture
- MCP Server (TypeScript) — stable tools exposed to any compatible AI client.
- Music Brain (TypeScript) — grooves, basslines, percussion and style-aware decisions.
- Ableton Bridge (temporary Python Remote Script) — deliberately small JSON-lines adapter to Live's current Python API.
- Reference Brain (planned) — musical analysis and reusable style profiles.
- Ableton Extensions SDK adapter (planned) — preferred native bridge once the required Ableton APIs are available and stable; it will replace the temporary Python layer.
- React dashboard (optional) — observability and manual control later.
Client and transport strategy
Claude Desktop / Claude Code / Cursor / VS Code
│
MCP stdio
│
▼
LiveBrain Core
▲
│
remote MCP / secure tunnel
│
ChatGPT / Codex
- Local clients: use the
stdioMCP transport. - Remote clients: will use a remote MCP transport or secure tunnel.
- Music Brain: remains identical for every client.
- Ableton adapter: is isolated behind a typed interface so its implementation can change without rewriting the MCP tools or Music Brain.
Ableton integration policy
Python is a compatibility bridge, not LiveBrain's long-term foundation. During the early releases it should contain only the code that must execute inside Ableton Live:
- read and serialize Live Set state;
- execute validated commands on Live objects;
- return normalized results and errors;
- avoid musical-generation or agent logic.
Musical reasoning, reference analysis, validation, schemas and orchestration belong in TypeScript. When Ableton's Extensions SDK exposes the control surface LiveBrain needs, a native Extensions adapter will replace the Python bridge while preserving the higher-level APIs.
Quick start
npm install
npm run build
npm run dev
Use Node.js 20 or newer. Run without Ableton during development with:
LIVEBRAIN_ADAPTER=mock npm run dev
The initial MCP server uses stdio. The temporary Python bridge listens only on 127.0.0.1:9877.
Ableton Remote Script
- Copy
bridge/LiveBraininto a MIDI Remote Scripts location recognized by your Ableton Live 12 installation. - Restart Live.
- In Settings → Link, Tempo & MIDI, select LiveBrain as a Control Surface.
- Keep port
9877on localhost; never expose the bridge publicly.
Live installations can use different Remote Script locations. See docs/ABLETON_API.md.
Claude Desktop
After npm run build, add the server to Claude Desktop's MCP configuration:
{
"mcpServers": {
"livebrain": {
"command": "node",
"args": ["/absolute/path/to/livebrain-mcp/dist/index.js"],
"env": { "LIVEBRAIN_HOST": "127.0.0.1", "LIVEBRAIN_PORT": "9877" }
}
}
}
Development and testing
npm run typecheck
npm test
npm run build
Structured logs go only to stderr so MCP stdio is never corrupted.
Current MCP tools
health,ableton_capabilitieslivebrain_analyze_set(compactordetailed)ableton_create_midi_track,ableton_create_midi_clipableton_get_clip_notes,ableton_replace_notes,ableton_duplicate_clip,ableton_set_clip_loopableton_get_devices,ableton_get_device_parameters,ableton_set_device_parametermusic_generate_drum_groove,music_generate_bass,music_generate_sequencemusic_mutate_clip,music_make_less_obvious,music_make_bass_less_obvious,music_evolve_sectionmusic_compare_to_profilereference_add,reference_analyze,reference_tag,reference_ratereference_set_influence,reference_get,reference_list,reference_build_profile,reference_explain_profile,reference_blend_profilesfeedback_generation,feedback_get_preferencesgeneration_set_locks,generation_get_locks
Write operations support dryRun where useful.
Reference workflow
Reference audio remains at its original local path and is never copied into Git. LiveBrain stores shareable measurements separately from a gitignored local path index.
livebrain reference-add --audio "/local/music/reference.wav" --title "Reference 01" --groups afterhours_2019
livebrain reference-analyze --id UUID
livebrain reference-rate --id UUID --ratings '{"groove":9,"space":8,"cheese":0.5}'
livebrain reference-set-influence --id UUID --influence '{"groove":1,"bass":0,"arrangement":0.8}'
livebrain reference-build-profile --group afterhours_2019
PCM WAV analysis is built in. MP3, AIFF, FLAC, M4A and OGG use ffmpeg; install it and optionally set LIVEBRAIN_FFMPEG_PATH.
Documentation
- Architecture
- Ableton API
- Music Brain
- Reference Brain
- Style Engine
- Feedback Engine
- Selective Generation & Evolution
- Roadmap
Layout
src/
index.ts
bridge/client.ts
music-brain/
bridge/LiveBrain/
Roadmap
- v0.1: MCP, minimal bridge and first Music Brain.
- v0.1.1: thread-safe Live execution, versioned bridge protocol and replaceable Ableton adapter.
- v0.2: devices, automation, arrangement, browser, racks, routing and section operations.
- v0.3: Reference Brain and evolving producer profiles.
- v0.4: selective generation, persistent dimension locks and section evolution.
- Future: remote MCP transport and migration from the Python compatibility bridge to Ableton Extensions SDK.
推荐服务器
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 模型以安全和受控的方式获取实时的网络信息。