opencut-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@opencut-mcpAdd a video file and insert it onto the timeline."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
opencut-mcp
MCP (Model Context Protocol) server for the OpenCut classic video editor.
Lets an LLM agent (Claude Code, Cline, etc.) drive the timeline via window.__editor
in a Playwright-controlled browser.
Status: PoC for a kenimoto.dev article series.
Runs against a fork, not upstream
This server does not target opencut-app/opencut-classic
(archived). It targets the kenimo49/opencut-classic
fork, which carries a small patch series that exposes internals needed for
automation. Point your docker compose / bun dev:web at the fork's main.
Patch | What it exposes | Used by which tools |
|
| every tool |
|
| any tool that takes a time argument ( |
The fork may drift further from upstream as we add hooks — e.g. data-testid
anchors for wait/assertion, or a headless-export toggle. Track the two together;
a version of this server may not work against an arbitrary snapshot of the fork.
Compatibility is pinned at repo level, not by semver (yet). The current commit of
this server was validated against kenimo49/opencut-classic@a7443ec8.
Related MCP server: omni-video-mcp
Demo
scripts/demo.ts runs a full end-to-end sequence: create a project, upload a video
audio file, place both on the timeline via auto-placement, split the video at 5s. The Playwright screencast below is that run recorded verbatim.

Tools
tool | description |
| Timeline snapshot (tracks, elements, assets). |
| ⚠ empty tracks are pruned by the reactor — prefer omitting |
| Upload local file as MediaAsset. |
| Add element referencing MediaAsset. |
| Split element(s) at a time (seconds). |
| direct pass-through to TimelineManager. |
| CommandManager history. |
| RendererManager.exportProject. |
| debug: screenshot the editor viewport. |
Running
# 1. Start the FORK of classic (docker + bun dev:web on 3000).
git clone https://github.com/kenimo49/opencut-classic.git
cd opencut-classic
# ... see that repo's README for docker compose + env.local setup
bun run dev:web # http://localhost:3000
# 2. Install and run this MCP (in a separate shell):
cd ../opencut-mcp
bun install
bunx tsx src/index.ts # stdio transport
# 3. Or the integration demo:
bunx tsx scripts/demo.tsEnv:
OPENCUT_BASE_URL— defaulthttp://localhost:3000OPENCUT_HEADLESS—falseto see the browser (WSLg / X11 required)OPENCUT_VIDEO_DIR— set to record a webm screencast of the browserOPENCUT_DEMO_PACE=slow— triples inter-step pauses inscripts/demo.ts
Notes discovered during PoC
Empty tracks are pruned every command via
CommandManagerreactor (editor/index.ts:playback.bindTimelineScope). Two-stepaddTrack+insertElementloses the track before the second call. PreferinsertElementwithplacement: { mode: "auto", trackType }— the command creates the track on demand and it survives because it has an element.MediaTime is integer ticks, not seconds.
TICKS_PER_SECONDis 120,000 at runtime. Convert viawindow.__opencut.mediaTimeFromSeconds({ seconds })(Phase 1.1 exposure).AudioElement discriminated union — uploads must carry
sourceType: "upload"in addition tomediaId.Editor page is
/editor/[project_id]. Creating a project via the /projects UI is the boot path used by this server.
MIT.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kenimo49/opencut-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server