Skip to content
MCP server
Registry

opencut-controller MCP Server

Professional MCP server for video editing automation with OpenCut.

opencut-controller scores 65 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 3 tools. Filed under Browser automation. GitHub shows 11 stars. Package registries report about 116 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by jxue0MITTypeScript11 stars
Trust score
65Good
Trust score 65 of 100, Good

Good trust

65 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 65 comes from

22 + 15 + 4 + 10 + 4 + 10 = 65. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance15 / 20

How recently the repository saw a commit or release.

Maintenance: 15 of 20 points.
Popularity4 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 4 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "jxue0-opencut-controller": {      "command": "npx",      "args": [        "-y",        "opencut-controller@1.30.0"      ]    }  }}

Environment variables

This server does not declare environment variables.

  • add_background_musicprompt

    Searches the OpenCut sound library and trims music to fit.

  • apply_transitionprompt

    Seamlessly blends two clips with a specified effect.

  • create_intro_videoprompt

    Automates creating a 10-second intro with text overlays.

About

🎬 OpenCut Controller (MCP Server)

🌐 Leer en Español: README.es.md

Model Context Protocol npm version pnpm License: MIT

[!NOTE] OpenCut Controller is a robust Model Context Protocol (MCP) server designed to fully automate and control the OpenCut Video Editor directly from AI models (like Claude or agents inside n8n).

By leveraging Playwright under the hood, this server seamlessly injects into the OpenCut browser environment, granting LLMs programmatic access to manipulate the timeline, scenes, media assets, rendering engine, and moreβ€”effectively turning OpenCut into an AI-driven, headless video editing powerhouse.


✨ Key Features

  • 161 Comprehensive MCP Tools: Full programmatic control over OpenCut's core editing capabilities.
  • Dual Transport Support: Connect locally via stdio (default) or integrate remotely via modern HTTP Streamable transport.
  • Playwright Integration: Connects directly to the OpenCut web interface to manipulate application state in real-time.
  • Contextual Resources: Inspect the editor's live state, current projects, and timeline tracks.
  • Pre-built MCP Prompts: Ready-to-use templates for common high-level editing tasks.

πŸš€ Installation

Ensure you have pnpm (or Bun) installed on your system.

[!IMPORTANT] OpenCut Controller requires the Legacy OpenCut (Next.js App Router) β€” the version with a complete editor, timeline, and stores. The current public repo (OpenCut-app/OpenCut) is an early rewrite (Rust core + GPUI desktop app + Vite web shell) whose editor is not implemented yet, so there is nothing to control there. Use the archived legacy repo: OpenCut-app/opencut-classic β€” upstream itself recommends it for now.

# 1. Clone the legacy OpenCut editor (required for MCP to work)
git clone https://github.com/OpenCut-app/opencut-classic.git
cd opencut-classic

# 2. Clone this MCP controller
cd ..
git clone https://github.com/JXUE0/opencut-controller.git
cd opencut-controller

# 3. Install dependencies (Playwright Chromium installs automatically)
pnpm install

# 4. Patch the Local Editor:
# To enable MCP control, apply small patches to the OpenCut source code.
# We provide an automated script for this:
pnpm run patch-editor ../opencut-classic

# 5. Install & run the editor on port 3001 (the port the MCP expects by default)
cd ../opencut-classic
bun install
cd apps/web && bunx next dev --turbopack -p 3001

[!TIP] The pnpm install command will automatically trigger a postinstall script to download the required Playwright Chromium binaries. No manual browser setup is needed!

[!NOTE] The patcher is idempotent: running it again on an already patched editor is a no-op. If you patched with a version older than 1.32.0, restore apps/web/src/components/providers/editor-provider.tsx from git before re-running it β€” the old patch exposed store state instead of the stores.

βš™οΈ Configuration

VariableDefaultDescription
OPENCUT_URLhttp://localhost:3001URL of the patched local OpenCut editor.
MCP_HEADLESStrueSet to false to watch the browser while the MCP works.
CHROMIUM_PATHβ€”Use a specific Chromium/Chrome binary instead of Playwright's.
TRANSPORT_TYPEstdiostdio or http.
PORT3002HTTP transport port.
MCP_AUTH_TOKENβ€”Bearer token for the HTTP transport (strongly recommended).

Conventions: every time value (startTime, duration, time, trimStart, …) is in seconds; the controller converts to OpenCut's internal ticks. FPS accepts plain numbers (30, 29.97). Element volume is in dB (-60 to 20, 0 = original).

πŸ’» Usage

The server can be launched using two different transport protocols depending on your client environment.

1. stdio Transport (Default)

Ideal for standard local MCP clients like Claude Desktop.

npx -y opencut-controller

Latest version straight from GitHub (built on install): npx -y --allow-git=all github:JXUE0/opencut-controller (--allow-git is required since npm 12). From a clone of this repo: pnpm build && node dist/index.js.

2. HTTP Streamable Transport

Ideal for integrating with external workflow tools like n8n or remote services. The server listens at http://localhost:3002/mcp.

[!WARNING] Environment variable syntax varies depending on your operating system. Make sure to use the correct command below to prevent errors.

Linux / macOS (Bash):

TRANSPORT_TYPE=http PORT=3002 npx -y opencut-controller

Windows (PowerShell):

$env:TRANSPORT_TYPE="http"; $env:PORT="3002"; npx -y opencut-controller

3. HTTP with Authentication

For secure remote access, set a bearer token:

MCP_AUTH_TOKEN=your-secure-token TRANSPORT_TYPE=http PORT=3002 npx -y opencut-controller

Then include Authorization: Bearer your-secure-token in requests.

πŸ› οΈ Available MCP Tools (161)

The controller exposes 161 highly granular tools to the LLM, categorized as follows:

CategoryToolsDescription
πŸ“ Project16Create, load, save, duplicate projects and change their settings.
🎬 Scenes6Manage scene lifecycle, renaming, and active state.
▢️ Playback10Play, pause, stop, seek, volume, and mute.
⏱️ Timeline Tracks & Settings10List, inspect, mute, hide tracks; timeline settings.
🧩 Timeline Elements15Insert, trim, split, move, duplicate, and update clips.
✨ Timeline Effects5Apply and tweak clip effects.
πŸ“Œ Keyframes6Add, retime, and remove animation keyframes.
🎯 Selection/Clipboard6Select elements, copy and paste.
πŸ•°οΈ History4Undo and redo.
🎞️ Media7Import media files and place them on the timeline.
πŸ“ Text9Create and style text overlays.
🎡 Audio8Search music/SFX and set element volume.
🎨 Stickers/Canvas13Add stickers; canvas size, FPS, and background.
βš™οΈ Transcribe/Export11Captions from transcripts; export to MP4/WebM files.
πŸ”– Bookmarks/Panels/Keybindings23Timeline bookmarks, UI panels, and shortcuts.
πŸ”‘ Auth & Storage9User sessions and storage.
🌐 API3Health check and sound search via OpenCut's backend.

[!NOTE] OpenCut's main track is magnetic: its first clip always starts at 0. Use an overlay element (text, sticker, a second clip) for free positioning. Tracks are created automatically when an element is inserted without trackId; OpenCut deletes empty tracks, so timeline_track_add returns an explanatory error.

export_project accepts outputPath to write the rendered .mp4/.webm file to disk.

πŸ“¦ MCP Resources

Resources provide context directly to the LLM about the current state of OpenCut:

  • opencut://projects - JSON array of all available OpenCut projects.
  • opencut://editor/state - Live tracking of the active project, scene, playhead time, and playback status.
  • opencut://timeline/tracks - Detailed breakdown of tracks in the active scene.

πŸ€– MCP Prompts

Quick-start templates for complex actions:

  • create_intro_video - Automates creating a 10-second intro with text overlays.
  • add_background_music - Searches the OpenCut sound library and trims music to fit.
  • apply_transition - Seamlessly blends two clips with a specified effect.

πŸ”Œ Integrating with Claude Desktop

To connect OpenCut Controller to your local Claude Desktop app, add the following to your claude_desktop_config.json:

{
  "mcpServers": {
    "opencut-controller": {
      "command": "npx",
      "args": ["-y", "opencut-controller"],
      "env": { "OPENCUT_URL": "http://localhost:3001" }
    }
  }
}

The browser is closed automatically when the client disconnects.

⚠️ Troubleshooting

  • "Playwright browser not found": Ensure postinstall ran successfully. You can trigger it manually with npx playwright install chromium. npm 12+ blocks install scripts by default, so with npx run npx playwright install chromium once before first use.
  • "PowerShell: The term 'TRANSPORT_TYPE=http' is not recognized": You are using bash syntax in Windows. Use $env:TRANSPORT_TYPE="http"; npx -y opencut-controller instead.
  • Connection Refused / ERR_CONNECTION_REFUSED: OpenCut is not running on OPENCUT_URL (default port 3001, not Next.js' default 3000).

[!TIP] To check types during development run pnpm run typecheck; pnpm run build bundles dist/.

1. Error: window.__opencut is undefined / Editor not ready after 30000ms

Cause: You are trying to use the MCP server with the production web app (opencut.app). Fix: You must run the patched OpenCut editor locally (pnpm run patch-editor <path>). The production site doesn't expose the internal hooks required for MCP control. If the editor fails to compile, check its terminal for module-not-found errors.

Export notes

MP4 export forces software H.264 encoding (--disable-accelerated-video-encode) because the Windows hardware encoder stalls OpenCut's exporter, and runs in Chromium's new headless mode because the legacy headless shell crashes while rendering.

2. Error: Incompatible React versions

Cause: react and react-dom versions mismatch in the monorepo. Fix: Ensure both are set to the exact same version (e.g., 19.2.0) in the root package.json and run pnpm install.

3. Error: Invalid input: expected string, received undefined (Zod Error)

Cause: Missing environment variables in apps/web/.env. Fix: Ensure you have a .env file in apps/web/. We have updated the code to make most variables optional, but BETTER_AUTH_SECRET may still be needed for some features.

4. Connection Timeout

Cause: The local OpenCut server (Next.js) is still compiling. Fix: Wait until you see βœ“ Ready in the editor terminal before starting the MCP server.


πŸ“„ Credits & Acknowledgments

This project's original codebase and concept were inspired by and built upon the foundational work done in RavenMeld/OpenCut-MCP. We extend our sincere gratitude to RavenMeld for their pioneering work on connecting OpenCut via the Model Context Protocol.

πŸ“„ License

This project is licensed under the MIT License.

Frequently asked questions

What is opencut-controller MCP Server?

Professional MCP server for video editing automation with OpenCut.

How do I install opencut-controller MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. opencut-controller MCP Server runs locally from the npm package opencut-controller with the command npx -y opencut-controller@1.30.0.

Is opencut-controller MCP Server free and open source?

Yes. opencut-controller MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does opencut-controller MCP Server support remote (HTTP) connections?

No remote endpoint is listed for opencut-controller MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is opencut-controller MCP Server's trust score calculated?

opencut-controller MCP Server scores 65 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

β€”Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server