CutSmith
Integrates with Final Cut Pro via FCPXML and AppleScript, enabling timeline analysis, rough-cut assembly, glitch detection/fixing, FCP XML import/export, and DTD validation against Apple's FCPXML schema.
Uses ffmpeg audio analysis for silence detection and loudness measurement, supporting silence removal, loudness normalization, and gain correction when assembling Final Cut Pro timelines.
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., "@CutSmith build a rough cut from yesterday's guest track, normalize to -16 LUFS"
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.
CutSmith
Workflow-level MCP server for Final Cut Pro. Lets any MCP-capable LLM (Claude, Hermes, Cursor, …) assemble rough cuts, clean up edit artifacts, distribute captions, and QC timelines — on stock Final Cut Pro, no patched builds or kernel injection.
The idea is not "another wrapper around FCP menus" (see Prior art). The primitive tools already exist; CutSmith sits a level above: it does the workflows that turn raw recordings into a finished timeline, built directly on Apple's FCPXML interchange format and ffmpeg audio analysis.
Phase 1 focuses on the four pain points podcast/video editors complain about most: per-source sync drift, invisible loudness decisions, glitch frames left by silence removal, and captioning. Each maps to a tool below.
Tools (9)
Tool | What it does |
| Parse any |
| Find micro-clip flash frames (clips shorter than N frames), unintended gaps, overlaps |
| ffmpeg |
| ffmpeg |
| The core builder: kept regions + per-source sync offsets + measured gain corrections + SRT captions → a new FCPXML project. Originals are never modified |
| SRT/VTT → FCPXML-caption preview, with N-word chunking for social-style captions |
| Probe whether Final Cut Pro is running and scriptable on this Mac |
| Open a generated |
| Ask FCP to export the front project as XML |
| Certify an |
| One call: ffprobe → silencedetect → kept regions (padded, frame-snapped) → loudness-normalized NEW project |
| Drop or absorb micro-clips in a NEW file; refuses to flatten nested structures unless forced |
| Speech-informed music ducking plan with explicit dials (duckVolume / padding / threshold); output feeds |
All tools page or cap their output, so hour-long episodes analyze without flooding model context. Every generated file in the test suite validates against Apple's official FCPXML v1.11 DTD.
Related MCP server: fcp-mcp-server
The sync-offset fix
Riverside/podcast recordings drift per guest. Instead of manually nudging clips every
session, CutSmith turns the fix into data: each asset carries a syncOffsetSecs, and
assemble_rough_cut applies it mathematically to every in-point. Set it once per guest.
Why not inject into FCP?
Bottom line: splice-in works in other tools; here it is out of scope. CutSmith only reads and writes documented, forward-compatible formats (FCPXML 1.11) plus AppleScript that Apple ships. It cannot break your libraries or get your FCP version bricked by an macOS update — a real consideration for production machines.
Install
Requirements: macOS, Node 18+, Final Cut Pro 10.6+ (only for the FCP roundtrip tools; analysis/assembly work without it), ffmpeg on PATH (audio tools).
git clone https://github.com/msfbeast/cutsmith.git
cd cutsmith
npm install && npm run build
npm test && npm run smoke # 20 unit tests + 8 end-to-end checksClaude Desktop
~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"cutsmith": {
"command": "node",
"args": ["/absolute/path/to/cutsmith/dist/index.js"]
}
}
}Claude Code
claude mcp add cutsmith -- node /absolute/path/to/cutsmith/dist/index.jsHermes Agent (~/.hermes/config.yaml)
mcp_servers:
cutsmith:
command: "node"
args: ["/absolute/path/to/cutsmith/dist/index.js"]Example flow
You: "Here are yesterday's Riverside files for Ep 43. Build a rough cut."
LLM: analyze_silence on each guest track
→ assemble_rough_cut with keptRegions you approve, syncOffset for the
cohost, targetLufs -16 with normalize: true
→ import_xml_into_fcp
→ detect_glitches on the import, fix, re-import
You: review the timeline in FCP, tweak, ship.Roundtrip notes
FCP's AppleScript dictionary is limited. XML export timing varies by FCP version —
export_project_xml does its best via AppleScript and falls back with instructions
(File > Export XML… → re-run analyze_timeline on the file). Import of generated XML
is reliable: File > Import XML… or import_xml_into_fcp. Read
FCPXML on Apple's docs for the format.
Prior art
SpliceKit — the deepest FCP MCP (~200 tools via ObjC runtime, requires patched FCP build)
fcp-mcp — 30 safe FCPXML/QC/roundtrip tools
CutSmith is the workflow layer: assemble-from-scratch, audio-measured gain, sync offsets, caption chunking — with tests that verify the actual written timelines.
Verifying on a FCP machine
The whole run is one command — every check that can only pass with Final Cut Pro present:
node test/acceptance.mjsexit
10+ install instructions → FCP missing/unusable (nothing else tested)PASS list + exit
0→ AppleScript roundtrip live, DTD-certified project imported into real FCP
The 90-day free FCP trial (Mac App Store) is enough; remove it after testing if you don't own it.
Manual depth-checks after a pass:
npm install && npm run build && npm test && npm run smoke— all 20 unit tests + 12 smoke checks must pass.Launch FCP once by hand first (first-run dialogs out of the way); grant macOS Automation permission when the acceptance run asks.
In FCP, confirm the imported event ("Cutsmith Acceptance"): clips land, titles render, audio present.
validate_dtdon any FCP-exported XML — must pass both ways.
Known limitations (read before trusting it with a master timeline)
Roundtripping complex timelines is lossy. The parser reads compound clips, attached audio sub-clips and effect payloads raw; the generator writes flat spines. Analyze-and-assemble-new is the safe path; in-place regeneration of an editor's intricate project will flatten structure (tools warn and refuse unless
force=true).Captions ship as Basic Text titles (universal), not native
<caption>elements; word timings in chunked captions are evenly distributed, not word-accurate.Volume ducking is stepped per region (FCPXML has no editable crossfade automation in 1.11); keep duck levels moderate.
Drop-frame timecode (29.97 DF) and >2-channel audio layouts are not yet mapped.
import_xml_into_fcp/export_project_xmlbehavior varies across FCP versions; validated import path is FCP's own File > Import XML. Apple's DTD ships inside FCP and cannot be redistributed here.
Credits
DTD verification uses Apple's FCPXML DTDs, discovered at runtime from your FCP install; the DTD forms matched against OpenFCPXMLKit's published copies during development.
License
MIT
Available Tools
13 toolsanalyze_silenceB
Detect silence regions in a media file using ffmpeg silencedetect. Returns segment timecodes in source seconds plus total silence — the raw material for a silence-removed rough cut.
Inputs: mediaPath (required), noise, minDuration.
analyze_timelineA
Parse a Final Cut Pro FCPXML file and return a compact timeline summary: resolution, fps, project duration, every spine clip (kind, name, offset, in-point, duration, lane), markers and caption counts. Use this FIRST to understand any timeline before editing it.
Inputs: fcpxmlPath (required), page, pageSize.
assemble_rough_cutA
Build a new FCPXML project from a clip list and write it to disk. This is the main "edit assembly" surface: pick the source files, give kept regions (source in-points, durations), optional silence-removal from ffmpeg analysis, per-source sync offsets, gain corrections, titles and SRT captions. Output is a NEW .fcpxml file — originals are never modified. Import it into Final Cut Pro via File > Import XML (or the import_xml tool if FCP is running on this machine).
Inputs: assets (required), outputPath (required), keptRegions (required), fps, +6 more.
check_fcp_availableA
Check whether Final Cut Pro is installed and scriptable on this Mac (AppleScript probe).
Inputs: no named parameters.
convert_srt_to_captionsA
Parse an SRT/VTT file and return FCPXML-ready caption timings (snapped to your project fps). Preview before assembly; the same parser backs captionsSrtPath in assemble_rough_cut.
Inputs: srtPath (required), fps, wordsPerTitle.
detect_glitchesA
Scan a parsed timeline for edit artifacts: micro-clip glitches (clips shorter than minFrames, the "few frames long" flash cuts silence-removal leaves behind), unintended gaps (black frames), and overlaps. Returns artifacts with exact timecodes; feed them to apply_edits or fix manually.
Inputs: fcpxmlPath (required), minFrames.
export_project_xmlB
Ask Final Cut Pro to export the currently open project as FCPXML via AppleScript (equivalent of File > Export XML; FCP's dictionary is read-only, so exact export naming depends on FCP version — use GUI hand-off if this fails).
Inputs: outputPath (required).
fix_glitchesA
Repair detected edit artifacts in an FCPXML: removes micro-clip flash frames (strategy "drop") or extends the previous clip over them (strategy "absorb"). Writes a NEW file — the original is never touched. Refuses non-linear timelines (compound clips, nested stories, attached effect clips) unless force=true, because regeneration flattens those structures.
Inputs: fcpxmlPath (required), outputPath (required), force, strategy, +1 more.
import_xml_into_fcpA
Open an .fcpxml in Final Cut Pro (equivalent to double-clicking it / File > Import XML). FCP imports it as a new event named after the file. Non-destructive: it never touches existing libraries.
Inputs: fcpxmlPath (required).
measure_loudnessC
Measure integrated loudness (LUFS) and true peak of a media file with ffmpeg loudnorm, and compute the linear gain needed for a target, e.g. -16 LUFS (platform standard) — the dialable, explicit alternative to black-box audio "enhancement".
Inputs: mediaPath (required), targetLufs.
plan_duckingA
Compute a music-ducking plan: analyze when the voice track is active and return music regions with per-region volume levels (ducked under speech, full between speech). The plan is a list of {inSecs, outSecs, volume} cut regions you feed to assemble_rough_cut as the music asset's keptRegions (one per region, same in/out, different volume). Explicit dials: duckVolume, threshold, padding — no hidden "auto enhance".
Inputs: voiceMediaPath (required), musicDurationSecs (required), duckVolume, fullVolume, +3 more.
remove_silencesB
Analyze a talking-head/interview file for silence, then build a NEW FCPXML project containing only the kept (spoken) regions, padded, frame-snapped, optionally loudness-normalized. This is the complete silence-removal workflow in one call. Feed captions via captionsSrtPath if you have them.
Inputs: mediaPath (required), outputPath (required), fps, noise, +6 more.
validate_dtdA
Validate an .fcpxml against Apple's official FCPXML DTD using xmllint. The DTD is auto-discovered inside your Final Cut Pro install (redistribution is not permitted), or set the CUTSMITH_DTD environment variable to a local copy. This is the strongest correctness check available: if a generated timeline passes this, FCP will import it.
Inputs: fcpxmlPath (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target a clear resource+action pair (analyze_timeline, detect_glitches, fix_glitches, measure_loudness, plan_ducking), and the detect/fix split is well delineated. The main overlap is remove_silences, which is effectively a one-call fusion of analyze_silence + assemble_rough_cut, so an agent must decide between the convenience wrapper and the composable primitives; descriptions help but don't eliminate the choice.
Thirteen snake_case names, nearly all verb_noun (analyze_timeline, detect_glitches, assemble_rough_cut, measure_loudness). Minor deviations like validate_dtd and plan_ducking (verb + gerund) and import_xml_into_fcp (extra prepositional phrase) are still readable and predictable.
13 tools sits squarely in the well-scoped range, and each one maps to a distinct stage of the FCPXML editing pipeline: analysis, planning, assembly, repair, and FCP hand-off/validation. No obvious filler tools.
Strong lifecycle coverage: inspect timeline, detect/repair artifacts, analyze silence and loudness, build new projects, handle captions, and integrate with Final Cut Pro plus DTD validation. However, detect_glitches explicitly tells agents to 'feed them to apply_edits,' a tool that does not exist in this set, and there is no general-purpose edit/trim tool for an existing timeline beyond glitch repair — a real dead-end an agent can hit.
Maintenance
Related MCP Connectors
AI video editor for agents and humans: timeline, captions, color, audio and generation as MCP tools.
AI video editor over MCP: 280+ captions, 9:16 reframe, B-roll, podcast sync, VFX, cloud MP4 export.
The agentic video editor for ChatGPT and Claude. Ask in your chat and it cuts, captions, adds music, titles and motion graphics on a real timeline you can open and adjust.
Autonomous AI video editor over MCP: viral clips, captions, reframe, chroma key, MP4 export.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables Claude to read, edit, and generate real Final Cut Pro timelines through FCPXML, covering cut detection, markers, role assignment, silence removal, keyframes, speed ramps, and transcript-based editing, with journaled undo, sha256 verification, and a push straight into a running Final Cut Pro. Timelines can be rendered inline as rational-time JSON so every write is visible as it happens, and cross-NLE export is supported.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude and other MCP clients to read, edit, and generate real Final Cut Pro timelines from FCPXML, including cut detection, markers, roles, silence removal, transcript-based editing, cross-NLE export, and pushing changes into a running Final Cut Pro. Every write is journaled and undoable, with validation and safety checks for reliable timeline edits.-
- FlicenseNot gradedqualityAmaintenanceEnables an MCP client like Claude to read, edit, and generate real Final Cut Pro timelines from exported FCPXML, covering cut and flash-frame detection, silence and gap removal, markers, keyframes, speed ramps, transcript-based editing, cross-NLE export, and pushing the result into a running Final Cut Pro. Every write is journaled with its sha256 so changes can be undone and unreviewed cuts refused.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude and other MCP clients to read, edit, and generate real Final Cut Pro timelines from exported FCPXML: cut detection, silence and flash-frame removal, markers from transcripts and beats, role assignment, rough cuts, keyframes, speed ramps, and cross-NLE export, with every write journaled, hash-verified, and undoable. It can also push a generated timeline straight into a running Final Cut Pro via Apple's Open Document event, so edits can be reviewed and re-imported without manual XML handling.-