Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAPCUT_DRAFTS_DIRNoPath to the CapCut Drafts folder. Auto-detected if not set, but set this if your drafts live elsewhere.
CAPCUT_TEMPLATE_DRAFTNoName of a draft containing video and text layers used to harvest templates for adding text. Defaults to '0723' but that draft likely doesn't exist on your machine, so set this to one of your drafts or capcut_add_text won't work.0723

Capabilities

Features and capabilities supported by this server

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_timelineA

Read a draft: canvas, fps, tracks and every segment (id, media, times, layer). 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_add_videoA

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

capcut_add_imageD

Add an image at a time on a track.

capcut_add_audioC

Add an audio clip at a time on a track.

capcut_add_textB

Add a text overlay. Requires a text template (a draft with a text layer; see CAPCUT_TEMPLATE_DRAFT).

capcut_add_trackC

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

capcut_move_segmentB

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

capcut_trim_segmentA

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

capcut_split_segmentC

Split a segment into two at a timeline time.

capcut_delete_segmentC

Remove a segment.

capcut_set_propsB

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

capcut_raw_patchB

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

Latest Blog Posts

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