mcp-premiere-pro
# mcp-premiere-pro
An MCP server that lets an AI assistant edit in Adobe Premiere Pro: projects, bins, sequences,
tracks, timeline edits, effects, keyframes, colour, audio, transitions, markers, captions, motion
graphics templates, export and media analysis.
<!-- TOOLCOUNT:START -->
**456 tools in 22 toolsets**, every one exercised against a running Premiere Pro 2026 (26.5.2) by the
live test suite.
<!-- TOOLCOUNT:END -->
Free and open source (MIT). Not affiliated with Adobe.
## What makes it different
- **Every tool is tested against a real Premiere Pro.** The repository contains a live test suite
that starts the server and calls each tool through the MCP protocol in a scratch project. A tool
that cannot be made to work is removed, not shipped. See [Testing](#testing).
- **It can see.** `capture_frame` returns the program monitor frame as an image, so the assistant
can check its own work.
- **Timeline editing that scripts usually cannot do.** Razor, ripple delete, slip, slide, roll,
speed changes and applying effects and transitions by name, through Premiere's QE DOM.
- **No port, no local web server.** The server talks to Premiere over a named pipe (a Unix socket
on macOS) with a per-session token.
- **Update without reinstalling.** Tool logic ships with the server and is hot-loaded into
Premiere. The panel is installed once.
- **Choose how much to expose.** Toolsets, read-only mode and switches for destructive and
arbitrary-code tools are one environment variable each.
## Requirements
- Adobe Premiere Pro with CEP/ExtendScript support (Premiere Pro 2022 / 22.0 or later).
**Tested on Premiere Pro 2026 (26.5.2) on Windows 11.** macOS: the installer and bridge have
macOS code paths, but nothing has been run on a Mac yet; please report what you find.
- Node.js 20 or later.
- Optional: [ffmpeg](https://ffmpeg.org) on your PATH for the `analysis`, `assembly` and
`delivery` toolsets (silence, scene, beat and loudness detection, contact sheets, output checks)
and for running the live tests. Or set `PMCP_FFMPEG` / `PMCP_FFPROBE` to the full paths.
## Install
```bash
git clone https://github.com/Yavinesh2025/mcp-premiere-pro.git
cd mcp-premiere-pro
npm install
npm run build
npm run install-panel
```
`install-panel` copies the bridge panel into your user CEP extensions folder. Because the panel is
not signed, it also turns on CEP's `PlayerDebugMode` setting (only where it is not on already),
which lets Premiere load unsigned extensions. Then **quit and reopen Premiere Pro**. The bridge
starts with the app; its status panel is under **Window > Extensions > MCP Premiere Pro Bridge**.
Check the connection from a terminal: `node scripts/pmcp.mjs status`.
To remove the panel: `npm run install-panel -- --uninstall`.
### Connect your MCP client
Claude Code:
```bash
claude mcp add premiere-pro -- node /absolute/path/to/mcp-premiere-pro/dist/index.js
```
Claude Desktop, Cursor and other clients that use a JSON config:
```json
{
"mcpServers": {
"premiere-pro": {
"command": "node",
"args": ["/absolute/path/to/mcp-premiere-pro/dist/index.js"]
}
}
}
```
Ask the assistant to run `ping`. If it answers with your Premiere version, you are connected.
## Using it
Some things to ask for once a project is open:
- "Give me an overview of this project and the active sequence."
- "Build a rough cut from the clips in the Interviews bin, three seconds each, with cross dissolves."
- "Cut the silences out of the clip on A1."
- "Add a marker at every cut on V1 and export them as YouTube chapters."
- "Scale the clip on V2 to 40 %, put it in the top-right corner and fade it in over half a second."
- "Show me the frame at 12 seconds."
Conventions the tools share:
| Thing | How to refer to it |
| --- | --- |
| Sequence | `sequence_id` (stable) or `sequence_name`; the active sequence when omitted |
| Clip | `clip_id` (stable), or `track_type` + `track_index` + `clip_index` (all 0-based) |
| Project item | `item_id` (stable), `item_path` (`"Bin/Sub/Name"`) or `item_name` |
| Time | seconds, unless a parameter name says frames, ticks or timecode |
The full list of tools is in [docs/TOOLS.md](docs/TOOLS.md). Inside a session, `find_tools`
searches the catalogue by keyword and `list_toolsets` shows the groups.
| Toolset | What it covers |
| --- | --- |
| `app`, `application` | connection, tool search, workspaces, preferences, sequence presets, time conversion, scripting escape hatch |
| `project`, `items`, `footage` | open/save/import, undo/redo, bins and the Project panel tree, subclips, media properties, interpretation, proxies, metadata, XMP, labels, source-clip markers |
| `sequences`, `tracks`, `navigation` | create/duplicate/settings, the full timeline structure, in/out, auto reframe, scene edit detection, tracks, playhead, edit points, Source Monitor |
| `timeline`, `clips` | insert/overwrite/append, move, trim, split, razor, slip/slide/roll, lift/extract, gaps, selection, enable, speed, reverse, linking, match frame |
| `effects`, `motion`, `color`, `audio`, `transitions` | any effect and its keyframes, position/scale/rotation/opacity/crop/blend modes/fades/Ken Burns, Lumetri grading and colour management, volume/pan/fades/ducking/track effects, video and audio transitions |
| `markers`, `graphics` | sequence markers, CSV/JSON/YouTube-chapter import and export, MOGRT templates and their text, caption tracks, SRT tools |
| `export`, `delivery` | `capture_frame` (the assistant sees the frame), frame and media export, Media Encoder, one-call exports for YouTube/Instagram/TikTok/... with checks |
| `analysis` | ffmpeg on media files, no Premiere needed: probe, silence, scenes, black/freeze frames, loudness, beats, waveforms, proxies, conversions |
| `assembly`, `review` | one-call workflows: rough cut, slideshow, remove silences, cut to beats, scene markers, social versions; sequence audits, delivery-spec checks, project reports, media lists, edit statistics |
## Configuration
Set these in the `env` block of your MCP client's server entry.
| Variable | Effect |
| --- | --- |
| `PMCP_TOOLSETS` | Comma-separated toolsets to expose, for example `app,project,sequences,timeline`. Default: all. Use this with clients that load every tool description up front. |
| `PMCP_READ_ONLY=1` | Expose only tools that read state. |
| `PMCP_NO_DESTRUCTIVE=1` | Hide tools that delete or discard work. |
| `PMCP_NO_SCRIPTS=1` | Hide `execute_extendscript` (arbitrary code inside Premiere). |
| `PMCP_DISABLE_TOOLS` | Comma-separated tool names to hide. |
| `PMCP_FFMPEG`, `PMCP_FFPROBE` | Full paths to ffmpeg / ffprobe when they are not on PATH. |
Under `PMCP_NO_DESTRUCTIVE=1`, calls that pass `overwrite: true` are also refused.
## Safety
- The assistant acts on whatever project is open in Premiere. Work on a copy, or save first.
Most edits can be reverted with the `undo` tool or Ctrl/Cmd+Z in Premiere.
- `execute_extendscript` runs arbitrary code inside Premiere. Turn it off with `PMCP_NO_SCRIPTS=1`
if you do not want that.
- The bridge only listens on a local pipe owned by your user account and requires a token that
changes every time Premiere starts. Nothing is exposed to the network.
- No telemetry. The server makes no network requests.
## Troubleshooting
| Symptom | What to do |
| --- | --- |
| `NOT_RUNNING` | Premiere is closed, or the panel is not loaded. Run `npm run install-panel`, restart Premiere, and look for **Window > Extensions > MCP Premiere Pro Bridge**. |
| The panel is missing from the Extensions menu | CEP debug mode is off or Premiere was not restarted. Run `npm run install-panel` again and restart Premiere. |
| `TIMEOUT` | A modal dialog is open in Premiere and is blocking scripts. Close it and retry. |
| `NO_PROJECT` / `NO_SEQUENCE` | Open a project, or open a sequence in the timeline. |
| A tool says `NOT_FOUND` for a clip index | Indices shift after edits. Read the sequence again, or use `clip_id`. |
`node scripts/pmcp.mjs status` checks the bridge from a terminal without any MCP client.
## Testing
```bash
npm run ci # lint, typecheck, build, unit tests, docs check
npm run test:live # live suite against a running Premiere Pro (needs ffmpeg)
```
The live suite creates its own scratch project in the OS temp folder, imports generated test
media and **refuses to start if any other project is open**, so it cannot touch real work.
It reports every tool as pass, fail, skip (with the reason) or untested.
<!-- LIVERESULT:START -->
Latest results (Premiere Pro 26.5.2, Windows 11, 2026-12-02):
| Run | Pass | Fail | Untested |
| --- | ---: | ---: | ---: |
| Full suite, all 22 toolsets (15 min) | 451 | 5 | 0 |
| Re-run of the affected toolsets after fixing the suite | 87 | 0 | 0 |
The 5 failures of the full run were test problems, not tool problems: specs shared one
project (one spec's deliberately offline clip broke another's checks; every spec now gets a
fresh project), and the LUT fixture was a 2-point `.cube` that Premiere rejects (now a
standard 17-point LUT). About 25 candidate tools were dropped during development because
Premiere's scripting could not do them reliably; none of them ship.
<!-- LIVERESULT:END -->
## How it works
```
MCP client ──stdio──▶ Node server ──named pipe──▶ CEP panel ──evalScript──▶ ExtendScript + QE DOM
```
Details and the reasons behind each choice are in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md).
To add a tool, read [docs/CONTRIBUTING-TOOLS.md](docs/CONTRIBUTING-TOOLS.md): a tool is a
definition in `src/tools/`, a function in `host/` and a live test, and nothing else needs wiring.
[docs/API-REFLECTION.md](docs/API-REFLECTION.md) lists every scripting property and method that
exists in Premiere Pro 26.5.2, including the undocumented QE DOM.
## Limitations
- Built on CEP and ExtendScript, which Adobe is replacing with UXP. They work in Premiere Pro 2026;
when a future version drops them, this server will need a UXP engine (the tool definitions are
written so that one can be added underneath).
- Premiere has no scripting API for creating native text layers; text goes through motion
graphics templates (`.mogrt`).
- A modal dialog in Premiere blocks all scripting until it is closed. Tools check files before
Premiere sees them so that they do not trigger one, but a dialog you open yourself still blocks.
- Some Premiere scripting calls report success while doing nothing. Every tool here reads the
result back, so it reports what actually happened; a handful of features (setting the work
area, clip gain, Lumetri looks by name, track-level effect parameters, EDL export) were dropped
because Premiere's scripting cannot do them reliably.
- Keyframe times on speed-changed or reversed clips are not converted exactly.
- macOS: untested. The installer, bridge and tools have macOS code paths, but nothing has been
run on a Mac yet.
## Licence
MIT. See [LICENSE](LICENSE). Adobe, Premiere and Premiere Pro are trademarks of Adobe Inc.
TDQS
Scored across 456 tools
The server has many overlapping tools (e.g. get_clip_info / get_clip_details / get_clip_source_info, list_clips / get_sequence_structure / list_track_clips, set_clip_scale / fit_clip_to_frame / fill_clip_to_frame), so an agent can easily hesitate. Descriptions are unusually detailed and often cross-reference the right alternative, which prevents the set from collapsing into true ambiguity, but the sheer number of near-neighbours keeps boundaries fuzzy.
Most names follow a predictable snake_case verb_noun pattern (get_*, set_*, list_*, add_*, remove_*, apply_*), which makes the surface readable. A few names deviate (ping, undo, redo, ken_burns, sequence_timecode_to_time), but these are natural exceptions rather than a different convention.
456 tools is an extreme mismatch for any single MCP server, even one as broad as Premiere Pro automation. The surface is far beyond the 3-15 tool sweet spot and forces both the agent and the user to navigate a huge catalogue for routine edits.
The tool set covers project, sequence, timeline, clip, track, transition, effect, keyframe, audio, colour, marker, caption, media-file and export workflows with deep lifecycle support. Known Premiere API limits (no project-item relink, no native text creation, no track-effect deletion) are explicitly documented and usually workaroundable, so there are no unexpected dead ends for the stated domain.