OpenCut classic を fork して MCP を入れた — Claude が動画編集する4つの罠The author forked OpenCut classic and integrated an MCP server to enable Claude…
OpenCut classic を fork し MCP サーバーを統合することで Claude に動画編集を行わせた実験を紹介し、実装過程で判明した4つの技術的課題を解説している。AI エージェントによる動画編集の実用化に向けた知見として価値がある。
The author forked OpenCut classic and integrated an MCP server to enable Claude to perform video editing tasks, documenting four concrete technical pitfalls encountered along the way. The findings offer practical guidance for developers building AI-driven video editing workflows.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (zenn.dev) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (zenn.dev).
OpenCut classic を fork し、Playwright と MCP サーバーを介して Claude Code から動画編集を操作できるようにした実装例が公開されています。実装は opencut-mcp v0.1.0 (MIT) としてまとめられ、書き進める中で「ドキュメントに無いだろう」と感じた罠が4つあったとして、順に取り上げられています。
archived な旧版
63.8k stars を集める動画エディタ OpenCut は現在書き直し中です。rewrite 版はまだ hello world しか出せない段階で、動画編集の実体は archived な旧版 (classic) にだけ残っているとされています。著者はこの classic を土台に選び、fork したうえで MCP サーバーを組み合わせました。
window 露出パッチ
opencut-mcp が動作対象とするのは、著者の kenimo49/opencut-classic という fork です。本家の opencut-app/opencut-classic は archived で、window 露出パッチを持っていないと説明されています。そのため本家のリポジトリに対しては、そのままでは使えない構成です。
操作の様子は、scripts/demo.ts を実行した Playwright の screencast として示されています。ブラウザ上のエディタを Playwright で動かし、その入口を MCP サーバーとして Claude に見せる、という作りです。
opencut-mcp の起動
手順は次のとおりです。まず fork した classic を起動します。docker と bun dev:web を使い、:3000 で立ち上がる想定です。次に kenimo49/opencut-classic と kenimo49/opencut-mcp の2つのリポジトリを clone し、opencut-mcp 側で bunx tsx src/index.ts を実行します。transport は stdio です。
起動後は、Claude Code、Cline、あるいは任意の MCP クライアントの設定に opencut-mcp を登録します。これで Claude が opencut_insert_clip などのツールを直接呼べるようになるとされています。
4つの罠それぞれの具体的な内容は、元記事の本文で順に解説されています。
Forking OpenCut classic
The author describes forking the archived classic version of OpenCut so that Claude Code can drive video editing through an MCP server. According to the source, OpenCut has gathered 63.8k stars but is currently being rewritten. The rewrite version still only produces a "hello world," so the actual video-editing functionality remains only in the archived older version, called classic. That is why the work targets classic rather than the new codebase.
opencut-mcp v0.1.0
The implementation is called opencut-mcp v0.1.0, released under the MIT license on GitHub. It operates through Playwright and an MCP server, and it works against the author's fork, kenimo49/opencut-classic. The upstream opencut-app/opencut-classic is archived and, according to the author, lacks the window exposure patch that the fork carries. In other words, the tool is built to run against the fork, not the original repository.
The source shows the setup in outline. The fork of classic is started with docker and bun dev:web, which brings the editor up on port 3000. Both the classic fork and the opencut-mcp repository are cloned from GitHub, and the MCP server is launched with bunx tsx src/index.ts using a stdio transport. A Playwright screencast produced by scripts/demo.ts is included as a demonstration of the result.
Four pitfalls
The author says that while writing the integration, four pitfalls turned up that they did not expect to find in the documentation, and the article works through them one by one. The collected material does not spell out what the four pitfalls are, so this explainer does not describe them. The stated purpose is to give practical guidance to developers building AI-driven video editing workflows.
On the client side, the author notes that opencut-mcp can be registered in the MCP configuration of Claude Code, Cline, or any MCP client. Once registered, Claude can call tools such as opencut_insert_clip directly to operate the editor.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPokoなんで新しい版じゃなくて、旧版の classic を fork したの?Why fork the old classic version instead of the new one?
- TECHガイドTECH Guide書き直し中の新版はまだ hello world しか出ず、動画編集の実体は archived な旧版 classic にだけ残っているそうです。The rewrite only shows hello world so far, and the actual video editing lives only in the archived classic version.
- ポコPokoじゃあ Playwright と MCP を通して、Claude が編集操作を代わりにやってくれるってこと?So Claude does the editing through Playwright and MCP, like operating the editor for us?
- TECHガイドTECH Guideそうです。MCP クライアントに opencut-mcp を登録すれば、Claude が opencut_insert_clip などを直接呼べると書かれています。Right. Once opencut-mcp is registered in an MCP client, Claude can call things like opencut_insert_clip directly.
- ポコPoko本家じゃなくて、作者さんの fork に対して動かすんだね。And it runs against the author's fork, not the original, right?
- TECHガイドTECH Guideはい。本家は archived で window 露出パッチがないためです。v0.1.0 なので、まだ入口かもしれません。4つの罠の中身は本文で確認を。Yes, the original is archived and lacks the window exposure patch. It's v0.1.0, so maybe still early. Check the article for the four pitfalls.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy



