Skip to content

Latest commit

 

History

History
374 lines (271 loc) · 10.2 KB

File metadata and controls

374 lines (271 loc) · 10.2 KB

Installation Guide

Get Ableton MCP Extended running in under 10 minutes

Want to see what's possible first? Check out our capabilities demonstration video to see Ableton MCP Extended in action before installing!


Prerequisites

Before we start, make sure you have:

  • Ableton Live 11 or newer (any edition - Intro, Standard, or Suite)
  • Python 3.10 or higher (Download here)
  • Git command-line tool.
  • Claude Desktop or Cursor IDE (Claude | Cursor) | Gemini CLI works, but I've tested it and it's nowhere as good as the previous.
  • 15 minutes of uninterrupted time
  • Administrator privileges on your computer

Installation Steps

The installation process involves three main steps: getting the code, installing the remote script in Ableton, and configuring your AI assistant.

Step 1: Get the Code

First, clone the repository and install the required Python package.

  1. Clone the Repository:

    git clone [https://github.com/uisato/ableton-mcp-extended.git](https://github.com/uisato/ableton-mcp-extended.git)
    cd ableton-mcp-extended
  2. Install the Package: This command installs the project in "editable" mode, which is recommended.

    pip install -e .
  3. Verify Installation: Run the following command. A success message indicates the Python component is correctly installed.

    python -c "from mcp.server.fastmcp import FastMCP; print('✅ Python package installed successfully!')"

Step 2: Install the Ableton Remote Script

Ableton Live loads control scripts from a specific user directory.

Your Ableton Remote Scripts location depends on your operating system:

image

🪟 Windows

C:\Users\[YourUsername]\Documents\Ableton\User Library\Remote Scripts\

Quick way to find it:

  1. Open File Explorer
  2. Paste this in the address bar: %USERPROFILE%\Documents\Ableton\User Library\Remote Scripts
  3. Press Enter

🍎 macOS

~/Library/Preferences/Ableton/Live [Version]/User Remote Scripts/

Quick way to find it:

  1. Open Finder
  2. Press Cmd + Shift + G
  3. Paste: ~/Library/Preferences/Ableton/
  4. Navigate to your Live version folder, then User Remote Scripts

Install the Main Remote Script

  1. Create folder: In your Remote Scripts directory, create a new folder called AbletonMCP
  2. Copy file: Copy AbletonMCP_Remote_Script/__init__.py into the AbletonMCP folder

Your folder structure should look like:

Remote Scripts/
├── AbletonMCP/
│   └── __init__.py
└── (other scripts...)

Same would apply if you want to install the UDP version of Ableton MCP server. Create another folder (I called it "AbletonMCP_UDP") and place its corresponding 'init.py' inside. Both servers can co-exist.

💡 Tip: Double-check this folder structure - it's the most common source of installation issues.


Step 3: Configure Ableton Live

Enable the Remote Script:

  1. Open or restart Ableton Live.
  2. Navigate to Preferences (Ctrl + , or Cmd + ,).
  3. Go to the Link, Tempo & MIDI tab.
  4. In an empty Control Surface slot, select AbletonMCP from the dropdown menu.
  5. Set the Input and Output for the AbletonMCP surface to None.
  6. Close the Preferences window.

When the script is loaded correctly, you will see a message in Ableton's status bar: "AbletonMCP: Listening for commands on port 9877".


Step 4: Connect Your AI Assistant

Choose your preferred AI assistant:

🔵 Claude Desktop

  1. Open Claude Desktop
  2. Go to ClaudeSettingsDeveloper
  3. Click "Edit Config"
  4. Replace the entire content with:
{
  "mcpServers": {
    "AbletonMCP": {
      "command": "python",
      "args": [
        "C:\\path\\to\\ableton-mcp-extended\\MCP_Server\\server.py"
      ]
    }
  }
}
  1. Update the path: Replace C:\\path\\to\\ableton-mcp-extended with your actual installation path
  2. Save and restart Claude Desktop

🔍 Finding Your Installation Path

Windows:

# In your ableton-mcp-extended folder, run:
echo %CD%\MCP_Server\server.py

macOS:

# In your ableton-mcp-extended folder, run:
echo $PWD/MCP_Server/server.py

🟡 Cursor IDE

  1. Open Cursor
  2. Go to SettingsMCP
  3. Add new MCP server:
    • Paste this:
{
  "mcpServers": {
    "AbletonMCP": {
      "command": "python",
      "args": [
        "C:/path/to/ableton-mcp-extended/MCP_Server/server.py"
      ]
    }
  }
}
  1. Save settings

Verify AI Connection

For Claude Desktop: Look for a 🔨 hammer icon in the chat interface - this indicates MCP tools are loaded.

For Cursor: You'll see a green dot next to the MCP server icon, and a message saying "40 tools enabled".

You might have to restart your AI assistant in order for changes to impact.


Step 5: Test Your Installation

To confirm everything is working, try these commands in your AI assistant:

Basic Tests

  1. "Get information about my current Ableton session"

    • Should return details about your Ableton project
  2. "Create a new MIDI track"

    • Should create a new track in Ableton
  3. "What tracks do I currently have?"

    • Should list your tracks

If all three commands work correctly, congratulations! 🎉 Your installation is complete.


Optional: Advanced Features

⚡ High-Performance UDP Server (For Real-Time Control)

For ultra-low latency parameter control (like the XY Mouse Controller example):

  1. Install UDP Remote Script:

    • Create folder: Remote Scripts/AbletonMCP_UDP/
    • Copy: Ableton-MCP_hybrid-server/AbletonMCP_UDP/__init__.py
  2. Configure in Ableton:

    • Add another Control Surface: "AbletonMCP_UDP"
    • Input/Output: "None"
  3. Test XY Mouse Controller:

    cd experimental_tools/xy_mouse_controller
    pip install -r requirements.txt
    python mouse_parameter_controller_udp.py

Perfect for: Live performance, real-time effects, expressive control.

Note: both remote scripts (TCP and UDP) can co-exist without issues.

🎤 ElevenLabs Voice Integration

Add AI voice generation to your workflow:

  1. Get ElevenLabs API Key:

    • Sign up at elevenlabs.io
    • Get your API key from account settings
  2. Add to AI Assistant Config:

    {
      "mcpServers": {
        "AbletonMCP": {
          "command": "python",
          "args": ["C:/path/to/MCP_Server/server.py"]
        },
        "ElevenLabs": {
          "command": "python",
          "args": ["C:/path/to/elevenlabs_mcp/server.py"],
          "env": {
            "ELEVENLABS_API_KEY": "your-api-key-here"
          }
        }
      }
    }
  3. Test Voice Generation: Try: "Generate a voice saying 'Hello from ElevenLabs' and import it into Ableton"

Perfect for: Vocals, narration, podcast production, creative voice effects


🛠️ Troubleshooting

❌ Common Issues & Solutions

🔴 "AbletonMCP not found in Control Surface list"

Possible causes:

  • Remote Script not in correct folder
  • File permissions issue
  • Incorrect folder name

Solutions:

  1. Verify folder path: Remote Scripts/AbletonMCP/__init__.py
  2. Check file permissions (should be readable)
  3. Restart Ableton Live completely
  4. Check Ableton's log for error messages
🟡 "No hammer icon in Claude Desktop"

Possible causes:

  • Incorrect path in config file
  • Python not in system PATH
  • MCP server file missing

Solutions:

  1. Verify Python installation: python --version
  2. Check absolute path to server.py file
  3. Use double backslashes on Windows: C:\\path\\to\\file
  4. Restart Claude Desktop after config changes
🟠 "Connection refused" or "Socket error"

Possible causes:

  • Ableton not running
  • Remote Script not loaded
  • Firewall blocking connection

Solutions:

  1. Make sure Ableton Live is running
  2. Verify Remote Script is selected in Ableton preferences
  3. Check Windows Firewall/macOS firewall settings
  4. Try restarting both Ableton and your AI assistant
🔵 "Python not found" error

Solutions:

  1. Install Python: Download from python.org
  2. Add to PATH: During installation, check "Add Python to PATH"
  3. Verify installation: Open terminal, type python --version
  4. Use full path: If still issues, use full Python path in config

🔧 Advanced Troubleshooting

Enable Debug Mode:

  1. Set environment variable: ABLETON_MCP_DEBUG=1
  2. Restart your AI assistant
  3. Check console output for detailed logs

Test Components Individually:

# Test Python installation
python --version

# Test MCP server directly
python MCP_Server/server.py

# Test Ableton connection (with Ableton running)
python -c "import socket; s = socket.socket(); s.connect(('localhost', 9877)); print('✅ Connected')"

Capabilities Demonstration

📹 See Ableton MCP Extended in action: [Link to your capabilities demonstration]


Installation Complete!

You're now ready to co-create with your AI assistant!

🚀 Next Steps:

  1. Watch the Demo Video - See the amazing possibilities
  2. Join the Community - Share your creations

💬 Need Help?


Welcome to the future of music production!

Ready to make music through conversation? Let's create something amazing together.