Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Professional MCP server for video editing automation with OpenCut.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"opencut-controller": {
"command": "npx",
"args": [
"-y",
"opencut-controller"
]
}
}
}在终端中运行这条命令
claude mcp add opencut-controller -- npx -y opencut-controller粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"opencut-controller": {
"command": "npx",
"args": [
"-y",
"opencut-controller"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"opencut-controller": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"opencut-controller"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 JXUE0 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.30.0)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
The Figma MCP server brings Figma design context directly into your AI workflow.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
🌐 Leer en Español: [README.es.md](./README.es.md)
[!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 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
cd .. git clone https://github.com/JXUE0/opencut-controller.git cd opencut-controller
pnpm install
pnpm run patch-editor ../opencut-classic
cd ../opencut-classic bun install cd apps/web && bunx next dev --turbopack -p 3001
[!TIP]
The
pnpm installcommand will automatically trigger apostinstallscript 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.tsxfrom git before re-running it — the old patch exposed store state instead of the stores.
| Variable | Default | Description |
|---|---|---|
OPENCUT_URL | http://localhost:3001 | URL of the patched local OpenCut editor. |
MCP_HEADLESS | true | Set to false to watch the browser while the MCP works. |
CHROMIUM_PATH | — | Use a specific Chromium/Chrome binary instead of Playwright's. |
TRANSPORT_TYPE | stdio | stdio or http. |
PORT | 3002 | HTTP 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).
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.
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.
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 npx -y opencut-controller
Windows (PowerShell):
$env:TRANSPORT_TYPE="http"; $env:PORT="3002"; npx -y opencut-controller
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.
The controller exposes 161 highly granular tools to the LLM, categorized as follows:
| Category | Tools | Description |
|---|---|---|
| 📁 Project | 16 | Create, load, save, duplicate projects and change their settings. |
| 🎬 Scenes | 6 | Manage scene lifecycle, renaming, and active state. |
| ▶️ Playback | 10 | Play, pause, stop, seek, volume, and mute. |
| ⏱️ Timeline Tracks & Settings | 10 | List, inspect, mute, hide tracks; timeline settings. |
| 🧩 Timeline Elements | 15 | Insert, trim, split, move, duplicate, and update clips. |
| ✨ Timeline Effects | 5 | Apply and tweak clip effects. |
| 📌 Keyframes | 6 | Add, retime, and remove animation keyframes. |
| 🎯 Selection/Clipboard | 6 | Select elements, copy and paste. |
| 🕰️ History | 4 | Undo and redo. |
| 🎞️ Media | 7 | Import media files and place them on the timeline. |
| 📝 Text | 9 | Create and style text overlays. |
| 🎵 Audio | 8 | Search music/SFX and set element volume. |
| 🎨 Stickers/Canvas | 13 | Add stickers; canvas size, FPS, and background. |
| ⚙️ Transcribe/Export | 11 | Captions from transcripts; export to MP4/WebM files. |
| 🔖 Bookmarks/Panels/Keybindings | 23 | Timeline bookmarks, UI panels, and shortcuts. |
| 🔑 Auth & Storage | 9 | User sessions and storage. |
| 🌐 API | 3 | Health 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 withouttrackId; OpenCut deletes empty tracks, sotimeline_track_addreturns an explanatory error.
export_project accepts outputPath to write the rendered .mp4/.webm file to disk.
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.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.
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.$env:TRANSPORT_TYPE="http"; npx -y opencut-controller instead.OPENCUT_URL (default port 3001, not Next.js' default 3000).[!TIP]
To check types during development run
pnpm run typecheck;pnpm run buildbundlesdist/.
window.__opencut is undefined / Editor not ready after 30000msCause: 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 ). 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.
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.
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.