Local MCP server for Avid Pro Tools

Local MCP server for Avid Pro Tools

protools-mcp•byblueelevatorproductions

A natural language MCP server that lets Claude read and modify a live Avid Pro Tools session through the PTSL API, covering sessions, tracks, transcripts, navigation, edits, and AAF export.

License: Not specified•Runtime: Awaiting documentation review•Category: media design

WHAT IT DOES

  • •Provides 25+ tools across seven groups: session context, track detail, transcript search, navigation, edit operations, session management, and AAF export.
  • •Reads session metadata, markers, track lists, clips, playlists, playhead position, and current selection from the live Pro Tools session.
  • •Searches Pro Tools Speech-to-Text CSV transcripts with context and speaker labels, including scoped time ranges.
  • •Performs write operations such as creating markers, muting or soloing tracks, consolidating clips, saving sessions, and exporting tracks as AAF.

BEST FOR

  • •Podcast post-production teams that want conversational control of Pro Tools sessions and transcripts.
  • •Audio post, broadcast, and music production workflows that need clip-level timeline queries and quick session edits.
  • •Multi-show operations that rely on per-show configuration for host names, track layouts, and naming conventions.

ABOUT PROTOOLS-MCP

Local MCP server for Avid Pro Tools is cataloged as an MCP server attributed to blueelevatorproductions. A natural language MCP server that lets Claude read and modify a live Avid Pro Tools session through the PTSL API, covering sessions, tracks, transcripts, navigation, edits, and AAF export. It is categorized under media design. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Local MCP server for Avid Pro Tools are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server modify my Pro Tools session?

Yes, it includes write tools, but they are labeled and Claude describes the operation and confirms before executing.

What environment does it require?

It requires macOS with Pro Tools running, since PTSL listens on localhost port 31416.

How are transcripts found?

The server expects a Pro Tools Speech-to-Text CSV export in the session directory or as configured in a show profile, and it reloads when the file changes.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 221ef8d68b82 · 采集于 2026-11-13 11:51:15 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

protools-mcp

A natural language interface for Avid Pro Tools, powered by Claude and the Model Context Protocol.

protools-mcp is a local MCP (Model Context Protocol) server that connects Claude — or any MCP-compatible AI assistant — to a live Pro Tools session via the PTSL (Pro Tools Scripting Library) API. Instead of navigating menus or writing scripts, you describe what you need in plain language and Claude handles it directly in your session.

Built for podcast post-production workflows, it works equally well across music production, broadcast, and audio post.


What It Looks Like in Practice

Once connected, you can have conversations like:

"What's in this session?" "Search the transcript for everywhere the guest mentions climate change." "Set a marker at 00:14:32:00 called 'Act Two'." "Mute all the music tracks and solo the host." "What clips are on the timeline between 22 and 35 minutes?" "Save a new version of this session called EP47_mix_v2." "Export the dialogue tracks as an AAF to the delivery folder."

Claude reads your live session state, answers questions about your timeline, and executes write operations directly in Pro Tools — no scripting, no keyboard shortcuts, no menu diving.


Capabilities

25+ tools across 7 functional groups:

GroupToolsDescription
Sessionget_session_info, get_markers, get_track_list, get_session_snapshot, get_show_profileSession metadata, tracks, markers, show profiles
Tracksget_track_edl, get_track_playlists, get_clips_in_rangeClip-level detail, playlists, time-range queries
Transcriptget_transcript, search_transcript, get_transcript_for_rangeSpeech-to-text CSV search with context and speaker labels
Navigationget_playhead_position, get_current_selection, set_playheadPlayhead and selection state
Editselect_region, create_marker, mute_track, unmute_track, solo_track, consolidate_clipSession modifications (Claude confirms before executing)
Session Mgmtsave_session, close_session, open_session, save_session_asSave, close, open, and version sessions
Exportexport_tracks_as_aafAAF export with configurable format, bit depth, and copy option

An optional Show Profile system lets you define per-show configuration — host names, track layouts, naming conventions — so Claude has the context it needs to work intelligently across multiple shows.


Prerequisites

  • macOS with Pro Tools running (PTSL listens on localhost:31416)
  • Python 3.11+ (tested with 3.11)
  • py-ptsl installed system-wide or in a virtual environment
  • Claude Desktop or Claude Code (for MCP integration)
  • Accessibility permission for Claude/terminal (required for AAF export dialog automation)

Setup

  1. Clone this repository:

    git clone https://github.com/BlueElevatorProductions/protools-mcp.git
    cd protools-mcp
    
  2. Create a virtual environment:

    python3 -m venv venv --system-site-packages
    source venv/bin/activate
    pip install -r requirements.txt --no-cache-dir
    

    The --system-site-packages flag reuses your system-wide py-ptsl and grpcio installs.

  3. Configure .env (optional — defaults shown):

    PTSL_HOST=localhost
    PTSL_PORT=31416
    
  4. Add show profiles (optional): Place JSON files in show_profiles/. See show_profiles/holy_uncertain.json for the format.

  5. Register with Claude Desktop — add to ~/Library/Application Support/Claude/claude_desktop_config.json:

    {
      "mcpServers": {
        "protools-mcp": {
          "command": "/path/to/protools-mcp/venv/bin/python",
          "args": ["/path/to/protools-mcp/server.py"]
        }
      }
    }
    

    This makes the server available in Claude Desktop Chat, Cowork, and Code sessions.

    For Claude Code CLI only, use:

    claude mcp add protools-mcp -s user -- /path/to/protools-mcp/venv/bin/python /path/to/protools-mcp/server.py
    
  6. Grant Accessibility access (required for AAF export automation): System Settings > Privacy & Security > Accessibility — enable Claude Desktop and/or your terminal app.

  7. Open Pro Tools with a session loaded. The MCP server connects lazily on first tool call.


Tool Reference

Session Context (read-only)

  • get_session_snapshot() — Composite: session info + markers + tracks + auto-matched show profile. Start here. Best tool to call at the beginning of any session conversation.
  • get_session_info() — Session name, path, sample rate, bit depth, timecode format, track count, audio file count.
  • get_markers() — All memory location markers with index, name, timecode, and comment.
  • get_track_list(filter="all") — Tracks with active, muted, soloed, and hidden state. Filter: all, active, audio, inactive.
  • get_show_profile(show_id?) — Returns show profile config. Auto-infers from session name prefix if no ID given.

Track Detail (read-only)

  • get_track_edl(track_name) — Full clip list for a track: clip name, start/end timecodes, duration, state.
  • get_track_playlists(track_name) — All playlists on a track, including inactive alternates.
  • get_clips_in_range(start_timecode, end_timecode, track_filter?) — All clips across tracks within a timecode range.

Transcript (read-only)

  • get_transcript() — Full transcript from a Pro Tools Speech-to-Text CSV export.
  • search_transcript(query, track_filter?, start_timecode?, end_timecode?) — Keyword search with 2-row context window.
  • get_transcript_for_range(start_timecode, end_timecode) — Transcript rows in a time range, formatted as SPEAKER: text dialogue.

Navigation

  • get_playhead_position() — Current playhead timecode.
  • get_current_selection() — Start, end, duration, and selected track names.
  • set_playhead(timecode) — Moves the playhead to a specified timecode.

Edit Operations (write)

All write tools are labeled [WRITE]. Claude will describe the operation and confirm before executing.

  • select_region(start_timecode, end_timecode, track_names?) — Sets timeline selection. Non-destructive.
  • create_marker(name, timecode, comment?) — Adds a memory location marker at the specified timecode.
  • mute_track(track_name) / unmute_track(track_name) — Toggles track mute state.
  • solo_track(track_name) — Solos a track.
  • consolidate_clip(track_name, start_timecode, end_timecode) — Consolidates a region into a single clip. Creates a new audio file on disk.

Session Management (write)

  • save_session() — Saves the current session to disk.
  • save_session_as(session_name, session_location) — Saves with a new name. session_name is the filename without extension; session_location is the target directory.
  • close_session(save_before_close=True) — Closes the session, optionally saving first.
  • open_session(session_path) — Opens a .ptx or .ptf session file.

Export (write)

  • export_tracks_as_aaf(...) — Exports selected tracks as an AAF. Handles the Pro Tools folder dialog automatically via osascript.
    • audio_format: WAV (default), AIFF, MXF, Embedded
    • bit_depth: 24 (default), 16
    • copy_option: copy (default), consolidate, link
    • quantize_to_frame: true (default)
    • avid_compatible: false (default) — enforce Media Composer compatibility
    • stereo_as_multichannel: false (default)
    • sequence_name: defaults to file_name

Transcript Support

The transcript tools expect a Pro Tools Speech-to-Text CSV export alongside the session. Place the CSV in your session directory (or set transcript_export_path in your show profile) and the server will discover it automatically. It reloads on file modification, so the data stays current as you iterate on transcripts.


Show Profile Format

Show profiles let Claude understand the structure of a specific show — which tracks belong to which speakers, naming conventions, and where exports live. Place JSON files in show_profiles/. Profiles are auto-matched by session name prefix.

{
  "show_id": "HU",
  "show_name": "Holy Uncertain",
  "session_name_prefix": "HU-",
  "hosts": ["Chris", "Lauren"],
  "dialogue_tracks": ["Chris", "Lauren Int R", "Chris Int R"],
  "guest_tracks": ["Randy Int R"],
  "music_tracks": ["Music"],
  "transcript_export_path": "/path/to/episodes/",
  "naming_conventions": {
    "session": "HU-{episode_number}-{guest_last_name}-V{version}",
    "export": "HU-{episode_number}-{guest_last_name}-MIX-V{version}"
  }
}

Architecture

Claude Desktop  ──stdio──▶  server.py (FastMCP)
                                  │
                    ┌─────────────┼─────────────┐
                    ▼             ▼             ▼
              PTSLBridge    Transcript     ShowProfile
              (gRPC)        Watcher        Loader
                  │             │              │
                  ▼             ▼              ▼
              Pro Tools     CSV files      JSON files
              :31416
  • PTSLBridge — Lazy gRPC connection with auto-reconnect. The @ptsl_command decorator handles errors uniformly. Custom Operation subclasses cover PTSL commands not in py-ptsl's ops module.
  • TranscriptWatcher — Stat-based CSV cache. Reloads only when the file's mtime changes. Auto-discovers CSV by searching the session directory.
  • ShowProfileLoader — Reads show_profiles/*.json once at startup, matches sessions by name prefix.
  • osascript integration — For PTSL commands that trigger Pro Tools dialogs (e.g., AAF export), the bridge runs the command in a background thread and uses System Events to dismiss the dialog automatically. Requires Accessibility permission.

Error Handling

All PTSL errors return structured dicts before being raised as ToolError:

Error KeyMeaning
ptsl_unavailablePro Tools not running or gRPC connection lost
no_sessionNo session is open in Pro Tools
ptsl_command_errorPTSL command failed (details in message)
no_transcriptNo transcript CSV found or configured
dialog_waitingAAF export dialog needs manual confirmation (Accessibility not granted)

Implementation Notes

  • Timecode format: Pro Tools uses HH:MM:SS:FF. Markers return raw sample positions internally; the bridge converts using samples_to_timecode(samples, sample_rate, fps).
  • Track active field: Derived from is_inactive == TAState_None on TrackAttributes. Distinct from muted/hidden.
  • EDL text: Parsed from Pro Tools' tab-delimited text export with columns: CHANNEL, EVENT, CLIP NAME, START TIME, END TIME, DURATION, STATE.
  • Pro Tools quirks: SaveSessionAs and directory paths require a trailing /. Some commands (GetTrackPlaylists, GetPlaylistElements) need CId_-prefixed command IDs. Empty track_id fields must be stripped from JSON to avoid "only one of track_id/track_name" errors.
  • Connection management: gRPC connections can go stale between calls. The @ptsl_command decorator catches grpc.RpcError and resets the connection automatically.

Troubleshooting

  • "Pro Tools is not running" — Make sure Pro Tools is open with a session loaded. PTSL listens on port 31416.
  • Transcript not found — Set transcript_export_path in your show profile, or place the CSV next to the session file.
  • Stale data — EDL cache expires after 30 seconds. Transcripts reload on file modification. Call tools again for fresh data.
  • AAF export hangs — Grant Accessibility access in System Settings > Privacy & Security > Accessibility for the app running the MCP server.
  • "only one of track_id and track_name" — Handled internally by json_messup() overrides on custom Operations.

Contributing

Issues and pull requests welcome. If you're using this in a specific workflow and run into edge cases, open an issue — Pro Tools has many quirks and real-world sessions surface them fast.


License

MIT


Built by Blue Elevator Productions

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Local MCP server for Avid Pro Tools from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/protools-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related media design MCP Servers

Alternative and complementary servers in the same category

View all in media design →

A Rust CAD application with an MCP server for creating, inspecting and rendering drawings, either headlessly or through a connection to the desktop app.

8K
Media & Design
Liquid Composer
liquid-composer•frontedu

Liquid Composer is a browser-based Liquid Glass icon design tool that offers a local MCP server for agent-driven icon workflows.

69
Media & Design

agent-media makes short drama series and other short vertical videos from Claude, ChatGPT or Codex through one MCP connection, with OAuth sign-in and no API keys.

1
Media & Design