Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAPCUT_DRAFTS_DIRNoYour CapCut Drafts folder. Auto-detects the standard Windows/macOS locations; set this if your drafts live elsewhere (e.g. a different drive).
CAPCUT_TEMPLATE_DRAFTNoOptional 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.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
capcut_list_draftsA

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

capcut_read_timelineB

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

capcut_clone_draftA

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

capcut_set_canvasC

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

capcut_list_presetsA

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

capcut_add_videoB

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

capcut_add_imageC

Add an image at a time on a track.

capcut_add_audioC

Add an audio clip at a time on a track.

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.

capcut_add_textC

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

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.

capcut_add_trackC

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

capcut_move_segmentB

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

capcut_trim_segmentB

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

capcut_split_segmentB

Split a segment into two at a timeline time.

capcut_duplicate_segmentC

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

capcut_freeze_frameC

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

capcut_delete_segmentC

Remove a segment.

capcut_set_propsC

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

capcut_apply_beat_hitsC

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

capcut_enhance_clipC

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

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}]).

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.

capcut_add_maskC

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

capcut_remove_maskC

Remove mask from a segment.

capcut_set_chroma_keyC

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

capcut_remove_chroma_keyC

Remove chroma key from a segment.

capcut_set_mattingC

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

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.

capcut_add_effectC

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

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).

capcut_add_transitionC

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

capcut_set_bg_blurC

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

capcut_set_bg_colorC

Set background fill color on a segment.

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.

capcut_add_subtitleC

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

capcut_restyle_captionsB

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

capcut_set_audio_fadeB

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

capcut_add_background_musicB

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

capcut_detect_pausesB

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

capcut_add_video_without_pausesB

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

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.

capcut_list_camera_movesA

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

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.

capcut_add_stickerC

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

capcut_set_cropB

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

capcut_ripple_editB

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

capcut_raw_patchA

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

capcut_validateB

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

capcut_saveA

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

capcut_discardA

Drop unsaved session edits and reload the draft from disk.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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