Skip to main content
Glama

capcut-mcp

An MCP server that lets AI agents read and edit CapCut desktop draft projects — build viral minimal reels, talking-head jump cuts, auto-subtitles with keyword highlights, motion graphics, 65 virtual camera moves, keyframes with easing curves, masks, chroma key, shadows, procedural shapes/gradients/waves/letterbox, Twixtor speed ramps, beat-synced hits, auto-ducking music, and compound clips, then save atomically with a backup and validation pass.

Not affiliated with CapCut or ByteDance. CapCut's draft format is proprietary and undocumented; this tool reads/writes it defensively (clone-from-template + built-in fallbacks, backups, validation), but a CapCut update can shift the schema. Keep the .mcpbak backups it makes.

Requirements

  • Node 18+ (zero extra runtime deps beyond @modelcontextprotocol/sdk and zod)

  • ffmpeg/ffprobe on PATH (used for media duration/resolution, freeze frames, silence detection, frame inspection, and clip enhancement)

  • 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 — optional name of a draft to harvest templates from. Built-in fallback templates are included for video, audio, text, and effect tracks so tools work even on empty drafts.

Install

git clone https://github.com/m07o/capcut-mcp
cd capcut-mcp
npm install

Register in your MCP client (mcp.json.example shows the format):

{
  "mcpServers": {
    "capcut": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/TO/capcut-mcp/src/server.js"],
      "env": { "CAPCUT_DRAFTS_DIR": "", "CAPCUT_TEMPLATE_DRAFT": "" }
    }
  }
}

Workflow (important)

  1. Close CapCut on the draft you want to edit. CapCut autosaves on a timer; writing while it's open gets clobbered. capcut_save refuses if CapCut is running or .locked is present.

  2. Edits are a session in memory. Nothing hits disk until capcut_save.

  3. capcut_save writes draft_content.json (+ meta) atomically after making a .mcpbak backup, and runs capcut_validate.

  4. Reopen the draft in CapCut to preview and export.

All times at the tool boundary are in seconds (converted to microseconds internally).

Tools (51)

Project & Discovery

Tool

Purpose

capcut_list_drafts

List drafts + duration + lock status

capcut_read_timeline

Full read: canvas, fps, tracks, segments, keyframes

capcut_clone_draft

Copy a draft (optionally empty:true) for a fresh build

capcut_set_canvas

Set aspect ratio (9:16, 16:9, 1:1, 4:5, etc.), width/height, fps

capcut_list_presets

Search built-in CapCut slugs (masks, effects, transitions, animations)

capcut_view_frames

Extract still JPEG frames via FFmpeg so AI can inspect framing before editing

Media, Procedural Shapes, Stickers & Text

Tool

Purpose

capcut_add_video / _image / _audio

Place media at a time on a track (with optional blendMode)

capcut_add_shape

Generate crisp PNGs (solid, gradient, circle, rectangle, rounded_rect, grid, shadow, letterbox, wave, curved_line, line)

capcut_add_text

Text overlay with bold, italic, stroke, shadow, bg box, curve

capcut_set_text_style

Update rich text styling, alignment, spacing, curve, stroke, shadow

capcut_add_subtitle

Import .srt/.vtt subtitles with styling, keyword highlighting, and entrance animation

capcut_restyle_captions

Bulk-restyle all caption segments across a track or draft (supports dryRun)

capcut_add_sticker

Add a CapCut sticker by resourceId/stickerId onto a sticker track

Timeline, Talking-Head & Audio Automation

Tool

Purpose

capcut_add_track

New video, audio, text, sticker, effect, or filter track

capcut_move_segment

Change start time / track

capcut_trim_segment

Change start / duration / source in-point

capcut_split_segment

Split at a time

capcut_duplicate_segment

Duplicate segment with independent material (great for shadow layers)

capcut_freeze_frame

Extract & place a still freeze-frame from a video timestamp

capcut_delete_segment

Remove segment

capcut_ripple_edit

Delete or trim a segment and automatically shift subsequent segments (rippleAll optional)

capcut_detect_pauses

Detect silent pauses in speech using FFmpeg silencedetect

capcut_add_video_without_pauses

One-call talking-head jump cuts with optional alternating punchInZoom

capcut_set_audio_fade

Set fadeInSec and fadeOutSec on an audio/video segment

capcut_add_background_music

Loop music across the timeline with fades and automatic volume ducking under speech

Motion Graphics, Camera Moves, Effects & Compositing

Tool

Purpose

capcut_set_props

Static scale / position / rotation / opacity / volume / speed / blendMode / visibility

capcut_set_crop

Set 8-point normalized crop margins or reset crop

capcut_add_keyframes

Keyframes (position_x/y, scale, rotation, alpha, volume, color) with easing (linear, ease-in, ease-out, ease-in-out, cubic-in, cubic-out, cubic-ease, quad-ease, smooth)

capcut_list_camera_moves

List all 65 procedural virtual camera move presets

capcut_add_camera_move

Apply any of the 65 camera moves aimed at a focus point (focusX, focusY) without black edges

capcut_apply_beat_hits

Apply beat-synced zoom/shake/flash hits across timestamps

capcut_set_speed_curve

Apply Twixtor-style velocity speed ramps

capcut_enhance_clip

Enhance clip sharpness/contrast/denoise via FFmpeg

capcut_add_mask / _remove_mask

Masks (split, filmstrip, circle, rectangle, heart, stars) with feather, invert, roundCorner

capcut_set_chroma_key / _remove_chroma_key

Green screen / chroma key with color, intensity, shadow

capcut_set_matting

Smart Remove Background (AI portrait matting)

capcut_set_color_adjust

brightness, contrast, saturation, exposure, white, shadows, black, clarity, temperature, sharpness, clarity, shadowSilhouette

capcut_add_effect

Scene/character effects & filters (blur, chromatic-aberration, wide-angle, etc.)

capcut_add_animation

Intro (in), outro (out), or combo (combo) animations for video/image/text

capcut_add_transition

Transitions (dissolve, rgb-glitch, radial-blur, etc.)

capcut_set_bg_blur / _color

Background blur (1..4) or solid background color

capcut_create_compound_clip

Group 2+ segments into a Compound Clip for unified animation/effects

Escape Hatch, Validation & Persistence

Tool

Purpose

capcut_raw_patch

Advanced deep-merge JSON patch into draft_content

capcut_validate

Check overlaps, duplicate IDs, layer order, missing media

capcut_save / capcut_discard

Persist atomically (with .mcpbak) or drop session

Built-in AI Skills (skills/ — 32 Playbooks)

  • Talking-Head & Subtitles: capcut-talking-head-jumpcut, capcut-auto-subtitles-and-highlights, capcut-pacing-and-captions, capcut-j-cuts-and-pacing

  • Camera & Motion: capcut-virtual-camera-moves, capcut-smooth-keyframe-motion, capcut-bounce-and-physics-keyframes, capcut-twixtor-speed-ramps, capcut-spin-blur-hard-shake, capcut-blend-overlays-and-shake-cuts

  • Typography & Effects: capcut-minimal-typography, capcut-7-viral-text-animations, capcut-liquid-text-and-glow-outline, capcut-glow-lyrics-and-beat-text, capcut-counter-and-digit-scroll, capcut-text-match-cut-and-spotlight

  • Scenes & Compositing: capcut-reels, capcut-minimal-text-scene, capcut-minimal-object-scene, capcut-minimal-character-scene, capcut-ui-mockups-and-cards, capcut-popout-card-mask, capcut-pen-line-reveal, capcut-green-screen-and-shadow, capcut-soft-shadow-background

  • Polish, Audio & Multi-Agent: capcut-cinematic-color-grade, capcut-cinematic-amv-and-letterbox, capcut-troll-phonk-freeze-edit, capcut-scene-polish-effects, capcut-transitions-and-flow, capcut-audio-mix-and-sfx, capcut-multi-agent-director

License

MIT © 2026 Mohamed Menisy

Available Tools

51 tools
capcut_add_animationC

Add an intro (in), outro (out), or combo (group) animation to a video, image, or text segment (e.g. typewriter, fade-in, pop-up, slide-right).

Inputs: kind (required), slug (required), draft (required), segmentId (required), +4 more.

capcut_add_audioC

Add an audio clip at a time on a track.

Inputs: file (required), atSec (required), draft (required), posX, +11 more.

capcut_add_background_musicB

Add background music across the full timeline (auto-looping, fades, and auto-ducking volume keyframes under speech).

Inputs: file (required), draft (required), loop, volume, +6 more.

capcut_add_camera_moveC

Apply a virtual camera move preset over a time range on a clip, aimed at an optional focus point (focusX, focusY) without showing black edges.

Inputs: move (required), draft (required), segmentId (required), endSec, +5 more.

capcut_add_effectC

Add a scene/character effect or filter (e.g. blur, chromatic, wide-angle) on an effect/filter track.

Inputs: slug (required), atSec (required), draft (required), value, +7 more.

capcut_add_imageC

Add an image at a time on a track.

Inputs: file (required), atSec (required), draft (required), posX, +11 more.

capcut_add_keyframesC

Add keyframes with easing curves (linear, ease-in, ease-out, ease-in-out, cubic-in, cubic-out, cubic-ease, quad-ease, smooth) to a segment. timeSec is relative to segment start.

Inputs: draft (required), keyframes (required), segmentId (required), easing.

capcut_add_maskC

Add a shape mask (split/linear, filmstrip/mirror, circle, rectangle, heart, stars) with feather, invert/reverse, and roundCorner.

Inputs: slug (required), draft (required), segmentId (required), size, +7 more.

capcut_add_shapeC

Generate a crisp PNG shape/background/gradient/grid/shadow/letterbox/wave/curved_line into the draft and place it on the timeline.

Inputs: atSec (required), draft (required), shape (required), posX, +18 more.

capcut_add_stickerC

Add a CapCut sticker by resourceId/stickerId onto a sticker track.

Inputs: atSec (required), draft (required), name, posX, +8 more.

capcut_add_subtitleC

Import SRT/VTT subtitles (raw text or srtPath) with styling, keyword highlighting, and optional entrance animation.

Inputs: draft (required), srt, bold, posX, +19 more.

capcut_add_textC

Add a text overlay with optional bold/italic/stroke/shadow/background/curve styling.

Inputs: text (required), atSec (required), draft (required), bold, +19 more.

capcut_add_trackC

Add a new track (video | audio | text | sticker | effect | filter).

Inputs: draft (required), name, type.

capcut_add_transitionC

Add a transition (e.g. dissolve, rgb-glitch, radial-blur) after a segment.

Inputs: draft (required), segmentId (required), slug, durSec, +1 more.

capcut_add_videoB

Add a video clip at a time on a track. Session edit; call capcut_save to persist.

Inputs: file (required), atSec (required), draft (required), posX, +11 more.

capcut_add_video_without_pausesB

Add a talking-head video with silent pauses automatically removed (jump cuts) and optional alternating punch-in zoom.

Inputs: file (required), draft (required), padSec, noiseDb, +6 more.

capcut_apply_beat_hitsC

Apply beat-synced effects & motion (hard-shake, spin-blur, flash, glitch, zoom-punch) at an array of beat timestamps (seconds).

Inputs: draft (required), beatsSec (required), style, durSec, +2 more.

capcut_clone_draftA

Copy a draft folder to a new name (valid scaffolding). empty:true clears all clips/tracks for a fresh build.

Inputs: base (required), newName (required), empty.

capcut_create_compound_clipC

Group 2+ segments into a single Compound Clip so you can animate, mask, or apply effects to all of them together.

Inputs: draft (required), segmentIds (required), name, trackIndex.

capcut_delete_segmentC

Remove a segment.

Inputs: draft (required), segmentId (required).

capcut_detect_pausesB

Detect silent pauses in a video/audio file using ffmpeg silencedetect (preview before cutting).

Inputs: file (required), noiseDb, minSilenceSec.

capcut_discardA

Drop unsaved session edits and reload the draft from disk.

Inputs: draft (required).

capcut_duplicate_segmentC

Duplicate a segment with its own independent material (great for creating shadow layers).

Inputs: draft (required), segmentId (required), atSec, newTrack, +2 more.

capcut_enhance_clipC

Sharpen (and optionally 4K Lanczos upscale) a video/image clip using ffmpeg for crisp high-quality edits.

Inputs: draft (required), segmentId (required), sharpen, upscale4k.

capcut_freeze_frameC

Extract a freeze frame from a video segment at atSec (default: end of clip) and place it for durSec.

Inputs: draft (required), segmentId (required), atSec, durSec, +1 more.

capcut_list_camera_movesA

List all 65 procedural virtual camera move presets (zoom, drift, handheld, whip, impact, rotation).

Inputs: category.

capcut_list_draftsA

List CapCut drafts in /root/Movies/CapCut/User Data/Projects/com.lveditor.draft with duration and lock status.

Inputs: no named parameters.

capcut_list_presetsA

Search available CapCut slugs for masks, transitions, scene_effects, character_effects, image_intros/outros/combos, text_intros/outros/loop_anims.

Inputs: search, category.

capcut_move_segmentB

Move a segment to a new start time and optionally another track.

Inputs: atSec (required), draft (required), segmentId (required), trackIndex.

capcut_raw_patchA

Advanced escape hatch: deep-merge a JSON patch into draft_content (undocumented ops). Use with care.

Inputs: draft (required), patch (required).

capcut_read_timelineB

Read a draft: canvas, fps, tracks, every segment (id, media, times, layer, keyframes). Read-only.

Inputs: draft (required).

capcut_remove_chroma_keyC

Remove chroma key from a segment.

Inputs: draft (required), segmentId (required).

capcut_remove_maskC

Remove mask from a segment.

Inputs: draft (required), segmentId (required).

capcut_restyle_captionsB

Restyle all text/caption segments on a track (or all text tracks) in one call, with optional dryRun preview.

Inputs: draft (required), bold, posX, posY, +18 more.

capcut_ripple_editB

Delete or trim a segment and automatically shift subsequent segments on the same track (or all tracks if rippleAll:true).

Inputs: draft (required), action (required), segmentId (required), durSec, +1 more.

capcut_saveA

Write session edits to disk (backs up .mcpbak, validates). Refuses if CapCut is open unless force:true.

Inputs: draft (required), force.

capcut_set_audio_fadeB

Set audio fade-in and fade-out durations (seconds) on an audio or video segment.

Inputs: draft (required), segmentId (required), fadeInSec, fadeOutSec.

capcut_set_bg_blurC

Set background blur level (1..4) on a segment.

Inputs: draft (required), segmentId (required), level.

capcut_set_bg_colorC

Set background fill color on a segment.

Inputs: color (required), draft (required), segmentId (required).

capcut_set_canvasC

Set canvas aspect ratio (9:16, 16:9, 1:1, 4:5, 3:4, 4:3), pixel dimensions, and fps.

Inputs: draft (required), fps, ratio, width, +1 more.

capcut_set_chroma_keyC

Remove green screen / background color on a video segment via chroma key.

Inputs: draft (required), segmentId (required), color, shadow, +1 more.

capcut_set_color_adjustC

Adjust color/tone (brightness, contrast, saturation, exposure, white, shadows, black, clarity, temperature, sharpness) or turn a layer into a black shadowSilhouette.

Inputs: draft (required), segmentId (required), black, white, +9 more.

capcut_set_cropB

Set 8-point normalized crop margins (0..0.95) or reset crop on a video/image segment.

Inputs: draft (required), segmentId (required), top, left, +4 more.

capcut_set_mattingC

Enable or disable Smart Remove Background (AI portrait matting) on a video/image segment.

Inputs: draft (required), segmentId (required), enabled.

capcut_set_propsC

Set static transform / opacity / volume / speed / visibility on a segment.

Inputs: draft (required), segmentId (required), posX, posY, +9 more.

capcut_set_speed_curveC

Apply a Twixtor-style speed ramp / velocity curve (fast-to-slow, slow-to-fast, fast-slow-fast, montage, or custom points [{x:0..1, y:speed}]).

Inputs: draft (required), segmentId (required), points, preset.

capcut_set_text_styleC

Update rich styling (text, font, size, color, bold, italic, stroke, shadow, bg box, curve, alignment, spacing) on an existing text segment.

Inputs: draft (required), segmentId (required), bold, text, +20 more.

capcut_split_segmentB

Split a segment into two at a timeline time.

Inputs: atSec (required), draft (required), segmentId (required).

capcut_trim_segmentB

Change a segment start / duration / source in-point (seconds).

Inputs: draft (required), segmentId (required), atSec, durSec, +1 more.

capcut_validateB

Check the (in-session) draft for overlaps, duplicate ids/render_index, missing media.

Inputs: draft (required).

capcut_view_framesC

Extract still JPEG frames from a video at specific timestamps or intervals so you can inspect framing before adding text/camera moves.

Inputs: file (required), width, everySec, timesSec, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 51 tools

    Disambiguation3/5

    Most tools map to distinct editing operations, but several pairs overlap: add_video vs add_video_without_pauses, add_audio vs add_background_music, add_text vs set_text_style vs restyle_captions, and various segment-edit tools. Detailed descriptions help, yet the sheer size of the surface makes misselection likely.

    Naming Consistency5/5

    All tool names use a capcut_ prefix followed by snake_case verb_noun phrasing, with no mixed casing or inconsistent verb styles. A few are slightly noun-phrase-like, but the overall pattern is highly predictable.

    Tool Count2/5

    51 tools is far above the typical 3-15 range and heavy even for a complex video editor. Many are specialized conveniences, so the surface feels sprawling rather than tightly scoped.

    Completeness4/5

    The set covers draft lifecycle, tracks, segments, text, audio, masks, effects, keyframes, subtitles, validation, save/discard, and raw patching. Minor gaps exist for explicit render/export and some removal operations, but core editing workflows are well covered.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants like Claude Code to build and edit CapCut video projects locally by creating drafts, adding media and effects, and saving projects that open in CapCut desktop.
      2
      Apache 2.0
    • A
      license
      B
      quality
      C
      maintenance
      Enables reading and editing CapCut desktop draft projects, including adding/moving/trimming/splitting clips, text, audio, images, filters, transitions, masks, keyframe animation, audio fades, stickers, setting transforms, validation, and saving with backups.
      28
      MIT