Skip to main content
Glama

AbletonMCP - Ableton Live モデルコンテキストプロトコル統合

鍛冶屋のバッジ

AbletonMCPは、Model Context Protocol(MCP)を介してAbleton LiveをClaude AIに接続し、ClaudeがAbleton Liveを直接操作できるようにします。この統合により、プロンプトによる音楽制作、トラック作成、そしてLiveセッションの操作が可能になります。

コミュニティに参加する

フィードバックを提供し、インスピレーションを得て、MCP: Discordをベースに構築しましょう。Siddharth 制作

特徴

  • 双方向通信:ソケットベースのサーバーを介してClaude AIをAbleton Liveに接続します

  • トラック操作: MIDI トラックとオーディオ トラックを作成、変更、操作します

  • 楽器とエフェクトの選択: ClaudeはAbletonのライブラリから適切な楽器、エフェクト、サウンドにアクセスして読み込むことができます。

  • クリップ作成: ノート付きのMIDIクリップを作成および編集します

  • セッションコントロール: 再生の開始と停止、クリップの発射、トランスポートの制御

Related MCP server: AbletonMCP

コンポーネント

このシステムは、次の 2 つの主要コンポーネントで構成されています。

  1. Abletonリモートスクリプト( Ableton_Remote_Script/__init__.py ):コマンドを受信して実行するためのソケットサーバーを作成するAbleton Live用のMIDIリモートスクリプト

  2. MCP サーバー( server.py ): モデルコンテキストプロトコルを実装し、Ableton リモートスクリプトに接続する Python サーバー

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Ableton Live Integration を自動的にインストールするには:

npx -y @smithery/cli install @ahujasid/ableton-mcp --client claude

前提条件

Mac をお使いの場合は、次のように uv をインストールしてください。

brew install uv

それ以外の場合は、[uvの公式サイト][ https://docs.astral.sh/uv/getting-started/installation/ ]からインストールしてください。

⚠️UVをインストールする前に続行しないでください

デスクトップ統合のクロード

セットアップ手順のビデオに従ってください

  1. Claude > 設定 > 開発者 > 構成の編集 > claude_desktop_config.json に移動して、以下を追加します。

{
    "mcpServers": {
        "AbletonMCP": {
            "command": "uvx",
            "args": [
                "ableton-mcp"
            ]
        }
    }
}

カーソル統合

uvx経由で恒久的にインストールせずにableton-mcpを実行します。カーソル設定 > MCPに移動し、以下のコマンドを貼り付けます。

uvx ableton-mcp

⚠️ MCP サーバーのインスタンスを 1 つだけ実行します (Cursor または Claude Desktop のいずれか)。両方実行しないでください。

Abletonリモートスクリプトのインストール

セットアップ手順のビデオに従ってください

  1. このリポジトリからAbletonMCP_Remote_Script/__init__.pyファイルをダウンロードします。

  2. フォルダをAbletonのMIDI Remote Scriptsディレクトリにコピーしてください。OSやバージョンによって保存場所が異なります。以下のいずれかの方法でうまくいくはずですが、以下の場所を確認する必要があります。

    macOSの場合:

    • 方法 1: アプリケーションに移動 > Ableton Live アプリを右クリック → パッケージの内容を表示 → Contents/App-Resources/MIDI Remote Scripts/に移動

    • 方法 2: 最初の方法で見つからない場合は、直接パスを使用します(XX をバージョン番号に置き換えます): /Users/[Username]/Library/Preferences/Ableton/Live XX/User Remote Scripts

    Windowsの場合:

    • 方法1: C:\Users[ユーザー名]\AppData\Roaming\Ableton\Live xxx\Preferences\User Remote Scripts

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

    • 方法3: C:\Program Files\Ableton\Live XX\Resources\MIDI Remote Scripts\注: XXをAbletonのバージョン番号に置き換えてください(例:10、11、12)

  3. リモートスクリプトディレクトリに「AbletonMCP」というフォルダを作成し、ダウンロードした「__init__.py」ファイルを貼り付けます。

  4. Ableton Liveを起動する

  5. 設定/環境設定→リンク、テンポ、MIDIに移動します

  6. コントロールサーフェスのドロップダウンで「AbletonMCP」を選択します。

  7. 入力と出力を「なし」に設定する

使用法

接続の開始

  1. Ableton LiveにAbletonリモートスクリプトがロードされていることを確認する

  2. Claude DesktopまたはCursorでMCPサーバーが設定されていることを確認してください

  3. クロードとやりとりすると、接続は自動的に確立されるはずです

クロードと一緒に使う

Claude で設定ファイルが設定され、リモート スクリプトが Ableton で実行されると、Ableton MCP 用のツールが表示されたハンマー アイコンが表示されます。

機能

  • セッションとトラックの情報を取得する

  • MIDIトラックとオーディオトラックの作成と変更

  • クリップの作成、編集、トリガー

  • 再生を制御する

  • Abletonのブラウザからインストゥルメントとエフェクトをロードする

  • MIDIクリップにノートを追加する

  • テンポやその他のセッションパラメータを変更する

コマンド例

クロードに依頼できる作業の例をいくつか示します。

  • 「80年代のシンセウェーブトラックを作成する」デモ

  • 「メトロ・ブーミン風のヒップホップビートを作る」

  • 「シンセベース楽器で新しいMIDIトラックを作成する」

  • 「ドラムにリバーブを追加する」

  • 「シンプルなメロディーの4小節MIDIクリップを作成する」

  • 「現在のAbletonセッションに関する情報を取得する」

  • 「選択したトラックに808ドラムラックをロードします」

  • 「トラック1のクリップにジャズのコード進行を追加します」

  • 「テンポを120BPMに設定してください」

  • 「トラック2のクリップを再生」

トラブルシューティング

  • 接続の問題: Abletonリモートスクリプトがロードされ、MCPサーバーがClaudeに設定されていることを確認してください。

  • タイムアウトエラー: リクエストを簡素化するか、小さなステップに分割してみてください

  • 電源をオフにして再度オンにしてみましたか? : それでも接続エラーが発生する場合は、ClaudeとAbleton Liveの両方を再起動してみてください。

技術的な詳細

通信プロトコル

システムは TCP ソケット上でシンプルな JSON ベースのプロトコルを使用します。

  • コマンドは、 typeとオプションのparamsを持つJSONオブジェクトとして送信されます。

  • レスポンスはstatusとresultまたはmessageを持つJSONオブジェクトです

制限事項とセキュリティに関する考慮事項

  • 複雑な音楽アレンジメントを作成するには、小さなステップに分割する必要があるかもしれません

  • このツールはAbletonのデフォルトのデバイスとブラウザアイテムで動作するように設計されています

  • 大規模な実験を行う前に必ず作業内容を保存する

貢献

貢献を歓迎します!お気軽にプルリクエストを送信してください。

免責事項

これはサードパーティの統合であり、Ableton によって作成されたものではありません。

Available Tools

16 tools
add_notes_to_clipB

Add MIDI notes to a clip.

Parameters:

  • track_index: The index of the track containing the clip

  • clip_index: The index of the clip slot containing the clip

  • notes: List of note dictionaries, each with pitch, start_time, duration, velocity, and mute

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

create_clipA

Create a new MIDI clip in the specified track and clip slot.

Parameters:

  • track_index: The index of the track to create the clip in

  • clip_index: The index of the clip slot to create the clip in

  • length: The length of the clip in beats (default: 4.0)

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

create_midi_trackB

Create a new MIDI track in the Ableton session.

Parameters:

  • index: The index to insert the track at (-1 = end of list)

Inputs: index.

fire_clipA

Start playing a clip.

Parameters:

  • track_index: The index of the track containing the clip

  • clip_index: The index of the clip slot containing the clip

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

get_browser_items_at_pathA

Get browser items at a specific path in Ableton's browser.

Parameters:

  • path: Path in the format "category/folder/subfolder" where category is one of the available browser categories in Ableton

Inputs: path (required).

get_browser_treeA

Get a hierarchical tree of browser categories from Ableton.

Parameters:

  • category_type: Type of categories to get ('all', 'instruments', 'sounds', 'drums', 'audio_effects', 'midi_effects')

Inputs: category_type.

get_session_infoB

Get detailed information about the current Ableton session

Inputs: no named parameters.

get_track_infoC

Get detailed information about a specific track in Ableton.

Parameters:

  • track_index: The index of the track to get information about

Inputs: track_index (required).

load_drum_kitB

Load a drum rack and then load a specific drum kit into it.

Parameters:

  • track_index: The index of the track to load on

  • rack_uri: The URI of the drum rack to load (e.g., 'Drums/Drum Rack')

  • kit_path: Path to the drum kit inside the browser (e.g., 'drums/acoustic/kit1')

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

load_instrument_or_effectC

Load an instrument or effect onto a track using its URI.

Parameters:

  • track_index: The index of the track to load the instrument on

  • uri: The URI of the instrument or effect to load (e.g., 'query:Synths#Instrument%20Rack:Bass:FileId_5116')

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

set_clip_nameB

Set the name of a clip.

Parameters:

  • track_index: The index of the track containing the clip

  • clip_index: The index of the clip slot containing the clip

  • name: The new name for the clip

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

set_tempoA

Set the tempo of the Ableton session.

Parameters:

  • tempo: The new tempo in BPM

Inputs: tempo (required).

set_track_nameC

Set the name of a track.

Parameters:

  • track_index: The index of the track to rename

  • name: The new name for the track

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

start_playbackA

Start playing the Ableton session.

Inputs: no named parameters.

stop_clipB

Stop playing a clip.

Parameters:

  • track_index: The index of the track containing the clip

  • clip_index: The index of the clip slot containing the clip

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

stop_playbackA

Stop playing the Ableton session.

Inputs: no named parameters.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 16 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting specific resources like clips, tracks, browser, or playback. However, fire_clip and start_playback could be slightly ambiguous as both initiate playback, though fire_clip targets a specific clip while start_playback affects the entire session. The descriptions help clarify this distinction.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern with clear, descriptive actions (e.g., add_notes_to_clip, create_clip, get_session_info). There are no deviations in naming conventions, making the set predictable and easy to understand.

    Tool Count5/5

    With 16 tools, this server is well-scoped for controlling Ableton Live, covering key areas like clip management, track operations, browser navigation, and playback control. Each tool serves a specific function without redundancy, making the count appropriate for the domain.

    Completeness4/5

    The toolset provides comprehensive coverage for core Ableton workflows, including creating and managing clips/tracks, loading instruments/effects, and controlling playback. Minor gaps exist, such as no tools for deleting clips or tracks, but agents can work around this by recreating or overwriting resources.

    Maintenance

    ActivityMaintained
    ResponsivenessMostly unanswered

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      C
      quality
      D
      maintenance
      Connects Claude AI to Ableton Live through the Model Context Protocol, enabling prompt-assisted music production with track creation, instrument loading, clip editing, and session control. Allows users to create complete musical arrangements by describing what they want in natural language.
      37
      3
      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
      C
      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