🎬 OpenCut Controller (MCP Server)
🌐 Leer en Español: README.es.md
Power your agent
The publisher's own command. Not a PlugMCP endpoint.
Host a copy with our keys and logs.
npx -y [email protected]Claude Code has no install link for a local command. Copy the command below and run it in a terminal.
claude mcp add io.github.jxue0-opencut-controller -- npx -y opencut-controller@1.30.0Run in a terminal.
{ "mcpServers": { "io.github.jxue0-opencut-controller": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}claude_desktop_config.json
Remote URL or a command on your machine? How the two installs differ
Run on PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
LaunchFrom the publisher
🌐 Leer en Español: README.es.md
Professional MCP server for video editing automation with OpenCut.
[!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.
stdio (default) or integrate remotely via modern HTTP Streamable transport.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 incomplete rewrite (Vite + TanStack Router). Use the archived legacy repo:OpenCut-app/opencut-classic
# 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 Editor:
cd ../opencut-classic
pnpm install
pnpm dev:web
[!TIP] The
pnpm installcommand will automatically trigger apostinstallscript to download the required Playwright Chromium binaries. No manual browser setup is needed!
The server can be launched using two different transport protocols depending on your client environment.
stdio Transport (Default)Ideal for standard local MCP clients like Claude Desktop.
pnpm run src/index.ts
HTTP Streamable TransportIdeal 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 pnpm run src/index.ts
Windows (PowerShell):
$env:TRANSPORT_TYPE="http"; $env:PORT="3002"; pnpm run src/index.ts
For secure remote access, set a bearer token:
MCP_AUTH_TOKEN=your-secure-token TRANSPORT_TYPE=http PORT=3002 pnpm run src/index.ts
Then include Authorization: Bearer your-secure-token in requests.
The controller exposes 161 highly granular tools to the LLM, categorized as follows:
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.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.Make sure to replace
/absolute/path/to/opencut-controllerwith the actual path on your local machine.
To connect OpenCut Controller to your local Claude Desktop app, add the following to your claude_desktop_config.json:
{
"mcpServers": {
"opencut-controller": {
"command": "pnpm",
"args": ["run", "src/index.ts"],
"cwd": "/absolute/path/to/opencut-controller"
}
}
}
postinstall ran successfully. You can trigger it manually with pnpm run playwright install chromium.$env:TRANSPORT_TYPE="http"; pnpm run src/index.ts instead.[!TIP] If you encounter TypeScript errors during development or execution, you can verify your types locally by running
pnpm run build(which executestsc --noEmit).
window.__opencut is undefinedCause: You are trying to use the MCP server with the production web app (opencut.app).
Fix: You must run the OpenCut editor locally. The production site doesn't expose the internal hooks required for MCP control.
Incompatible React versionsCause: 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.
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.
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.
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.
This project is licensed under the MIT License.
© 2026 MCP Directory.
Professional MCP server for video editing automation with OpenCut.
{ "mcpServers": { "io.github.jxue0-opencut-controller": { "command": "npx", "args": [ "-y", "[email protected]" ] } }}Tools
No tool list yet. Remote servers get one after the first health check.
FAQ
Copy the stdio config for Cursor, Claude Desktop, Claude Code, or VS Code on this page. It uses the publisher's install, not a PlugMCP proxy.
No required environment variable is listed on this record.
Opencut Controller runs locally over stdio.
Last checked 2026-11-09. Professional MCP server for video editing automation with OpenCut.