Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort number for HTTP mode. Only used when TRANSPORT=http. Default is 3000.
TRANSPORTNoTransport mode for the MCP server. Use 'http' for HTTP mode, or omit for stdio mode.
CAPCUT_API_URLNoURL of the CapCut API server (VectCutAPI). Defaults to http://localhost:9001.http://localhost:9001

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
capcut_create_draftA

Create a new video editing draft with specified dimensions and frame rate.

This tool initializes a new draft project that can be edited by adding videos, audio, text, images, and effects.

Args:

  • width (number): Video width in pixels (360-4096, default: 1920)

  • height (number): Video height in pixels (360-4096, default: 1080)

  • fps (number): Frames per second (24-120, default: 30)

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: { "draft_id": string, // Unique draft identifier for subsequent operations "width": number, // Video width "height": number, // Video height "fps": number, // Frame rate "duration": number, // Current duration (starts at 0) "created_at": string // ISO timestamp }

Examples:

  • Create HD draft: params with width=1920, height=1080

  • Create vertical video: params with width=1080, height=1920

  • Create 4K draft: params with width=3840, height=2160

capcut_add_videoA

Add a video clip to an existing draft with timing, volume, and effects.

This tool adds video content to the timeline with support for transitions, speed adjustments, and volume control.

Args:

  • draft_id (string): The draft ID from create_draft

  • video_url (string): URL to video file (mp4, mov, avi, mkv, webm, flv)

  • start (number): Start time in seconds (>= 0)

  • end (number): End time in seconds (> 0)

  • volume (number): Audio volume 0.0-1.0 (default: 1.0)

  • transition (string): Optional transition effect (fade_in, fade_out, dissolve, wipe, slide, zoom)

  • speed (number): Playback speed 0.1-10x (default: 1.0)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Add background video: draft_id="abc123", video_url="https://...", start=0, end=10

  • Add with slow motion: speed=0.5

  • Add with fade in: transition="fade_in"

capcut_add_audioA

Add audio track to draft with volume and fade effects.

This tool adds background music or sound effects to the video timeline.

Args:

  • draft_id (string): The draft ID

  • audio_url (string): URL to audio file (mp3, wav, aac, m4a, flac, ogg)

  • start (number): Start time in seconds

  • end (number): End time in seconds

  • volume (number): Audio volume 0.0-1.0 (default: 1.0)

  • fade_in (number): Fade in duration in seconds (default: 0)

  • fade_out (number): Fade out duration in seconds (default: 0)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Add background music: audio_url="https://...", volume=0.5

  • Add with fade: fade_in=2, fade_out=2

capcut_add_textA

Add styled text overlay to video with positioning, colors, shadows, and animations.

This tool creates text elements with full styling control including fonts, colors, backgrounds, shadows, and animations.

Args:

  • draft_id (string): The draft ID

  • text (string): Text content to display (1-500 characters)

  • start (number): Start time in seconds

  • end (number): End time in seconds

  • font (string): Font family name (optional)

  • font_size (number): Font size 12-200 (default: 48)

  • font_color (string): Hex color e.g., #FFFFFF (default: #FFFFFF)

  • background_color (string): Background hex color (optional)

  • background_alpha (number): Background opacity 0.0-1.0 (default: 0.8)

  • shadow_enabled (boolean): Enable shadow (default: false)

  • shadow_color (string): Shadow hex color (default: #000000)

  • position_x (number): Horizontal position 0.0-1.0 (default: 0.5 center)

  • position_y (number): Vertical position 0.0-1.0 (default: 0.5 center)

  • animation (string): Animation effect (fade_in, slide_up, slide_down, slide_left, slide_right, zoom_in, bounce)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Add title: text="Welcome", font_size=72, position_y=0.2, animation="fade_in"

  • Add subtitle: text="Subscribe!", font_size=36, background_color="#000000"

capcut_add_imageA

Add image overlay to video with positioning, scaling, rotation, and animation.

This tool adds static or animated images to the video timeline.

Args:

  • draft_id (string): The draft ID

  • image_url (string): URL to image file (jpg, jpeg, png, gif, webp, bmp)

  • start (number): Start time in seconds

  • end (number): End time in seconds

  • position_x (number): Horizontal position 0.0-1.0 (default: 0.5)

  • position_y (number): Vertical position 0.0-1.0 (default: 0.5)

  • scale (number): Scale multiplier 0.1-5.0 (default: 1.0)

  • rotation (number): Rotation angle 0-360 degrees (default: 0)

  • animation (string): Animation effect (optional)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Add logo: image_url="https://...", position_x=0.9, position_y=0.1, scale=0.3

  • Add rotating image: rotation=45, animation="zoom_in"

capcut_add_subtitleB

Add subtitles from SRT file content with styling options.

This tool imports subtitles in SRT format and applies styling.

Args:

  • draft_id (string): The draft ID

  • srt_content (string): SRT formatted subtitle content

  • font (string): Font family name (optional)

  • font_size (number): Font size 12-100 (default: 36)

  • font_color (string): Hex color (default: #FFFFFF)

  • background_enabled (boolean): Enable background (default: true)

  • background_color (string): Background hex color (default: #000000)

  • response_format ('markdown' | 'json'): Output format

Example SRT format: 1 00:00:01,000 --> 00:00:03,000 Welcome to my video

2 00:00:03,500 --> 00:00:05,000 Subscribe for more content

capcut_add_keyframeA

Add keyframe-based property animation to tracks.

This tool creates smooth animations by interpolating between keyframe values.

Args:

  • draft_id (string): The draft ID

  • track_name (string): Name of track to animate

  • property_types (string[]): Properties to animate (scale_x, scale_y, alpha, rotation, position_x, position_y)

  • times (number[]): Keyframe times in seconds (at least 2)

  • values (string[]): Values for each keyframe (same length as times)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Fade in: property_types=["alpha"], times=[0, 2], values=["0.0", "1.0"]

  • Zoom in: property_types=["scale_x", "scale_y"], times=[0, 2], values=["0.5", "1.5"]

  • Rotate: property_types=["rotation"], times=[0, 3], values=["0", "360"]

capcut_add_effectA

Apply visual effects to video segments.

This tool adds effects like blur, sharpen, brightness adjustments, and more.

Args:

  • draft_id (string): The draft ID

  • effect_name (string): Effect to apply (blur, sharpen, brightness, contrast, saturation, vignette, grain, glitch)

  • start (number): Start time in seconds

  • end (number): End time in seconds

  • intensity (number): Effect intensity 0.0-1.0 (default: 0.5)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Add blur: effect_name="blur", intensity=0.7

  • Increase brightness: effect_name="brightness", intensity=0.8

  • Add vignette: effect_name="vignette", intensity=0.4

capcut_add_stickerA

Add sticker/emoji overlay with positioning and transformation.

This tool adds decorative stickers or emojis to the video.

Args:

  • draft_id (string): The draft ID

  • sticker_url (string): URL to sticker image

  • start (number): Start time in seconds

  • end (number): End time in seconds

  • position_x (number): Horizontal position 0.0-1.0 (default: 0.5)

  • position_y (number): Vertical position 0.0-1.0 (default: 0.5)

  • scale (number): Scale multiplier 0.1-5.0 (default: 1.0)

  • rotation (number): Rotation angle 0-360 degrees (default: 0)

  • response_format ('markdown' | 'json'): Output format

Examples:

  • Add corner sticker: position_x=0.9, position_y=0.1, scale=0.2

  • Add rotating emoji: rotation=15, scale=0.5

capcut_save_draftA

Save the draft to a file that can be imported into CapCut.

This tool finalizes the draft and generates a folder that can be copied to the CapCut drafts directory.

Args:

  • draft_id (string): The draft ID to save

  • response_format ('markdown' | 'json'): Output format

Returns: { "draft_url": string, // Path to the saved draft folder "status": "saved" }

The draft folder starts with "dfd_" and should be copied to:

  • Windows: C:\Users<username>\AppData\Local\CapCut\User Data\Projects\Draft Content

  • macOS: ~/Library/Containers/com.lemon.lvpro/Data/Documents/JianyingPro/User Data/Projects/Draft Content

capcut_get_durationA

Get duration and metadata of video or audio file.

This tool analyzes media files to retrieve duration, format, and resolution information.

Args:

  • url (string): URL to media file

  • response_format ('markdown' | 'json'): Output format

Returns: { "duration": number, // Duration in seconds "format": string, // File format "width": number, // Video width (if video) "height": number // Video height (if video) }

Examples:

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/eery1677-lab/capcut-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server