Ableton Live MCP Server
Project description
Ableton Live MCP Server
📌 Overview
The Ableton Live MCP Server is a server implementing the Model Context Protocol (MCP) to facilitate communication between LLMs and Ableton Live. It uses OSC (Open Sound Control) to send and receive messages to/from Ableton Live. It is based on AbletonOSC implementation and exhaustively maps available OSC adresses to tools accessible to MCP clients.
This project consists of two main components:
mcp_ableton_server.py: The MCP server handling the communication between clients and the OSC daemon.osc_daemon.py: The OSC daemon responsible for relaying commands to Ableton Live and processing responses.
✨ Features
- Provides an MCP-compatible API for controlling Ableton Live from MCP clients.
- Uses python-osc for sending and receiving OSC messages.
- Based on the OSC implementation from AbletonOSC.
- Implements request-response handling for Ableton Live commands.
⚡ Installation
Requirements
- Python 3.8+
python-osc(for OSC communication)fastmcp(for MCP support)uv(recommended Python package installer)- AbletonOSC as a control surface
Installation Steps
-
Install
uv(https://docs.astral.sh/uv/getting-started/installation):curl -LsSf https://astral.sh/uv/install.sh | sh
-
Clone the repository:
git clone https://github.com/your-username/mcp_ableton_server.git cd mcp_ableton_server
-
Install the project and its dependencies:
uv sync -
Install AbletonOSC Follow the instructions at AbletonOSC
🚀 Usage
Running the OSC Daemon
The OSC daemon will handle OSC communication between the MCP server and Ableton Live:
uv run osc_daemon.py
This will:
- Listen for MCP client connections on port 65432.
- Forward messages to Ableton Live via OSC on port 11000.
- Receive OSC responses from Ableton on port 11001.
Example Usage
In Claude desktop, ask Claude:
- Prepare a set to record a rock band
- Set the input routing channel of all tracks that have "voice" in their name to Ext. In 2
⚙️ Configuration
By default, the server and daemon run on localhost (127.0.0.1) with the following ports:
- MCP Server Socket: 65432
- Ableton Live OSC Port (Send): 11000
- Ableton Live OSC Port (Receive): 11001
To modify these, edit the AbletonOSCDaemon class in osc_daemon.py:
self.socket_host = '127.0.0.1'
self.socket_port = 65432
self.ableton_host = '127.0.0.1'
self.ableton_port = 11000
self.receive_port = 11001
Claude Desktop Configuration
To use this server with Claude Desktop, you need to configure it in your Claude Desktop settings. The configuration file location varies by operating system:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%/Claude/claude_desktop_config.json
Add the following configuration to your mcpServers section:
{
"mcpServers": {
"Ableton Live Controller": {
"command": "/path/to/your/project/.venv/bin/python",
"args": ["/path/to/your/project/mcp_ableton_server.py"]
}
}
This configuration ensures that:
- The server runs with all dependencies properly managed
- The project remains portable and reproducible
Contributing
Feel free to submit issues, feature requests, or pull requests to improve this project.
License
This project is licensed under the MIT License. See the LICENSE file for
details.
Acknowledgments
- Model Context Protocol (MCP)
- python-osc for OSC handling
- Daniel John Jones for OSC implementation with AbletonOSC
- Ableton Third Party Remote Scripts
- Julien Bayle @Structure Void for endless inspirations and resources.
TODO
- Explore resources and prompts primitives opportunities.
- Build a standalone Ableton Live MCP client.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mseep_ableton_live_mcp_server-0.1.0.tar.gz.
File metadata
- Download URL: mseep_ableton_live_mcp_server-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cdb7ba9cfef7701f6bb5d0c099d7ab435ba92b5c25c50d85adf89eafdf63bbd
|
|
| MD5 |
61b40684bc6cf3e9c009c14552118b6a
|
|
| BLAKE2b-256 |
12cb8af111ce27d7c3a62fa0d6c05a987ff861e3f1bacfb9aed9fd209cbac084
|
File details
Details for the file mseep_ableton_live_mcp_server-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mseep_ableton_live_mcp_server-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c15f7e005b79c2cdda10fae67e4e513c4de2cd7294651cbac30a72252fe79e1
|
|
| MD5 |
30ddf8150f0b10c0707ac5223a079d61
|
|
| BLAKE2b-256 |
2ec65a4ce3b56d54e9325a3f018c9bd37e3910ddcd79c43edce9e5a47b921d01
|