Skip to main content
Glama

AbletonMCP - Advanced Ableton Live Model Context Protocol Integration

Ableton Live Python MCP License

AbletonMCP connects Ableton Live to Claude AI through the Model Context Protocol (MCP), enabling comprehensive AI-assisted music production, track creation, and Live session manipulation with 37 powerful tools.

šŸŽµ Features

Session Management

  • Session Information: Get detailed session data including tempo, time signature, track counts

  • Playback Control: Start/stop playback with precision

  • Tempo Control: Adjust session tempo in real-time

Track Management

  • Track Creation: Create MIDI and audio tracks

  • Track Operations: Delete, duplicate, and rename tracks

  • Track Control: Arm/disarm for recording, mute/solo functionality

  • Track Information: Get detailed track information and status

Mixing & Audio Controls

  • Volume Control: Adjust individual track volumes

  • Panning Control: Set track panning positions

  • Send Levels: Control send effects and returns

  • Audio Routing: Manage track routing and sends

Clip Management

  • Clip Creation: Create MIDI clips with custom lengths

  • Note Programming: Add MIDI notes with pitch, timing, velocity, and mute control

  • Clip Operations: Copy, delete, and manipulate clips

Scene Management

  • Scene Control: Fire scenes for live performance

  • Scene Creation: Create and delete scenes

  • Scene Organization: Manage scene structure

Recording

  • Recording Control: Start and stop recording

  • Track Arm: Arm tracks for recording

  • Recording Management: Handle recording states

Device Management

  • Device Loading: Add instruments and effects

  • Parameter Control: Adjust device parameters

  • Device Management: Remove devices, activate/deactivate

  • Parameter Discovery: Get device parameter information

Related MCP server: AbletonMCP

šŸ—ļø Architecture

The system consists of two main components:

1. Ableton Remote Script (AbletonMCP_Remote_Script/__init__.py)

A MIDI Remote Script that runs inside Ableton Live, creating a socket server to receive and execute commands from the MCP server.

Key Features:

  • Socket-based communication (localhost:9877)

  • Thread-safe command processing

  • Comprehensive error handling

  • Real-time Ableton Live API integration

2. MCP Server (MCP_Server/server.py)

A Python server implementing the Model Context Protocol, connecting to the Ableton Remote Script and exposing 37 tools to Claude AI.

Key Features:

  • FastMCP implementation

  • Comprehensive tool set

  • Robust error handling

  • Real-time communication

šŸ“‹ Prerequisites

  • Ableton Live 10 or newer (tested with Live 12.3b9)

  • Python 3.8 or newer

  • Claude Desktop with MCP support

  • Windows/macOS/Linux support

šŸš€ Installation

Step 1: Clone the Repository

git clone https://github.com/Milesy1/MCP-Ableton-API.git
cd MCP-Ableton-API

Step 2: Install Dependencies

# Install using pip
pip install -e .

# Or install dependencies directly
pip install mcp[cli]>=1.3.0

Step 3: Install the Ableton Remote Script

Windows:

  1. Navigate to one of these locations:

    • C:\Users\[Username]\AppData\Roaming\Ableton\Live x.x.x\Preferences\User Remote Scripts

    • C:\ProgramData\Ableton\Live XX\Resources\MIDI Remote Scripts\

    • C:\Program Files\Ableton\Live XX\Resources\MIDI Remote Scripts\

  2. Create a folder called AbletonMCP

  3. Copy AbletonMCP_Remote_Script/__init__.py into the AbletonMCP folder

macOS:

  1. Navigate to one of these locations:

    • Applications > Right-click Ableton Live > Show Package Contents > Contents/App-Resources/MIDI Remote Scripts/

    • /Users/[Username]/Library/Preferences/Ableton/Live XX/User Remote Scripts

  2. Create a folder called AbletonMCP

  3. Copy AbletonMCP_Remote_Script/__init__.py into the AbletonMCP folder

Step 4: Configure Ableton Live

  1. Launch Ableton Live

  2. Go to Settings/Preferences → Link, Tempo & MIDI

  3. In the Control Surface dropdown, select "AbletonMCP"

  4. Set Input and Output to "None"

Step 5: Configure Claude Desktop

  1. Open Claude Desktop

  2. Go to Settings → Developer → Edit Config

  3. Edit claude_desktop_config.json:

{
    "mcpServers": {
        "AbletonMCP": {
      "command": "python",
      "args": ["C:\\path\\to\\your\\MCP-Ableton-API\\MCP_Server\\server.py"]
        }
    }
}

Note: Replace the path with your actual installation path.

šŸŽ›ļø Available Tools

Session Tools

  • get_session_info - Get detailed session information

  • set_tempo - Change session tempo

  • start_playback - Start playback

  • stop_playback - Stop playback

Track Tools

  • create_midi_track - Create MIDI tracks

  • create_audio_track - Create audio tracks

  • delete_track - Delete tracks

  • duplicate_track - Duplicate tracks

  • set_track_name - Rename tracks

  • get_track_info - Get track details

  • set_track_arm - Arm/disarm tracks

  • set_track_mute - Mute/unmute tracks

  • set_track_solo - Solo/unsolo tracks

Mixing Tools

  • set_track_volume - Adjust track volumes

  • set_track_panning - Control track panning

  • set_track_send - Adjust send levels

Clip Tools

  • create_clip - Create MIDI clips

  • add_notes_to_clip - Add MIDI notes

  • copy_clip - Copy clips

  • delete_clip - Delete clips

Scene Tools

  • fire_scene - Trigger scenes

  • create_scene - Create scenes

  • delete_scene - Delete scenes

Recording Tools

  • start_recording - Start recording

  • stop_recording - Stop recording

Device Tools

  • add_device - Add instruments/effects

  • remove_device - Remove devices

  • set_device_parameter - Adjust device parameters

  • set_device_active - Enable/disable devices

  • get_device_parameters - Get device parameter info

šŸŽµ Usage Examples

Basic Track Creation

"Create a new MIDI track with a synth bass instrument"
"Add an audio track for vocals"
"Set track 1 to arm for recording"

Mixing and Effects

"Set the volume of track 2 to 80%"
"Pan track 3 to the left (-0.5)"
"Add reverb to track 1 with 30% wet signal"
"Set the master volume to 85%"

MIDI Programming

"Create a 4-bar MIDI clip in track 1"
"Add a C major chord progression to the clip"
"Create a drum pattern with kick on 1 and 3, snare on 2 and 4"

Scene Management

"Create a new scene called 'Verse'"
"Fire scene 2"
"Delete the last scene"

Advanced Composition

"Create a Metro Boomin style hip-hop beat with 808s and hi-hats"
"Build an 80s synthwave track with arpeggiated bass"
"Create a jazz chord progression in track 1"

šŸ”§ Troubleshooting

Connection Issues

  • Ensure Ableton Live is running with the AbletonMCP control surface selected

  • Check that the MCP server path in Claude Desktop config is correct

  • Verify Python dependencies are installed

Tool Not Available

  • Restart Claude Desktop after configuration changes

  • Clear Claude Desktop cache if tools don't appear

  • Check MCP server logs for errors

Timeout Errors

  • Break complex requests into smaller steps

  • Ensure Ableton Live is responsive

  • Check socket connection (localhost:9877)

Performance Issues

  • Close unnecessary Ableton Live tracks

  • Avoid simultaneous complex operations

  • Monitor system resources

šŸ—ļø Development

Project Structure

MCP-Ableton-API/
ā”œā”€ā”€ AbletonMCP_Remote_Script/    # Ableton Live Remote Script
│   └── __init__.py
ā”œā”€ā”€ MCP_Server/                  # MCP Server Implementation
│   └── server.py
ā”œā”€ā”€ pyproject.toml              # Project Configuration
ā”œā”€ā”€ README.md                   # This File
ā”œā”€ā”€ LICENSE                     # MIT License
ā”œā”€ā”€ Dockerfile                  # Container Configuration
└── smithery.yaml              # Smithery Configuration

Adding New Tools

  1. Add command handler in AbletonMCP_Remote_Script/__init__.py

  2. Add tool endpoint in MCP_Server/server.py

  3. Update command routing in the Remote Script

  4. Test and document the new functionality

Testing

# Test MCP server
python -m MCP_Server.server

# Test socket communication
python create_midi.py

šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Setup

  1. Fork the repository

  2. Create a feature branch

  3. Make your changes

  4. Add tests if applicable

  5. Submit a pull request

Code Style

  • Follow PEP 8 for Python code

  • Add comprehensive docstrings

  • Include error handling

  • Update documentation

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ™ Acknowledgments

  • Ableton for the amazing Live software and API

  • Anthropic for Claude AI and MCP protocol

  • MCP Community for the Model Context Protocol

  • Contributors who help improve this project

šŸ“ž Support

If you encounter any issues or have questions:

  1. Check the troubleshooting section

  2. Search existing GitHub Issues

  3. Create a new issue with detailed information

  4. Join the discussion in the community


Made with ā¤ļø for the music production community

Transform your Ableton Live workflow with AI-powered assistance!

Available Tools

37 tools
add_deviceD

Inputs: track_index (required), device_type (required).

add_notes_to_clipD

Inputs: track_index (required), clip_index (required), notes (required).

copy_clipD

Inputs: source_track (required), source_clip (required), target_track (required), target_clip (required).

create_audio_trackD

Inputs: index.

create_clipD

Inputs: track_index (required), clip_index (required), length.

create_midi_trackD

Inputs: index.

create_sceneD

Inputs: index.

delete_clipD

Inputs: track_index (required), clip_index (required).

delete_sceneD

Inputs: scene_index (required).

delete_trackD

Inputs: track_index (required).

duplicate_trackD

Inputs: track_index (required).

fire_clipD

Inputs: track_index (required), clip_index (required).

fire_sceneD

Inputs: scene_index (required).

get_browser_items_at_pathD

Inputs: path (required).

get_browser_treeD

Inputs: category_type.

get_device_parametersD

Inputs: track_index (required), device_index (required).

get_session_infoD

Inputs: no named parameters.

get_track_infoD

Inputs: track_index (required).

load_drum_kitD

Inputs: track_index (required), rack_uri (required), kit_path (required).

load_instrument_or_effectD

Inputs: track_index (required), uri (required).

remove_deviceD

Inputs: track_index (required), device_index (required).

set_clip_nameD

Inputs: track_index (required), clip_index (required), name (required).

set_device_activeD

Inputs: track_index (required), device_index (required), active.

set_device_parameterD

Inputs: track_index (required), device_index (required), parameter_index (required), value (required).

set_tempoD

Inputs: tempo (required).

set_track_armD

Inputs: track_index (required), arm.

set_track_muteD

Inputs: track_index (required), mute.

set_track_nameD

Inputs: track_index (required), name (required).

set_track_panningD

Inputs: track_index (required), panning (required).

set_track_sendD

Inputs: track_index (required), send_index (required), send_value (required).

set_track_soloD

Inputs: track_index (required), solo.

set_track_volumeD

Inputs: track_index (required), volume (required).

start_playbackD

Inputs: no named parameters.

start_recordingD

Inputs: no named parameters.

stop_clipD

Inputs: track_index (required), clip_index (required).

stop_playbackD

Inputs: no named parameters.

stop_recordingD

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2/5.0

    Scored across 37 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific Ableton Live operations like clip management, track control, device handling, and session playback. There's some potential overlap between 'fire_clip' and 'start_playback' in triggering audio, but descriptions would likely clarify that 'fire_clip' targets individual clips while 'start_playback' controls overall session playback.

    Naming Consistency5/5

    Excellent consistency with a clear verb_noun pattern throughout all 37 tools. The naming follows predictable conventions like 'create_clip', 'delete_track', 'set_tempo', 'get_session_info', and 'start_playback' with no mixing of styles or irregular patterns.

    Tool Count3/5

    37 tools is quite high and borders on heavy for an MCP server. While Ableton Live has extensive functionality, this many tools may overwhelm agents and suggests possible fragmentation. A more streamlined set with 15-25 tools could better balance coverage and usability.

    Completeness5/5

    The tool set provides comprehensive coverage of Ableton Live's core workflows including session management (create/delete tracks/scenes), clip manipulation, device control, browser navigation, parameter adjustment, and transport controls. There are no obvious gaps for basic DAW operations.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Connects Ableton Live to Claude AI through the Model Context Protocol, enabling AI-assisted music production by allowing Claude to directly interact with and control Ableton Live sessions.
      16
      2,543 PyPI
      3,403
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Connects 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.
      16
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Connects Ableton Live to Claude AI through the Model Context Protocol, enabling AI-assisted music production and Live session manipulation via over 200 tools.
      100
      60
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      Connects Claude AI to Ableton Live via the Model Context Protocol, enabling prompt-assisted music production, track and clip manipulation, and session control.
      16
      MIT