capcut-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., "@capcut-mcpTrim the first video clip to 10 seconds in my latest draft"
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.
capcut-mcp
An MCP server that lets Claude read and edit CapCut desktop draft projects — add/move/trim/split clips, text, audio, images; set transforms; validate; save. It works by cloning real segment/material templates out of an existing draft (the only reliable way to produce valid CapCut JSON), and it saves atomically with a backup and a validation pass.
Free & open source (MIT). Built by James Aldrin Boncales for editors who want Claude to drive CapCut for them.
Not affiliated with CapCut or ByteDance. CapCut's draft format is proprietary and undocumented; this tool reads/writes it defensively (clone-from-template, backups, validation), but a CapCut update can shift the schema. Keep the backups it makes.
Requirements
Node 18+
ffmpeg/ffprobe on PATH (used to read media duration/resolution)
CapCut desktop (Windows layout assumed; macOS path is auto-detected too)
Related MCP server: capcut-mcp
Configure (env, optional)
CAPCUT_DRAFTS_DIR— your CapCut Drafts folder. Auto-detects the standard%LOCALAPPDATA%\CapCut\...(Windows) /~/Movies/CapCut/...(macOS) locations; set this if your drafts live elsewhere (e.g. a different drive).CAPCUT_TEMPLATE_DRAFT— name of a draft that contains video and text layers, used to harvest templates when the draft you're editing lacks one. Default0723is the author's own draft and won't exist on your machine — set this to one of your drafts that has a text layer, or thecapcut_add_texttool won't work. (Everything else works without it.)
Install
git clone https://github.com/JmsLdrn/capcut-mcp
cd capcut-mcp
npm installThen register it in Claude Code — use the absolute path to src/server.js on your machine:
claude mcp add capcut --scope user -- node "/ABSOLUTE/PATH/TO/capcut-mcp/src/server.js"…or add a project-scoped .mcp.json at your repo root (copy mcp.json.example and edit the paths):
{
"mcpServers": {
"capcut": {
"command": "node",
"args": ["/ABSOLUTE/PATH/TO/capcut-mcp/src/server.js"],
"env": { "CAPCUT_DRAFTS_DIR": "", "CAPCUT_TEMPLATE_DRAFT": "" }
}
}
}Leave the env values blank to auto-detect, or fill them in (see Configure above). Restart Claude Code; the tools then appear as mcp__capcut__*.
Workflow (important)
Close CapCut on the draft you want to edit. CapCut autosaves on a timer; writing while it's open gets clobbered.
capcut_saverefuses if CapCut is running or the draft's.lockedfile is present (override withforce: trueonly if you know it's safe).Edits are a session:
capcut_add_*/capcut_move_*etc. accumulate in memory. Nothing hits disk untilcapcut_save.capcut_savewritesdraft_content.json(+ meta) atomically after making a.mcpbakbackup, and runscapcut_validate.Reopen the draft in CapCut.
All times at the tool boundary are in seconds (converted to CapCut's microseconds internally).
Tools
Tool | Purpose |
| list drafts + duration + lock status |
| full read: canvas, fps, tracks, every segment |
| copy a draft (optionally emptied) for a fresh build |
| place media at a time on a track |
| text overlay (needs a text template draft) |
| new video/audio/text/sticker track |
| change start time / track |
| change start / duration / source in-point |
| split at a time |
| remove |
| scale / position / rotation / opacity / volume / speed / visibility |
| advanced deep-merge escape hatch for undocumented ops |
| overlaps, duplicate ids, missing media |
| persist / drop the session |
Companion skill
A Claude skill ships in skills/capcut-reels/. It teaches Claude the full production pipeline these tools were built for — record → captions (WhisperFlow) → motion graphics (HyperFrames) → probe/render (ffprobe/ffmpeg) → assemble & caption the CapCut draft via this MCP. Copy the capcut-reels folder into your Claude skills directory to install it.
Guardrails
Won't save while CapCut is open (autosave clobber protection).
.mcpbakbackup + atomic temp-then-rename write.Post-edit validation (overlaps, duplicate material ids, layer-order clashes, missing media).
New drafts are cloned from a known-good base, never built from an empty object.
Limitations (be honest with these)
CapCut's draft format is proprietary and undocumented, and changes between CapCut versions. This server is defensive (clone-from-template, backup, validate) but a CapCut update can still shift the schema — keep the backups.
Effects, transitions, animations, and rich text styling are best-effort. The well-understood ops (place/move/trim/split media + basic text + transforms) are solid; anything exotic should go through
capcut_raw_patchagainst a template you've inspected.capcut_add_textneeds a draft with a text layer to harvest from (CAPCUT_TEMPLATE_DRAFT).
Architecture
src/core.js— pure engine (CapCutDraftclass +cloneDraft/listDrafts). Testable without MCP.src/server.js— thin MCP stdio server; declares the tools and calls the core.
License & credits
MIT © 2026 James Aldrin Boncales. Contributions and issues welcome. If this saves you time, a link back to jmsldrn.com is appreciated — not required.
Always keep a copy of important drafts before batch-editing. This software is provided "as is", without warranty.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceA local MCP server that gives Claude Desktop full video editing capabilities via FFmpeg, Whisper, and yt-dlp.
- FlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to automate CapCut Pro video editing, including creating drafts, adding media, text, effects, and keyframes, with support for both local and remote connections.11
- Alicense-qualityBmaintenanceAn MCP server for programmatic video editing using ffmpeg, enabling draft creation and refinement via natural language.7ISC
- AlicenseAqualityBmaintenanceA local MCP server that enables Claude to edit videos on your machine using ffmpeg, with tools for trimming, converting, compressing, creating GIFs, and more.31MIT
Related MCP Connectors
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for Hailuo (MiniMax) AI video generation
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/JmsLdrn/capcut-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server