fcp-mcp
This MCP server provides 93 tools across 13 categories for Final Cut Pro editing, covering FCPXML inspection, editing, quality control, batch operations, project generation, live FCP control, media analysis, parametric animation, Compressor integration, transactional workflows, and diagnostics.
FCPXML Inspection & Analysis: Parse FCPXML, list clips/markers/roles/effects, analyze pacing, detect gaps, flash frames, duplicates, validate structure, get stats, diff files.
FCPXML Editing: Add/trim/split/delete/reorder clips, add markers/keywords/titles/transitions, adjust speed, assign roles, reformat timelines, heal issues (fix flash frames, fill gaps, remove silence).
FCPXML QC & Batch Ops: Run comprehensive QC reports, check media links/frame rates/audio/safe zones/duration; batch rename/assign roles/apply transitions.
Project Generation: Create new projects/timelines, auto-generate rough cuts and montages, import SRT/EDL, apply templates.
Cross-NLE Export: Convert to DaVinci Resolve XML, FCP7 XMEML, EDL.
Live FCP Control (opt-in): Open libraries, control playback/navigation/tools, execute menu commands/shortcuts, share/export, discover effects.
Media Analysis (ffprobe): Extract info, detect silence/beats/scenes, analyze loudness, extract thumbnails/audio, transcribe audio to MIDI.
Parametric Puppets: Create rigs from images, build scenes, animate with keyframes or presets (walk, talk, wave), generate multi-scene animations.
Compressor Integration: List settings, dispatch encode jobs.
Transactional Edit Workflow: Prepare, review, commit, or cancel durable edits with secure hashing and atomic commits.
Diagnostics: Verify server readiness and capabilities (fcp_doctor).
This server is ideal for automating editing tasks, quality checks, content generation, and integrating FCP with AI-driven workflows.
Provides tools for controlling Apple Compressor for encoding jobs and sharing to platforms like YouTube via Final Cut Pro's Share command.
Allows exporting FCPXML timelines to DaVinci Resolve-compatible XML for color grading.
Leverages ffprobe/ffmpeg for media analysis including info, loudness, silence detection, scene detection, and thumbnail generation.
Allows sharing timelines directly to YouTube via Final Cut Pro's Share command.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fcp-mcp detect flash frames in the active timeline and fix them"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fcp-mcp — Final Cut Pro MCP Server
Trusted, local, human-approved Final Cut Pro workflows. fcp-mcp inspects, generates, and transactionally edits FCPXML, then optionally hands verified artifacts to Final Cut Pro. The default profile never performs direct live or offline mutation.
This development catalog adds three import-bridge tools to the v0.3.0 baseline across four profiles. It is a bounded FCPXML interchange and tested Final Cut Pro handoff surface—not a claim of complete autonomous Final Cut Pro control. The default workflow is inspect, prepare, review, hash approval, then commit.
You: "Find and repair flash frames in hero.fcpxml."
Claude → fcpxml_detect_flash_frames → fcpxml_workflow_prepare
→ review semantic diff + candidate hash → fcpxml_workflow_commit
Result: the reviewed candidate is atomically committed with durable evidenceStart here:
Project Structure
fcp-mcp/
├── src/fcp_mcp/
│ ├── __init__.py
│ ├── __main__.py # python -m fcp_mcp CLI
│ ├── cli.py # serve, doctor, doctor --json, --version
│ ├── config.py # immutable environment configuration
│ ├── contracts.py # stable errors + structured diagnostics
│ ├── diagnostics.py # non-mutating runtime readiness checks
│ ├── observability.py # text/JSON transaction events
│ ├── server.py # MCP v2 entry and profile-selected handlers
│ ├── tool_metadata.py # MCP safety annotation presets
│ ├── automation/
│ │ └── osascript.py # argv-isolated AppleScript/JXA runner
│ ├── security/
│ │ └── paths.py # allowed-root and output policy
│ ├── fcpxml/
│ │ ├── parser.py # FCPXML → Python object tree
│ │ ├── writer.py # transactional XML mutation/writing
│ │ ├── models.py # TimeValue, Timecode, Clip, Timeline, etc.
│ │ ├── time_utils.py # rational-arithmetic timecode
│ │ ├── analysis.py # pacing, flash frames, gaps, duplicates
│ │ ├── validator.py # DTD-style structural validation
│ │ ├── generator.py # programmatic project/timeline creation
│ │ ├── puppet.py # character puppet system
│ │ ├── diff.py # timeline A/B comparison
│ │ └── transaction.py # validated atomic FCPXML commits
│ ├── fcp_control/ # AppleScript bridge for live FCP control
│ ├── media/
│ │ └── ffprobe.py # ffprobe wrapper for media analysis
│ ├── pipeline/ # multi-step workflows
│ ├── workflow/ # durable prepare, approval, commit, recovery
│ └── utils/
│ ├── atomic_write.py # backup, replace, rollback
│ ├── safe_xml.py # defusedxml hardening
│ └── paths.py # trusted system path helpers
├── tests/ # complete unit + contract suite
├── scripts/ # docs, coverage, and wheel gates
├── docs/
│ ├── README.md # documentation map and status
│ ├── research/ # dated research records
│ └── reviews/ # release evidence and decisions
├── examples/
│ ├── quickstart.py # install verification
│ └── GALLERY.md # workflow gallery with prompts
├── pyproject.toml
├── server.json # MCP Registry manifest
├── LLM_GUIDE.md # operational guide for agents
├── WORKFLOWS.md # production recipes
├── CHANGELOG.md
├── ROADMAP.md
├── CONTRIBUTING.md
└── LICENSERelated MCP server: fcpxml-mcp-server
Setup
Prerequisites
Python 3.10+
macOS 15.6 or later with Final Cut Pro
FFmpeg on
$PATH(formedia_*tools):brew install ffmpegApple Compressor (optional, for
compressor_*tools)
Install
Install the current published release from PyPI:
pipx install fcp-mcpOr from source (for contributors):
git clone https://github.com/dreliq9/fcp-mcp.git
cd fcp-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"Verify
fcp-mcp --version
fcp-mcp doctor
fcp-mcp doctor --json
python examples/quickstart.pydoctor exits 0 when ready, 1 when offline service is usable but
optional capabilities are degraded, and 2 when configuration blocks
required runtime behavior. MCP clients can call the same structured
surface through fcp_doctor.
Connect to Claude Code
claude mcp add-json fcp '{"type":"stdio","command":"fcp-mcp"}' --scope userOr if you installed from source, point at your venv's Python:
claude mcp add-json fcp '{"type":"stdio","command":"/FULL/PATH/TO/.venv/bin/fcp-mcp"}' --scope userOr edit ~/.claude.json directly:
{
"mcpServers": {
"fcp": {
"type": "stdio",
"command": "fcp-mcp"
}
}
}Claude Desktop
Add the same config to your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
Verify connection
claude mcp list # from terminal
/mcp # inside Claude CodeCatalog Profiles
Select a profile with FCP_MCP_PROFILE. The default workflow profile keeps
the inspect → prepare → review → hash approval → commit sequence bounded and
reviewable.
Profile | Tools | Prompts | Resources | Purpose |
| 30 | 2 | 0 | Offline inspection and diagnostics |
| 34 | 3 | 3 | Reviewable transactional FCPXML edits |
| 76 | 5 | 3 | Direct offline mutation, import preparation, and workflows |
| 97 | 5 | 3 | All offline tools and opt-in live FCP, media, and Compressor tools |
The 97 tools include the youtube-mcp.materialized-clip-plan/v1 provenance
adapter, fcpxml_generate_from_clip_plan, in edit and full only. Live FCP
control remains independently disabled unless FCP_MCP_ENABLE_LIVE_CONTROL=1;
choosing full does not grant that authority.
Available Tools (97 in full)
The full catalog combines 96 domain tools across 14 functional categories with
fcp_doctor.
Category | Count | What it does |
inspect | 8 | Parse, list clips/markers/effects/roles, analyze pacing, timeline stats, A/B diff |
qc | 10 | Flash frames, gaps, duplicates, media links, frame rates, audio levels, safe zones, duration, structural validation, aggregate QC report |
edit | 12 | Markers, keywords, titles, audio, transitions, trim, split, delete, reorder, speed, role assign, reformat |
heal | 3 | Fix flash frames, fill gaps, remove silence |
batch | 4 | Markers, rename, role assign, apply transition across many clips |
generate | 5 | New project/timeline, rough cuts, montages, and provenance-preserving clip-plan FCPXML |
templates | 3 | List and save FCPXML templates; |
io | 5 | Import SRT/EDL, export EDL + DaVinci Resolve XML + Premiere FCP7 XMEML |
live | 20 | AppleScript-backed library/events/projects, playback, menu/keyboard, share, and discovery |
import bridge | 3 | Validated destination-bound XML preparation, one approved native request, and metadata reconciliation |
puppet | 7 | Parametric character rigs in FCPXML with motion presets |
media | 10 | ffprobe + ffmpeg info, loudness, silence, beats, scenes, thumbnails, and audio-to-MIDI |
compressor | 2 | List Compressor settings and dispatch encode jobs |
workflow | 4 | Prepare, inspect, hash-approve, commit, or cancel durable edit runs |
Key Features
Three layers in one server
Most FCP MCPs pick a lane. DareDev256/fcpxml-mcp-server is FCPXML-only. elliotttate/finalcutpro-mcp is AppleScript/JXA-heavy with thin FCPXML. fcp-mcp does both — and adds media analysis (ffprobe) and a parametric puppet system on top. An agent can open a library, inspect the active timeline, patch the XML, re-import, trigger Share, and dispatch a Compressor job — end to end.
Rational-arithmetic timecode
Time values are stored as fractions ("720/24s") and only collapsed to
floats at display boundaries. Frame-accurate across 23.976 / 24 / 29.97 /
59.94 / drop-frame — no rounding drift when splitting, trimming, or
concatenating.
Scoped and transactional XML handling
All .fcpxml reads go through defusedxml via utils/safe_xml.py —
XXE, entity expansion, and external entities are blocked by default.
The parser enforces configured XML size and depth limits.
User paths are resolved beneath configured roots after symlink resolution. FCPXML writes are serialized to a secure temporary file beside the destination, structurally validated, backed up when replacing an existing destination, atomically committed, and validated again. The built-in validator checks the invariants it implements; it is not a complete Apple schema validator. Import into a disposable Final Cut Pro project is the authoritative compatibility gate for important outputs. On a release workstation with Final Cut Pro installed, preflight a candidate against the DTD matching its declared FCPXML version:
python scripts/apple_dtd_gate.py path/to/candidate.fcpxmlThis gate reads the DTD from the installed Final Cut Pro application bundle; the project does not copy or redistribute Apple's schema. A passing DTD check does not replace the disposable-project import because Final Cut Pro also checks media and application-level semantics.
fcpxml_assign_role, fcpxml_batch_assign_roles, and their workflow
operations assign audio roles. For an asset-clip, fcp-mcp writes Apple's
audioRole attribute and continues to read legacy role values for
compatibility.
Reviewable transactional edits
The default profile exposes four workflow tools:
fcpxml_workflow_prepare, fcpxml_workflow_status,
fcpxml_workflow_commit, and fcpxml_workflow_cancel.
Prepare runs a fixed, bounded edit graph and stores the candidate, semantic
diff, validation evidence, and event chain beneath the private
FCP_MCP_STATE_DIR. It does not create or change the public destination.
Review the returned summary and diff_uri, then pass the exact returned
candidate_sha256 to commit as expected_candidate_sha256. Client approval
is cryptographically bound to that candidate but is recorded as
client_unverified_human; the server cannot independently prove that a human
approved a chat message.
Three read-only templates expose durable evidence:
fcp-workflow://runs/{run_id},
fcp-workflow://runs/{run_id}/events, and
fcp-workflow://runs/{run_id}/diff. Candidate XML is deliberately private
and is not exposed as a resource. Interrupted commits are assessed from
durable evidence and can be explicitly reconciled with:
fcp-mcp workflow reconcile RUN_ID --jsonThis is a bounded workflow engine, not a generic graph runtime. It does not use MCP Tasks or run background autonomous agents.
Cross-NLE export
Same timeline out to three targets:
fcpxml_export_resolve— DaVinci Resolve-flavored XML (v1.9)fcpxml_export_fcp7— Premiere-compatible XMEML (FCP7 format)fcpxml_export_edl— flat EDL for color-grading and archive pipelines
Parametric character puppets
puppet_* tools build animated character rigs entirely in FCPXML —
no third-party motion templates required. Parts, keyframes, and
presets (walk, talk, wave, multi-character compositions) emit XML for
structural validation followed by a disposable-project FCP import gate.
QC before you cut
fcpxml_qc_report("hero.fcpxml")
→ Markdown validation summary and timeline statistics
→ gaps and flash frames with timecodes
→ duplicate sources
→ pacing distributionMedia links, frame rates, audio levels, safe zones, and target duration
are separate fcpxml_check_* tools. Run the specific checks you need
instead of assuming the aggregate report includes them.
Programmatic XML import bridge
fcpxml_prepare_import(path, library_path) prepares one named event/project
without contacting Final Cut. It requires an existing .fcpbundle, scoped
local media files, and a matching installed Apple DTD. Its private artifact
contains Apple's documented import-options library URL. Media is copied into
private snapshots within FCP_MCP_WORKFLOW_MAX_ARTIFACT_BYTES (aggregate staged
media plus staged XML; default 268,435,456 bytes / 256 MiB per preparation),
and Final Cut is asked to copy assets into its library. Warnings remain visible.
Conflicting embedded destinations are rejected. Factory Motion template UIDs and
matching installed factory locators are supported; external Motion templates and
locator resources are rejected. Media bookmarks are removed in favor of the
reviewed snapshot URLs.
Dispatch uses a separate sealed copy of the reviewed XML, with pinned identities
and hashes for every staged file. The bridge checks these after native preflight.
Files are mode 0400 and snapshot directories 0500; public path tools cannot access
the reserved staging tree. Snapshots are retained for asynchronous reads, including
after metadata observation; there is no automatic cleanup. This consumes disk space.
Retain the entire private import state under FCP_MCP_STATE_DIR/import-bridge,
including snapshots, plans and dispatch records, across requests, reconciliation
and evidence/recovery decisions. Keep the source XML unchanged until dispatch.
Do not delete, move or change permissions on prepared snapshots. Acceptance or
matching metadata does not establish that Final Cut has finished reading them.
Deleting state also removes duplicate-dispatch evidence; its absence does not
authorize another import.
Use a stable private FCP_MCP_STATE_DIR for retained work. Managed workspaces may
normalize directory permissions, invalidating the 0500 seal. Temporary locations
such as /private/tmp can avoid that normalization for a bounded test, but the OS
or another process may remove their contents; they are not a persistent-retention
guarantee. If state, permissions or identities change, stop and investigate;
do not repair permissions or bypass verification to force a send. No cleanup or
state-migration behavior is provided by this bridge.
These controls assume a trusted OS account and installed Final Cut application. They do not isolate against malicious processes running as the same user or root, which can change permissions or replace paths before the app reads them. The three bridge tools reject unknown arguments and require strict schema types.
Review that artifact and target before approving the returned plan_sha256.
With the full profile, live control enabled, and client approval mode,
fcp_request_import(prepared_id, expected_plan_sha256) inspects the exact open
library, blocks existing event names, records intent, and sends one Open Document
AppleEvent. accepted_unverified means the event returned without error;
it does not mean the import completed. Preflight is not atomic with native
processing, so app state can change and Final Cut may still prompt. Apple may
create a library if the target disappears before processing. Native errors/timeouts stay ambiguous,
and recorded requests are never automatically resent. An unresolved request
also blocks another request into that library.
fcp_reconcile_import(prepared_id) reads app metadata and updates private
bookkeeping. metadata_observed establishes only the expected library URL,
event/project identity and duration. It does not verify timeline content or
rendering. Missing, mismatched or unavailable observations require waiting or
manual inspection, without another import. CLI approval mode blocks bridge
dispatch; it is not silently replaced by client approval. XML export and
rendering still depend on Final Cut. The older fcp_import_xml tool is unchanged.
Apple contracts: programmatic import and import options.
Live FCP control
When FCP is running, fcp_* tools wire through AppleScript:
fcp_open_library(...)
fcp_get_timeline_info() → current project, active range, playhead
fcp_playback("play" | "pause" | "goto" | "in_out")
fcp_menu_command("File > Export > Export Using Compressor Settings...")
fcp_keyboard_shortcut("cmd+shift+e")
fcp_share("YouTube — 4K")
fcp_discover_effects() → every installed effect/transition/titleOutput Files
By default, modified FCPXMLs are written next to their input with a
_modified suffix. Override per-call via the output_path parameter,
or set the canonical directory for relative and generated outputs:
export FCP_MCP_OUTPUT_DIR=/your/pathFCP_PROJECTS_DIR remains a legacy fallback when
FCP_MCP_OUTPUT_DIR is unset. Relative input paths resolve beneath the
output directory.
Allow additional input roots with the macOS path separator (:):
export FCP_MCP_ALLOWED_ROOTS="/Users/me/Movies:/Volumes/Media"Absolute and symlink-resolved inputs outside those roots are rejected.
For an input-backed operation, explicit outputs may be beneath the
output directory or the input file's parent. Input and output resolving
to the same file are always rejected. Replacing an existing destination
creates a sibling backup named
<file>.bak.<UTC timestamp>.<transaction UUID>.
Live FCP, Accessibility, and Compressor actions are opt-in:
export FCP_MCP_ENABLE_LIVE_CONTROL=1Leave it unset for offline-only use. Runtime and transaction events use
text by default; set FCP_MCP_LOG_FORMAT=json for JSON lines.
Workflow state defaults to the macOS application-support directory. Override it when isolation is required:
export FCP_MCP_STATE_DIR=/your/private/stateExamples
See the full gallery for tool sequences and workflow breakdowns. Sample prompts:
"Run the structural QC report on hero.fcpxml and fix every reported flash frame."
"Convert these .srt captions into FCPXML title clips on the V2 track."
"Take my assembly-edit XML and re-export it as a DaVinci Resolve XML for color."
"List every clip on the timeline, then batch-assign the 'dialogue' role to all interview clips."
"Open the active library, seek to the first marker, and dispatch a ProRes 422 HQ bounce via Compressor."
"Build a 3-character puppet scene: one walking, one talking, one waving. 5-second timeline."
Architecture
Claude Code / Claude Desktop / any MCP client
│
│ stdio (JSON-RPC)
▼
fcp-mcp server (fcp_mcp/server.py, MCP SDK v2)
│
├── fcpxml/parser + writer + models ← rational-arithmetic, defusedxml-hardened
├── fcpxml/analysis + validator ← QC, pacing, flash frames, gaps
├── fcpxml/generator + puppet ← programmatic timeline construction
├── fcpxml/diff ← A/B timeline comparison
├── workflow/ ← prepare, verify, approve, commit, recover
├── private workflow ledger ← candidates, events, hashes, reconciliation
├── fcp_control/ (AppleScript) ← live FCP when available
├── media/ffprobe ← clip info, loudness, scenes, frames
└── Compressor (CLI dispatch) ← automated encodes
│
▼
.fcpxml (v1.11+) / EDL / DaVinci XML / FCP7 XMEML / ProRes / H.264Troubleshooting
fcp-mcp: command not found — make sure the venv you installed into is on
your PATH, or use the absolute path to the venv's bin/fcp-mcp in your MCP config.
ffmpeg: command not found on media_ calls* — brew install ffmpeg. FFmpeg
is not bundled.
fcp_* tools return "Final Cut Pro is not running" — launch FCP first. Live
tools require an active FCP process on macOS and
FCP_MCP_ENABLE_LIVE_CONTROL=1.
fcp_* tools fail silently on newer FCP versions — FCP's scripting surface is
limited compared to pre-FCPX versions. Menu items and keyboard shortcuts are the
reliable path; some JXA queries are gated behind Accessibility permissions
(System Settings → Privacy & Security → Accessibility → Claude/Terminal).
fcpxml_* tools report structural validation failures — run
fcpxml_validate for the implemented checks. Passing this validator is
not proof of complete Apple/FCP compatibility. Run
python scripts/apple_dtd_gate.py path/to/result.fcpxml on a Mac with
Final Cut Pro installed, then import an important result into a disposable
Final Cut Pro project before relying on it.
path_outside_scope — add the media location to
FCP_MCP_ALLOWED_ROOTS. External volumes are not implicitly trusted.
same_file_forbidden — choose a different output. fcp-mcp never
overwrites its source path, even when the caller supplies it explicitly.
unsupported_contract from fcpxml_apply_template — template
listing and saving remain available, but clip substitution has no stable
schema and remains intentionally unavailable in v0.3.0.
Tests failing on import — activate the venv and reinstall: pip install -e ".[dev]".
Planned Work
See ROADMAP.md for the full plan. Highlights:
MCP Prompts — shipped:
qc-check,youtube-chapters,cleanup,rough-cut,beat-syncProxy/Resolve round-trip — proxy-aware offline/online workflows
Acknowledgments
fcp-mcp was co-developed by Adam Steen and Claude (Anthropic).
License
MIT — see LICENSE.
Available Tools
88 toolscompressor_encodeB
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
Inputs: input_path (required), setting_path, output_dir, batch_name. Returns: result
compressor_list_settingsA
List available Compressor encoding presets.
Inputs: no named parameters. Returns: result
fcp_discover_effectsA
List available FCP effects and transitions by scanning known locations.
Inputs: no named parameters. Returns: result
fcp_export_xmlB
Trigger XML export in FCP via menu automation (requires Accessibility permissions).
Inputs: no named parameters. Returns: result
fcp_get_app_stateA
Get FCP application state — version, frontmost status.
Inputs: no named parameters. Returns: result
fcp_get_eventsA
Get events in a library (or all libraries if name not specified).
Args: library_name: Library name to filter (optional)
Inputs: library_name. Returns: result
fcp_get_librariesA
Get all open libraries in Final Cut Pro (requires FCP to be running).
Inputs: no named parameters. Returns: result
fcp_get_projectsA
Get projects in an event (or all events if name not specified).
Args: event_name: Event name to filter (optional)
Inputs: event_name. Returns: result
fcp_get_timeline_infoA
Get info about the current/first timeline in FCP.
Inputs: no named parameters. Returns: result
fcp_import_xmlB
Import an FCPXML file into Final Cut Pro.
Args: fcpxml_path: Path to .fcpxml file
Inputs: fcpxml_path (required). Returns: result
fcp_is_runningA
Check if Final Cut Pro is currently running.
Inputs: no named parameters. Returns: result
fcp_keyboard_shortcutA
Send a keyboard shortcut to FCP.
Args: keys: Shortcut description like "cmd+c", "cmd+shift+e", "option+w"
Inputs: keys (required). Returns: result
fcp_list_motion_templatesA
List installed Motion templates (titles, transitions, generators, effects).
Inputs: no named parameters. Returns: result
fcp_open_libraryC
Open a FCP library file.
Args: library_path: Path to .fcpbundle file
Inputs: library_path (required). Returns: result
fcp_playbackB
Control FCP playback.
Args: action: "play", "pause", "stop", or "toggle" (space bar)
Inputs: action. Returns: result
fcp_redoA
Redo the last undone action in FCP.
Inputs: no named parameters. Returns: result
fcp_select_toolB
Switch FCP editing tool.
Args: tool: "select" (A), "trim" (T), "position" (P), "range" (R), "blade" (B), "zoom" (Z), "hand" (H)
Inputs: tool. Returns: result
fcp_undoA
Undo the last action in FCP.
Inputs: no named parameters. Returns: result
fcpxml_add_audioA
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
Inputs: path (required), audio_src (required), name, duration, +2 more. Returns: result
fcpxml_add_keywordC
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
Inputs: path (required), clip_name (required), value (required), start, +2 more. Returns: result
fcpxml_add_markerA
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)
Inputs: path (required), clip_name (required), start (required), value (required), +3 more. Returns: result
fcpxml_add_titleB
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
Inputs: path (required), text (required), duration, position, +1 more. Returns: result
fcpxml_add_transitionB
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
Inputs: path (required), after_clip_name (required), duration, name, +1 more. Returns: result
fcpxml_analyze_pacingA
Analyze shot pacing — average/median shot length, distribution histogram.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_apply_templateA
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
Inputs: template_path (required), clips_json (required), project_name, output_path. Returns: result
fcpxml_assign_roleC
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
Inputs: path (required), clip_name (required), role (required), output_path. Returns: result
fcpxml_auto_rough_cutA
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
Inputs: clips_json (required), target_duration, max_clip_duration, transition_duration, +2 more. Returns: result
fcpxml_batch_add_markersA
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)
Inputs: path (required), markers_json (required), output_path. Returns: result
fcpxml_batch_apply_transitionB
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
Inputs: path (required), duration, name, output_path. Returns: result
fcpxml_batch_assign_rolesC
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
Inputs: path (required), rules_json (required), output_path. Returns: result
fcpxml_batch_rename_clipsB
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
Inputs: path (required), pattern (required), replacement (required), output_path. Returns: result
fcpxml_change_speedB
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
Inputs: path (required), clip_name (required), speed_factor (required), output_path. Returns: result
fcpxml_check_audio_levelsB
Flag clips with potential audio issues (volume adjustments, missing audio).
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_check_durationB
Verify the timeline fits a target duration.
Args: path: Path to .fcpxml file target_seconds: Target duration in seconds
Inputs: path (required), target_seconds (required). Returns: result
fcpxml_check_frame_ratesC
Detect mixed frame rate issues in the timeline.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_check_media_linksB
Verify all referenced media files exist on disk.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_check_safe_zonesA
Check for clips with transforms that might push content outside safe zones.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_create_projectB
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/.fcpxml)
Inputs: name, format_name, width, height, +3 more. Returns: result
fcpxml_create_timelineA
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
Inputs: clips_json (required), project_name, format_name, event_name, +1 more. Returns: result
fcpxml_delete_clipsB
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
Inputs: path (required), clip_names_json (required), output_path. Returns: result
fcpxml_detect_duplicatesC
Find clips that use the same source media.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_detect_flash_framesA
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)
Inputs: path (required), max_frames. Returns: result
fcpxml_detect_gapsB
Find all gaps in the timeline.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_diffB
Compare two FCPXML files and show differences.
Args: path_a: Path to first .fcpxml file path_b: Path to second .fcpxml file
Inputs: path_a (required), path_b (required). Returns: result
fcpxml_export_edlB
Export timeline as EDL (Edit Decision List).
Args: path: Path to .fcpxml file output_path: Output .edl file path
Inputs: path (required), output_path. Returns: result
fcpxml_export_fcp7A
Convert FCPXML to FCP7 XML format (compatible with Premiere Pro and Avid).
Args: path: Path to .fcpxml file output_path: Output file path
Inputs: path (required), output_path. Returns: result
fcpxml_export_resolveA
Convert FCPXML to DaVinci Resolve-compatible format (FCPXML v1.9).
Args: path: Path to .fcpxml file output_path: Output file path
Inputs: path (required), output_path. Returns: result
fcpxml_fill_gapsB
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
Inputs: path (required), fill_asset_ref (required), fill_name, output_path. Returns: result
fcpxml_fix_flash_framesA
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
Inputs: path (required), min_frames, frame_duration, output_path. Returns: result
fcpxml_generate_montageB
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
Inputs: clips_json (required), clip_duration, transition_duration, project_name, +1 more. Returns: result
fcpxml_import_edlB
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
Inputs: edl_path (required), media_dir, project_name, output_path. Returns: result
fcpxml_import_srtB
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
Inputs: path (required), srt_path (required), output_path. Returns: result
fcpxml_list_clipsA
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)
Inputs: path (required), project_name. Returns: result
fcpxml_list_effectsB
List all effects and transitions applied to clips.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_list_markersC
List all markers, chapter markers, and keywords across all clips.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_list_rolesB
List all roles and subroles used in the timeline.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_list_templatesA
List available FCPXML template files.
Args: templates_dir: Directory to search (default: FCP_PROJECTS_DIR)
Inputs: templates_dir. Returns: result
fcpxml_parseB
Parse an FCPXML file and return a structure summary.
Args: path: Path to .fcpxml file (absolute or relative to FCP_PROJECTS_DIR)
Inputs: path (required). Returns: result
fcpxml_qc_reportA
Generate a comprehensive quality check report for the timeline.
Checks: validation, gaps, flash frames, duplicates, pacing.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_reformatB
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
Inputs: path (required), target_width, target_height, target_format_name, +1 more. Returns: result
fcpxml_remove_silenceC
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
Inputs: path (required), silence_threshold_seconds, output_path. Returns: result
fcpxml_reorder_clipsB
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
Inputs: path (required), clip_names_json (required), output_path. Returns: result
fcpxml_save_templateA
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)
Inputs: path (required), template_name (required), output_dir. Returns: result
fcpxml_split_clipA
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
Inputs: path (required), clip_name (required), split_at (required), output_path. Returns: result
fcpxml_timeline_statsB
Get comprehensive timeline statistics — duration, clip count, resolution, pacing, etc.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
fcpxml_trim_clipC
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
Inputs: path (required), clip_name (required), new_start, new_duration, +1 more. Returns: result
fcpxml_validateC
Validate FCPXML structure and report errors/warnings.
Args: path: Path to .fcpxml file
Inputs: path (required). Returns: result
media_audio_to_midiA
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)
Inputs: path (required), output_path. Returns: result
media_detect_beatsB
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
Inputs: path (required). Returns: result
media_detect_silenceB
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
Inputs: path (required), noise_threshold, min_duration. Returns: result
media_extract_audioA
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)
Inputs: path (required), output_path, format. Returns: result
media_extract_thumbnailB
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
Inputs: path (required), time, output_path, width. Returns: result
media_extract_thumbnailsB
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
Inputs: path (required), interval, output_dir, width. Returns: result
media_infoA
Get detailed media file info (codec, resolution, duration, bitrate, etc.).
Args: path: Path to media file
Inputs: path (required). Returns: result
media_list_streamsB
List all audio, video, and subtitle streams in a media file.
Args: path: Path to media file
Inputs: path (required). Returns: result
media_loudnessA
Analyze audio loudness (EBU R128 / LUFS).
Returns integrated loudness, loudness range, and true peak.
Args: path: Path to audio/video file
Inputs: path (required). Returns: result
media_scene_detectA
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)
Inputs: path (required), threshold. Returns: result
puppet_animateA
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"} ] }, { "part": "left_arm", "property": "rotation", "keyframes": [ {"time": "0s", "value": 0}, {"time": "150150/30000s", "value": 45}, {"time": "300300/30000s", "value": 0} ] } ] property: "position" (value=[x,y]), "rotation" (value=degrees), "scale" (value=[sx,sy]) interp: "smooth2" (default, ease), "linear", "hold" duration: Scene duration project_name: Project name output_path: Where to save
Inputs: rigs_json (required), animations_json (required), duration, project_name, +1 more. Returns: result
puppet_build_sceneA
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)
Inputs: rigs_json (required), duration, project_name, output_path. Returns: result
puppet_create_humanoid_rigA
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
Inputs: name (required), image_dir (required), position_x, position_y, +1 more. Returns: result
puppet_create_rigA
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, "rotation": 0, "anchor": [0, -50], "z_order": 5 }, ... ] } - position: [x, y] offset from character center (y-positive = up) - anchor: pivot point for rotation - z_order: higher = in front
Returns: JSON summary of the rig (use this to verify before building a scene).
Inputs: rig_json (required). Returns: result
puppet_list_presetsA
List all available puppet animation presets with descriptions.
Returns details on each preset, what body parts it uses, and what parameters it accepts.
Inputs: no named parameters. Returns: result
puppet_multi_sceneA
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 project name (scenes get suffixed) output_path: Output directory (default: ~/Movies/)
Inputs: rigs_json (required), scenes_json (required), project_name, output_path. Returns: result
puppet_preset_motionA
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 motion amplitude (0.5 = subtle, 2.0 = exaggerated)
Inputs: rig_json (required), preset, duration, project_name, +3 more. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 88 tools
Tools are well-separated by prefixes (fcp_, fcpxml_, media_, puppet_, compressor_) and each has a distinct purpose. Some potential overlap exists between fcpxml_auto_rough_cut and fcpxml_create_timeline or between various detection and checking tools, but descriptions clarify differences.
All tools follow a consistent prefix_snake_case pattern. Verbs are standardized (e.g., list_, create_, detect_, check_, export_, import_) and naming conventions are uniform across the entire set.
88 tools is a large set, but it covers multiple domains (FCP control, FCPXML, media analysis, puppet animation, Compressor). Each subdomain is reasonably scoped, though the overall count borders on heavy and could be overwhelming for an agent.
The tool surface is extremely comprehensive for video editing workflows: full FCP control, extensive FCPXML manipulation (CRUD, export/import, QC, templates), media analysis, and even puppet animation. There are no obvious gaps for the stated purpose.
Maintenance
Related MCP Connectors
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
MCP server for progressive tool usage at any scale (see https://klavis.ai)
One MCP server for all your MCP servers: code mode, per-tool permissions, approvals and audit.
Related MCP Servers
- FlicenseCqualityDmaintenanceEnables comprehensive remote control and automation of Final Cut Pro through 99 tools covering timeline editing, project management, and AI-powered features. It facilitates complex workflows including media organization, color grading, and FCPXML generation using AppleScript and JXA automation.10019-
- AlicenseAqualityAmaintenanceThe first MCP server for Final Cut Pro. 53 tools that parse, edit, and generate FCPXML timelines via natural language. Health checks, flash frame detection, chapter markers, rough cuts, NLE export. 912 tests, MIT licensed.151,800 PyPI157MIT
- AlicenseNot gradedqualityCmaintenanceComprehensive MCP server for DaVinci Resolve with 295+ tools to control projects, timelines, editing, color grading, rendering, and more via natural language.113 PyPI7MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that exposes the complete DaVinci Resolve scripting API, enabling AI assistants to control DaVinci Resolve programmatically with over 440 tools for project management, timeline editing, color grading, rendering, and more.28MIT