AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

Opencut Mcp

mcp-kenimo49-opencut-mcp · by kenimo49

MCP server for OpenCut classic — Claude drives the video editor via Playwright + window.__editor

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add mcp-kenimo49-opencut-mcp

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-kenimo49-opencut-mcp)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Opencut Mcp? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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 | |-------|-----------------|---------------------| | eca73042 — Phase 1 | window.__editor (the EditorCore singleton) | every tool | | a7443ec8 — Phase 1.1 | window.__opencut.mediaTimeFromSeconds (+ TICKS_PER_SECOND, mediaTime, roundMediaTime) | any tool that takes a time argument (insert_clip, split_at, move, trim) |

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.

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 | |------|-------------| | opencut_get_state | Timeline snapshot (tracks, elements, assets). | | opencut_add_track | ⚠ empty tracks are pruned by the reactor — prefer omitting trackId on insert_clip. | | opencut_add_media | Upload local file as MediaAsset. | | opencut_insert_clip | Add element referencing MediaAsset. mode: "auto" when trackId omitted. | | opencut_split_at | Split element(s) at a time (seconds). | | opencut_move / opencut_trim / opencut_delete | direct pass-through to TimelineManager. | | opencut_undo / opencut_redo | CommandManager history. | | opencut_export | RendererManager.exportProject. | | opencut_screenshot | 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.ts

Env:

  • OPENCUT_BASE_URL — default http://localhost:3000
  • OPENCUT_HEADLESSfalse to see the browser (WSLg / X11 required)
  • OPENCUT_VIDEO_DIR — set to record a webm screencast of the browser
  • OPENCUT_DEMO_PACE=slow — triples inter-step pauses in scripts/demo.ts

Notes discovered during PoC

  1. Empty tracks are pruned every command via CommandManager reactor

(editor/index.ts:playback.bindTimelineScope). Two-step addTrack + insertElement loses the track before the second call. Prefer insertElement with placement: { mode: "auto", trackType } — the command creates the track on demand and it survives because it has an element.

  1. MediaTime is integer ticks, not seconds. TICKS_PER_SECOND is 120,000 at runtime.

Convert via window.__opencut.mediaTimeFromSeconds({ seconds }) (Phase 1.1 exposure).

  1. AudioElement discriminated union — uploads must carry sourceType: "upload"

in addition to mediaId.

  1. Editor page is /editor/[project_id]. Creating a project via the /projects UI

is the boot path used by this server.

MIT.

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.