fcpxml-mcp-server is an MCP (Model Context Protocol) server for working with Final Cut Pro's FCPXML timelines. It enables AI clients such as Claude to read, edit, and generate real timelines, including clip detection, markers, role assignment, and transcript-based editing. The project is published on PyPI under the name fcp-mcp-server.
Purpose
The core idea of this tool is: export XML from Final Cut Pro, let AI handle batch, tedious editing tasks, then import the modified XML back into Final Cut Pro. All changes are non-destructive, and the original files are not modified. It is suited for work that is time-consuming to do manually, such as counting edit points, extracting chapter markers one by one, finding flash frames frame by frame, and building a rough cut clip by clip.
Main capabilities
- View timelines: the view tool returns timelines as precise rational-number time JSON, and hosts that support MCP Apps can inline-render lanes, thumbnails, markers, transcript words, the playhead, and more.
- Edit timelines: provides 15 grouped tools and 102 operations, covering trimming, splitting, silence removal, transcript-based and beat-based markers, rough cuts, keyframes and speed ramps, transcript editing, cross-NLE export, and pushing to a running Final Cut Pro.
- Trustworthy operations: every write is logged with a sha256 and can be undone; deliver rejects unreviewed edits; expected_sha256 rejects files that changed while the model was processing them; generation operations use quote-first, confirm-later, with a per-call cap.
- Security: includes 182 adversarial input security tests, uses defusedxml throughout, sandboxed writes, no private APIs, and provides a disclosure channel.
- Keyframes and speed curves: the inspect and edit groups include five video/audio animation operations and three speed curve operations, which can be imported into Final Cut Pro 12.4 without warnings.
- Media intelligence and transcript editing: supports beat detection and local Whisper-based transcript editing.
- Live Mode (macOS): can push FCPXML directly to a running Final Cut Pro without re-importing XML, using Apple's official Open Document events, without patching binaries, using private APIs, or using accessibility scripts.
- Preview: preview:// resources and preview_timeline can render timelines; preview_check generates filmstrips and audio waveforms sampled from source media to confirm whether edits are correct.
- Generative fill: the gen tool can fill gaps, add B-roll, or extend clips, using a fixed order of quote first, confirm second, then insert, with a per-call cost cap.
How to use
- Export XML from Final Cut Pro (File → Export XML…), open the MCP client, and let the AI process the timeline.
- Installation methods include: Claude Code (fastest), project-level .mcp.json, a configuration with media intelligence and transcript editing, the Claude Desktop configuration file, or installing from source.
- Calls use a grouped form: the tool name is the group name, and the operation goes in action, for example {"action": "trim_clip", "args": {...}}. By default, 15 grouped verbs are shown to Claude instead of 102 flat tool names.
- By setting an environment variable, you can show both 71 flat schemas and 15 groups, for a total of 86 tools.
- After processing is complete, import the modified XML back into Final Cut Pro (File → Import → XML).
Suitable scenarios
- Music videos and connected clips: snap_to_beats and detect_flash_frames can handle timelines based on an audio bed, with visual elements hung on lanes as connected clips.
- Batch operations: health checks, flash frame detection, chapter markers, rough cuts, cross-NLE export, and reformatting.
- Scenarios that require no patching, can survive FCP updates, and can be trusted to process client libraries.
Limitations
- It is not a plug-in and does not run inside Final Cut Pro.
- It is not suitable for creative decisions; color, composition, and motion still require human judgment.
- Apple makes import scriptable, but does not provide programmatic export; to retrieve the current timeline, you still need to manually perform File > Export XML.
- Live Mode is macOS-only, and first use triggers a one-time macOS automation permission prompt.
- Provider pricing for generative fill is unverified, and runway and luma's video-to-video features are quoted but not implemented.
- Some operations (such as reorder_clips, rapid_trim, fix_flash_frames, fill_gaps) only support the main storyline.
- The MCP Apps inline timeline cannot advertise extension capabilities under mcp 1.x, and requires mcp 2.x to complete the handshake.