fcp-mcp — Final Cut Pro MCP Server
v0.2.0Final Cut Pro MCP — 88 tools: FCPXML engine, live FCP control, media analysis, puppets.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fcpxml_parse
Parse an FCPXML file and return a structure summary. Args: path: Path to .fcpxml file (absolute or relative to FCP_PROJECTS_DIR)
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_list_clips
List all clips in the timeline with timecodes, durations, and roles. Args: path: Path to .fcpxml file project_name: Optional project name filter (uses first project if empty)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
project_name | string |
fcpxml_list_markers
List all markers, chapter markers, and keywords across all clips. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_analyze_pacing
Analyze shot pacing — average/median shot length, distribution histogram. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_detect_gaps
Find all gaps in the timeline. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_detect_flash_frames
Find clips shorter than max_frames (potential flash frames / accidental edits). Args: path: Path to .fcpxml file max_frames: Maximum frame count to flag (default 2)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
max_frames | integer |
fcpxml_detect_duplicates
Find clips that use the same source media. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_validate
Validate FCPXML structure and report errors/warnings. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_list_effects
List all effects and transitions applied to clips. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_list_roles
List all roles and subroles used in the timeline. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_timeline_stats
Get comprehensive timeline statistics — duration, clip count, resolution, pacing, etc. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_diff
Compare two FCPXML files and show differences. Args: path_a: Path to first .fcpxml file path_b: Path to second .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path_a * | string | |
path_b * | string |
fcpxml_add_marker
Add a marker to a clip. Args: path: Path to .fcpxml file clip_name: Name of the clip to add the marker to start: Marker position in FCPXML time (e.g., "60060/30000s") value: Marker title/value note: Optional marker note marker_type: "standard" or "chapter" output_path: Output file path (default: adds _modified suffix)
| Parameter | Type | Description |
|---|---|---|
clip_name * | string | |
path * | string | |
start * | string | |
value * | string | |
marker_type | string | |
note | string | |
output_path | string |
fcpxml_batch_add_markers
Add multiple markers at once. Args: path: Path to .fcpxml file markers_json: JSON array of markers, each: {"clip_name": str, "start": str, "value": str, "note"?: str, "type"?: str} output_path: Output file path (default: adds _modified suffix)
| Parameter | Type | Description |
|---|---|---|
markers_json * | string | |
path * | string | |
output_path | string |
fcpxml_add_keyword
Add a keyword to a clip. Args: path: Path to .fcpxml file clip_name: Name of the clip value: Keyword text start: Start time in FCPXML format duration: Duration of keyword range (optional) output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_name * | string | |
path * | string | |
value * | string | |
duration | string | |
output_path | string | |
start | string |
fcpxml_trim_clip
Trim a clip's source in/out points. Args: path: Path to .fcpxml file clip_name: Name of the clip to trim new_start: New source start time (optional) new_duration: New duration (optional) output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_name * | string | |
path * | string | |
new_duration | string | |
new_start | string | |
output_path | string |
fcpxml_split_clip
Split a clip at a given offset within the clip. Args: path: Path to .fcpxml file clip_name: Name of the clip to split split_at: Offset within the clip to split at (FCPXML time) output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_name * | string | |
path * | string | |
split_at * | string | |
output_path | string |
fcpxml_delete_clips
Remove clips from the timeline by name. Args: path: Path to .fcpxml file clip_names_json: JSON array of clip names to delete output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_names_json * | string | |
path * | string | |
output_path | string |
fcpxml_reorder_clips
Reorder clips in the primary spine to match the given name order. Args: path: Path to .fcpxml file clip_names_json: JSON array of clip names in desired order output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_names_json * | string | |
path * | string | |
output_path | string |
fcpxml_add_transition
Insert a transition after a clip. Args: path: Path to .fcpxml file after_clip_name: Name of the clip to add transition after duration: Transition duration (default: 1 second at 29.97) name: Transition name output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
after_clip_name * | string | |
path * | string | |
duration | string | |
name | string | |
output_path | string |
fcpxml_change_speed
Change clip playback speed. Args: path: Path to .fcpxml file clip_name: Name of the clip speed_factor: Speed multiplier (2.0 = 2x fast, 0.5 = half speed) output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_name * | string | |
path * | string | |
speed_factor * | number | |
output_path | string |
fcpxml_assign_role
Set the role on a clip (e.g., "Dialogue", "Video", "Music", "Effects"). Args: path: Path to .fcpxml file clip_name: Name of the clip role: Role name output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
clip_name * | string | |
path * | string | |
role * | string | |
output_path | string |
fcpxml_add_title
Add a title clip to the timeline. Args: path: Path to .fcpxml file text: Title text duration: Title duration in FCPXML time position: "start", "end", or clip name to insert after output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
text * | string | |
duration | string | |
output_path | string | |
position | string |
fcpxml_add_audio
Add an audio clip to the timeline. Args: path: Path to .fcpxml file audio_src: Path to audio file name: Clip name (defaults to filename) duration: Duration in FCPXML time (defaults to asset duration) position: "start", "end", or clip name to insert after output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
audio_src * | string | |
path * | string | |
duration | string | |
name | string | |
output_path | string | |
position | string |
fcpxml_create_project
Create a new empty FCPXML project file. Args: name: Project name format_name: Video format (e.g., FFVideoFormat1080p2997, FFVideoFormat4Kp24) width: Frame width height: Frame height frame_duration: Frame duration in FCPXML time event_name: Event name output_path: Where to save (default: ~/Movies/<name>.fcpxml)
| Parameter | Type | Description |
|---|---|---|
event_name | string | |
format_name | string | |
frame_duration | string | |
height | integer | |
name | string | |
output_path | string | |
width | integer |
fcpxml_create_timeline
Build a timeline from a list of clip definitions. Args: clips_json: JSON array of clips, each: {"src": "/path/to/file.mov", "name"?: str, "duration": "FCPXML_time", "start"?: str, "role"?: str} project_name: Project name format_name: Video format name event_name: Event name output_path: Where to save
| Parameter | Type | Description |
|---|---|---|
clips_json * | string | |
event_name | string | |
format_name | string | |
output_path | string | |
project_name | string |
fcpxml_auto_rough_cut
Auto-assemble clips into a rough cut timeline. Args: clips_json: JSON array of clips: [{"src": str, "name"?: str, "duration": str}, ...] target_duration: Target total duration (optional — uses all clips if empty) max_clip_duration: Maximum clip duration (trims longer clips) transition_duration: If set, adds transitions between clips project_name: Project name output_path: Where to save
| Parameter | Type | Description |
|---|---|---|
clips_json * | string | |
max_clip_duration | string | |
output_path | string | |
project_name | string | |
target_duration | string | |
transition_duration | string |
fcpxml_generate_montage
Generate a montage/highlight reel with uniform clip durations and transitions. Args: clips_json: JSON array of clips: [{"src": str, "name"?: str, "duration": str}, ...] clip_duration: Duration for each clip in the montage transition_duration: Transition duration between clips project_name: Project name output_path: Where to save
| Parameter | Type | Description |
|---|---|---|
clips_json * | string | |
clip_duration | string | |
output_path | string | |
project_name | string | |
transition_duration | string |
fcpxml_import_srt
Convert SRT subtitles to title clips and add to timeline. Args: path: Path to .fcpxml file to add subtitles to srt_path: Path to .srt subtitle file output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
srt_path * | string | |
output_path | string |
fcpxml_import_edl
Convert an EDL (Edit Decision List) to FCPXML. Args: edl_path: Path to .edl file media_dir: Directory containing media files (for resolving reel names) project_name: Project name output_path: Where to save
| Parameter | Type | Description |
|---|---|---|
edl_path * | string | |
media_dir | string | |
output_path | string | |
project_name | string |
fcpxml_reformat
Reformat a timeline for a different aspect ratio (e.g., 16:9 → 9:16 for vertical). Args: path: Path to .fcpxml file target_width: Target width target_height: Target height target_format_name: Target format name output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string | |
target_format_name | string | |
target_height | integer | |
target_width | integer |
fcpxml_fix_flash_frames
Auto-fix flash frames by extending very short clips to minimum duration. Args: path: Path to .fcpxml file min_frames: Minimum frame count (clips shorter than this get extended) frame_duration: Frame duration for calculating frame count output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
frame_duration | string | |
min_frames | integer | |
output_path | string |
fcpxml_fill_gaps
Replace all gaps in the timeline with clips from a specified asset. Args: path: Path to .fcpxml file fill_asset_ref: Asset resource ID to use as fill (e.g., "r3") fill_name: Name for the fill clips output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
fill_asset_ref * | string | |
path * | string | |
fill_name | string | |
output_path | string |
fcpxml_remove_silence
Remove gaps longer than the threshold from the timeline. Args: path: Path to .fcpxml file silence_threshold_seconds: Minimum gap duration to remove (seconds) output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string | |
silence_threshold_seconds | number |
fcpxml_batch_rename_clips
Rename clips matching a pattern (substring replacement). Args: path: Path to .fcpxml file pattern: Text to find in clip names replacement: Text to replace with output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
pattern * | string | |
replacement * | string | |
output_path | string |
fcpxml_batch_assign_roles
Assign roles to clips based on name matching rules. Args: path: Path to .fcpxml file rules_json: JSON array of rules: [{"match": "interview", "role": "Dialogue"}, ...] output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
rules_json * | string | |
output_path | string |
fcpxml_batch_apply_transition
Add transitions between all adjacent clips in the timeline. Args: path: Path to .fcpxml file duration: Transition duration name: Transition name output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
duration | string | |
name | string | |
output_path | string |
fcpxml_qc_report
Generate a comprehensive quality check report for the timeline. Checks: validation, gaps, flash frames, duplicates, pacing. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_check_media_links
Verify all referenced media files exist on disk. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_check_frame_rates
Detect mixed frame rate issues in the timeline. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_check_audio_levels
Flag clips with potential audio issues (volume adjustments, missing audio). Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_check_safe_zones
Check for clips with transforms that might push content outside safe zones. Args: path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
path * | string |
fcpxml_check_duration
Verify the timeline fits a target duration. Args: path: Path to .fcpxml file target_seconds: Target duration in seconds
| Parameter | Type | Description |
|---|---|---|
path * | string | |
target_seconds * | number |
fcp_list_motion_templates
List installed Motion templates (titles, transitions, generators, effects).
fcp_discover_effects
List available FCP effects and transitions by scanning known locations.
fcpxml_list_templates
List available FCPXML template files. Args: templates_dir: Directory to search (default: FCP_PROJECTS_DIR)
| Parameter | Type | Description |
|---|---|---|
templates_dir | string |
fcpxml_apply_template
Apply an FCPXML template to a set of clips. Replaces placeholder clips in the template with provided clips. Args: template_path: Path to template .fcpxml file clips_json: JSON array of clips to insert project_name: New project name output_path: Where to save
| Parameter | Type | Description |
|---|---|---|
clips_json * | string | |
template_path * | string | |
output_path | string | |
project_name | string |
fcpxml_save_template
Save the current FCPXML structure as a reusable template. Args: path: Path to .fcpxml file to use as template template_name: Name for the template output_dir: Directory to save template (default: FCP_PROJECTS_DIR)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
template_name * | string | |
output_dir | string |
fcp_is_running
Check if Final Cut Pro is currently running.
fcp_get_libraries
Get all open libraries in Final Cut Pro (requires FCP to be running).
fcp_get_events
Get events in a library (or all libraries if name not specified). Args: library_name: Library name to filter (optional)
| Parameter | Type | Description |
|---|---|---|
library_name | string |
fcp_get_projects
Get projects in an event (or all events if name not specified). Args: event_name: Event name to filter (optional)
| Parameter | Type | Description |
|---|---|---|
event_name | string |
fcp_get_timeline_info
Get info about the current/first timeline in FCP.
fcp_get_app_state
Get FCP application state — version, frontmost status.
fcp_open_library
Open a FCP library file. Args: library_path: Path to .fcpbundle file
| Parameter | Type | Description |
|---|---|---|
library_path * | string |
fcp_import_xml
Import an FCPXML file into Final Cut Pro. Args: fcpxml_path: Path to .fcpxml file
| Parameter | Type | Description |
|---|---|---|
fcpxml_path * | string |
fcp_export_xml
Trigger XML export in FCP via menu automation (requires Accessibility permissions).
fcp_playback
Control FCP playback. Args: action: "play", "pause", "stop", or "toggle" (space bar)
| Parameter | Type | Description |
|---|---|---|
action | string |
fcp_select_tool
Switch FCP editing tool. Args: tool: "select" (A), "trim" (T), "position" (P), "range" (R), "blade" (B), "zoom" (Z), "hand" (H)
| Parameter | Type | Description |
|---|---|---|
tool | string |
fcp_undo
Undo the last action in FCP.
fcp_redo
Redo the last undone action in FCP.
fcp_keyboard_shortcut
Send a keyboard shortcut to FCP. Args: keys: Shortcut description like "cmd+c", "cmd+shift+e", "option+w"
| Parameter | Type | Description |
|---|---|---|
keys * | string |
compressor_encode
Encode a file using Compressor CLI. Args: input_path: Path to input media file setting_path: Path to Compressor preset (.cmprstng) output_dir: Output directory batch_name: Batch name for Compressor
| Parameter | Type | Description |
|---|---|---|
input_path * | string | |
batch_name | string | |
output_dir | string | |
setting_path | string |
compressor_list_settings
List available Compressor encoding presets.
fcpxml_export_resolve
Convert FCPXML to DaVinci Resolve-compatible format (FCPXML v1.9). Args: path: Path to .fcpxml file output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string |
fcpxml_export_fcp7
Convert FCPXML to FCP7 XML format (compatible with Premiere Pro and Avid). Args: path: Path to .fcpxml file output_path: Output file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string |
fcpxml_export_edl
Export timeline as EDL (Edit Decision List). Args: path: Path to .fcpxml file output_path: Output .edl file path
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string |
media_info
Get detailed media file info (codec, resolution, duration, bitrate, etc.). Args: path: Path to media file
| Parameter | Type | Description |
|---|---|---|
path * | string |
media_detect_silence
Detect silent sections in audio/video files. Args: path: Path to media file noise_threshold: Noise floor threshold (e.g., "-30dB", "-40dB") min_duration: Minimum silence duration in seconds
| Parameter | Type | Description |
|---|---|---|
path * | string | |
min_duration | number | |
noise_threshold | string |
media_detect_beats
Detect beat positions in audio/music files. Returns beat timestamps that can be used for music-synced editing. Args: path: Path to audio/video file
| Parameter | Type | Description |
|---|---|---|
path * | string |
media_loudness
Analyze audio loudness (EBU R128 / LUFS). Returns integrated loudness, loudness range, and true peak. Args: path: Path to audio/video file
| Parameter | Type | Description |
|---|---|---|
path * | string |
media_extract_thumbnail
Extract a frame thumbnail from video at a specific time. Args: path: Path to video file time: Time in seconds to extract frame from output_path: Where to save thumbnail (default: auto-generated) width: Thumbnail width in pixels
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string | |
time | number | |
width | integer |
media_extract_thumbnails
Extract thumbnails at regular intervals (contact sheet / storyboard). Args: path: Path to video file interval: Seconds between thumbnails output_dir: Directory to save thumbnails width: Thumbnail width in pixels
| Parameter | Type | Description |
|---|---|---|
path * | string | |
interval | number | |
output_dir | string | |
width | integer |
media_list_streams
List all audio, video, and subtitle streams in a media file. Args: path: Path to media file
| Parameter | Type | Description |
|---|---|---|
path * | string |
media_scene_detect
Detect scene changes in video. Useful for automatic clip segmentation. Args: path: Path to video file threshold: Scene change sensitivity (0.0-1.0, lower = more sensitive)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
threshold | number |
media_extract_audio
Extract audio track from a video file. Useful for feeding video audio into transcription, analysis, or the sheet-music-maker pipeline (basic-pitch → MIDI → notation). Args: path: Path to video file output_path: Where to save audio (default: same dir, .wav extension) format: Audio format: wav, mp3, flac (default: wav)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
format | string | |
output_path | string |
media_audio_to_midi
Transcribe audio to MIDI using basic-pitch (ML audio transcription). Converts audio (from video or standalone) into MIDI note data. Returns the MIDI file path and a summary of detected notes. Requires basic-pitch: pip install basic-pitch Args: path: Path to audio file (wav, mp3, flac) or video file output_path: Where to save MIDI (default: same dir, .mid extension)
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string |
puppet_create_rig
Define a puppet character rig from body parts. Each part is a separate image (PNG) that gets positioned and layered to form a character. Parts can be animated independently. Args: rig_json: JSON object defining the character: { "name": "my_character", "position": [0, 0], "parts": [ { "name": "head", "image": "/absolute/path/to/head.png", "position": [0, 200], "scale": 1.0, "r…
| Parameter | Type | Description |
|---|---|---|
rig_json * | string |
puppet_create_humanoid_rig
Create a standard 6-part humanoid rig from a folder of images. Expects PNG files named: head.png, body.png, left_arm.png, right_arm.png, left_leg.png, right_leg.png in the image directory. Parts are auto-positioned for a standard humanoid layout on a 1080p frame. Args: name: Character name image_dir: Absolute path to folder containing part images position_x: X position on screen (0 = center) position_y: Y position on screen (0 = center) scale: Overall scale multiplier
| Parameter | Type | Description |
|---|---|---|
image_dir * | string | |
name * | string | |
position_x | number | |
position_y | number | |
scale | number |
puppet_build_scene
Build an FCPXML timeline from one or more puppet rigs. Each rig's parts become layered connected clips with transforms applied. Import the resulting .fcpxml into FCP to see the assembled characters. Args: rigs_json: JSON array of rig definitions (same format as puppet_create_rig). Each rig: {"name": str, "position": [x, y], "parts": [...]} duration: Scene duration in FCPXML time (default 10 seconds at 29.97fps) project_name: Project name output_path: Where to save (default: ~/Movies/<project_name>.fcpxml)
| Parameter | Type | Description |
|---|---|---|
rigs_json * | string | |
duration | string | |
output_path | string | |
project_name | string |
puppet_animate
Build a puppet scene with custom keyframe animations. Args: rigs_json: JSON array of rig definitions animations_json: JSON array of animations: [ { "part": "head", "property": "position", "keyframes": [ {"time": "0s", "value": [0, 200], "interp": "smooth2"}, {"time": "150150/30000s", "value": [20, 210], "interp": "smooth2"}, {"time": "300300/30000s", "value": [0, 200], "interp": "smooth2"} ]…
| Parameter | Type | Description |
|---|---|---|
animations_json * | string | |
rigs_json * | string | |
duration | string | |
output_path | string | |
project_name | string |
puppet_preset_motion
Build a puppet scene with a preset motion applied. Available presets: - "idle": Subtle breathing/sway (keeps character alive) - "bounce": Vertical bouncing - "walk": Full walk cycle (arms, legs, body bob) - "talk": Mouth movement + head bob - "wave": Arm waving (applies to left_arm) Args: rig_json: JSON rig definition preset: Motion preset name duration: Scene duration project_name: Project name output_path: Where to save cycles: Number of motion cycles (more = faster movement) intensity: Scale factor for mot…
| Parameter | Type | Description |
|---|---|---|
rig_json * | string | |
cycles | integer | |
duration | string | |
intensity | number | |
output_path | string | |
preset | string | |
project_name | string |
puppet_multi_scene
Build a multi-scene puppet animation with different presets per scene. Generates one FCPXML per scene. Useful for storyboarding a sequence. Args: rigs_json: JSON array of rig definitions (shared across scenes) scenes_json: JSON array of scene definitions: [ {"name": "intro", "duration": "300300/30000s", "preset": "idle"}, {"name": "greeting", "duration": "150150/30000s", "preset": "wave"}, {"name": "walking", "duration": "600600/30000s", "preset": "walk", "cycles": 4} ] project_name: Base…
| Parameter | Type | Description |
|---|---|---|
rigs_json * | string | |
scenes_json * | string | |
output_path | string | |
project_name | string |
puppet_list_presets
List all available puppet animation presets with descriptions. Returns details on each preset, what body parts it uses, and what parameters it accepts.