filmcraft-edit
Provides optional fallback media conversion and execution tools ([ffmpeg](/mcp/integrations/ffmpeg)_convert and ffmpeg_run) for operations FilmCraft cannot handle, using a configured FFmpeg binary.
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., "@filmcraft-edit Create ~/Movies/demo.fcproj, import intro.mp4, trim to 0-10s, add title, render demo.mp4"
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.
filmcraft-mcp
An MCP server that lets Claude edit video through FilmCraft, the open-source Rust editor modelled on Premiere Pro. Claude can create projects, import media, cut, trim, frame, grade, keyframe, fade, add transitions, titles and markers, and render an mp4. It edits a .fcproj file headless, or drives the FilmCraft desktop app live so you watch every edit land in its window.
How it drives FilmCraft (and why)
FilmCraft ships filmcraft-cli, a headless engine that runs the same 650+ commands as the GUI (exec, run, inspect, export, render, probe). This server uses that CLI (route a: an existing headless mode):
Project file = source of truth. Each tool call runs
filmcraft-cli --project p.fcproj --save exec <command> <json>. The edit lands in the.fcprojfile at once, so you can open, inspect or hand off the project at any point. The CLI holds an OS lock while it saves, so concurrent calls don't lose edits.Or the live app. After
connect_app, the same tools send their commands to a running FilmCraft window through the CLI's control bridge (filmcraft-cli --bridge 127.0.0.1:PORT), so edits appear in the app as they happen. Save withsave_project.Export is native. FilmCraft has its own H.264 / AAC encoder, plus ProRes, DNxHR, GIF, PNG and WAV. ffmpeg is not needed to render.
Why not FilmCraft's own MCP server?
filmcraft-cli mcpexists and exposes generic tools (command_run,sequence_inspect, …). It holds the project in memory, though, and you have to save explicitly. You also have to know command ids and the tick time base (254,016,000,000 ticks per second). This server adds editor-level tools that take times in seconds and save on every call. The generic route is still available throughrun_command/run_batch.
Routes considered:
(b) writing
.fcprojJSON directly works (schema v17, documented in FilmCraft'sdocs/project-files.md), but it is brittle compared with the engine's own commands.(c) patching FilmCraft wasn't needed.
Related MCP server: fcp-mcp-server
Install as a Claude Code plugin (MCP server + skills)
The repo is also a Claude Code plugin: one install gives you the MCP server and the editing skills below. You still need the FilmCraft CLI (step 1 of Setup) and, to watch edits live, the desktop app.
/plugin install filmcraft --marketplace kanishk-gangwar/filmcraft-mcpOn older Claude Code: /plugin marketplace add kanishk-gangwar/filmcraft-mcp, then
/plugin install filmcraft@filmcraft-mcp. Claude Code asks for the full path to filmcraft-cli
(change it later with claude plugin configure filmcraft@filmcraft-mcp). Restart Claude Code after
installing.
Skills
Skill | What it does |
| The whole job: footage + a reference reel (or just a song) → a beat-synced montage that copies the reference's cuts, music, transitions, intro and colour, built live in FilmCraft. Plans the cut as a JSON file ( |
| Takes a reference video apart: every frame, exact cut frames, flash and light-leak frames, contact sheets of each section. |
| Samples and scores every clip (sharpness, shake, exposure, colour), review sheets with the landscape slice of portrait clips, best window per clip |
| Measures shadows / midtones / highlights / saturation of the reference and the edit and says which way to move; per-shot looks by light |
| Animated title made of photos (one per stroke, snapping in), letter shapes traced pixel for pixel from the reference or set in a font, clean anti-aliased edges |
| Decodes the render and reports frozen stretches, black gaps, hard cuts to black, a static intro, duration, bitrate and audio |
| How to use the tools well: live mode, framing portrait footage, effects, keyframes, fades, baking image sequences, render quality |
Ask in plain words ("edit the clips in ~/Videos/goa like this reel", "check this render") and Claude
picks the skill, or call one directly, e.g. /filmcraft:recap-edit. The skill scripts need Python 3
with Pillow (pip install pillow).
Setup
Works on macOS, Windows and Linux. You need:
Node 18+
Claude Code
the FilmCraft CLI (
filmcraft-cli)optionally, the FilmCraft desktop app, to open and watch the projects Claude edits
No Rust, Homebrew or ffmpeg is needed.
1. Get the FilmCraft CLI
Downloads are on the FilmCraft releases page. These steps were tested with v0.17.1.
OS | Where the CLI comes from |
macOS | The separate |
Windows | Installed with the app (MSI): |
Linux | Installed with the |
On macOS, for example:
mkdir -p ~/filmcraft-cli && cd ~/filmcraft-cli && curl -LO https://github.com/storytold/filmcraft/releases/download/v0.17.1/filmcraft-cli-0.17.1-macos-universal.zip && unzip -j filmcraft-cli-0.17.1-macos-universal.zip~/filmcraft-cli/filmcraft-cli --versionThe server looks for the CLI at $FILMCRAFT_CLI, then bin/filmcraft-cli inside this package, then filmcraft-cli on PATH.
2. Register the server with Claude Code
Option A: straight from GitHub (recommended, no clone). npx downloads and builds the server. The first start on a machine takes about 30 s; later starts are instant.
claude mcp add --scope user filmcraft-edit -e FILMCRAFT_CLI=$HOME/filmcraft-cli/filmcraft-cli -- npx -y github:kanishk-gangwar/filmcraft-mcpOn Windows, set FILMCRAFT_CLI to the full path of filmcraft-cli.exe.
Option B: from a clone (to change the code, or to run the demo):
git clone https://github.com/kanishk-gangwar/filmcraft-mcp.git && cd filmcraft-mcp && npm installnpm install also builds dist/. Then run:
claude mcp add --scope user filmcraft-edit -e FILMCRAFT_CLI=$HOME/filmcraft-cli/filmcraft-cli -- node $PWD/dist/index.jsEither command writes an entry like this to ~/.claude.json:
"filmcraft-edit": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:kanishk-gangwar/filmcraft-mcp"],
"env": { "FILMCRAFT_CLI": "/Users/<you>/filmcraft-cli/filmcraft-cli" }
}To share the server with everyone working in one project, put the same block under mcpServers in that project's .mcp.json. Optional: set FFMPEG_PATH (or install ffmpeg) for the ffmpeg_* tools.
3. Check it works
claude mcp listYou should see filmcraft-edit: … ✔ Connected. Then ask Claude something like "Create a FilmCraft project at ~/Movies/test.fcproj, import ~/Movies/clip.mp4, keep 0–5 s and 10–15 s with a dissolve between them, and render ~/Movies/cut.mp4."
4. See the edit in FilmCraft (optional)
Install the desktop app from the same releases page:
OS | Package |
macOS |
|
Windows |
|
Linux | AppImage, Flatpak, |
Open the .fcproj Claude wrote (on macOS: open -a FilmCraft path/to/project.fcproj), or let Claude drive the app live:
5. Watch Claude edit live (optional)
Ask Claude to call connect_app (or say "edit it live in FilmCraft"). The server:
launches a new FilmCraft window listening on a control port (default 7878), sharing a fresh
FILMCRAFT_CONTROL_TOKENwith it. A FilmCraft window you already have open is left alone.sends every later tool call to that window. Tools called without
project, or with the project the app has open, edit the app; tools given another project file still edit that file headless.saves only when asked (
save_project).
To attach to an app you started yourself instead, run it as FILMCRAFT_CONTROL_TOKEN=<64 hex chars> filmcraft --control 7878 and pass the same token (or set FILMCRAFT_CONTROL_TOKEN for the server) with launch: false.
The server finds the app at $FILMCRAFT_APP, else FilmCraft (macOS, via open -n -a), %LOCALAPPDATA%\Programs\ArtCraft\FilmCraft\FilmCraft.exe (Windows) or filmcraft on PATH (Linux).
Tools
Times are in seconds. Clip ids come from list_timeline and item ids from import_media / inspect_project. Every editing tool saves the project file; in live mode the app holds the edits until save_project. project is optional on every editing tool once connect_app has run.
Project & media
Tool | What it does |
| New |
| Import video, audio, stills, image sequences, or EDL / FCP7 XML / FCPXML / OTIO / AAF timelines. |
| Bins and items with ids, types, durations |
| Codec, size, rate, streams of a file, plus a summary: seconds, width, height, fps, portrait |
Editing
Tool | What it does |
| Place an item: |
| Move a clip's in or out edge by |
| Razor at a time (all tracks, one track, or one clip) |
| Lift or ripple-delete clips |
| Move a clip (with linked audio) in time or to another track |
| Speed in percent, reverse, and |
| Video or audio transition at a clip edge, with transition |
| Title (graphic clip) with size, position, alignment, colour, font, track |
| Sequence marker with name, comment, colour, duration |
Look & framing
Tool | What it does |
| Frame a clip: |
| Add an effect (Lumetri, denoise, blur, keying…) to clips and set its parameters |
| Set any effect parameter by name, or keyframe it at a timeline time (motion scale/position, opacity and blend mode, Lumetri curves…) |
| Fade a clip in from / out to black with opacity keyframes (reliable at the end of a sequence); Constant Power for audio clips |
Looking & output
Tool | What it does |
| Compact timeline: tracks, clips with their added effects, transitions, markers ( |
| Stills from a source item (to pick moments) or the Program, at given times or every N seconds |
| One Program frame as an image, to check the edit |
| Export to mp4 / mov / gif / png / wav… with preset, format, range, scale, |
| FCP7 XML / FCPXML / OTIO / EDL / AAF / OMF for Premiere, Resolve and others |
Live app
Tool | What it does |
| Launch or attach to a FilmCraft window and edit it live from then on; can |
| Whether the server is driving the app, and the project it has open |
| Save the app's project (or Save As a path) |
| Go back to editing project files |
Escape hatches
Tool | What it does |
| Search FilmCraft's engine commands |
| Run any engine command (captions, audio mix, graphics…) |
| Several engine commands in one process (or one bridge call), saved once |
| Fallback for what FilmCraft can't do (needs ffmpeg) |
Demo (verified)
export FILMCRAFT_CLI=$HOME/filmcraft-cli/filmcraft-cli # wherever step 1 put it
python3 scripts/make_sample.py samples # 6 s numbered colour frames + beeps (Pillow)
# build samples/sample.mp4 with FilmCraft itself (no ffmpeg):
B=$FILMCRAFT_CLI; S=$PWD/samples # run from a clone (Option B)
printf '%s\n' '{"id":"file.newProject","params":{"name":"Master"}}' '{"id":"file.newSequence","params":{"name":"Master","width":640,"height":360,"fps":30}}' | $B --save-as $S/master.fcproj run -
$B --project $S/master.fcproj --save exec file.import "{\"paths\":[\"$S/frames/f000.png\"],\"imageSequence\":true}"
$B --project $S/master.fcproj --save exec file.import "{\"paths\":[\"$S/tone.wav\"]}"
$B --project $S/master.fcproj --save exec timeline.place item=8 track=V1 time=0
$B --project $S/master.fcproj --save exec timeline.place item=9 track=A1 time=0
$B --project $S/master.fcproj export $S/sample.mp4 --range entire
node scripts/demo.mjs samples # the edit, through the MCP serverscripts/demo.mjs connects to the server as an MCP client and runs these steps:
Creates
demo.fcproj(640×360, 30 fps) and importssample.mp4.Places source 0–3 s and 4–6 s back to back, cutting out second 4.
Ripple-trims the first clip's out edge by 0.5 s.
Adds a 10-frame Cross Dissolve at the cut.
Adds a centred title on V2 for 0–2 s and a green marker at the cut.
Renders
demo.mp4(4.5 s, H.264 High + AAC, 135 frames, about 0.3 s to encode), a PNG frame, anddemo.xml(FCP7 XML).
Open samples/demo.fcproj in the FilmCraft app (0.17.1) to see the edit.
Smoke test of the editing tools
node scripts/smoke.mjs /tmp/fc-smoke <portrait clip> <landscape clip> [<first still of an image sequence>]node scripts/smoke.mjs /tmp/fc-smoke-live <portrait clip> <landscape clip> --liveThe first edits a project file; --live launches a FilmCraft window and makes the same edits in it. Both frame, grade, keyframe, transition, fade, export frames, render at 30 Mbps and check the result.
What FilmCraft can't do headlessly (or at all, as of 0.17.1)
GUI-only interaction: the mouse and keyboard tools (
ui_click,ui_screenshot, …) need the desktop app running with--control PORTand FilmCraft's own MCP in--bridgemode. This server doesn't use them.Live sync without
connect_app: headless edits change the file on disk. A project already open in FilmCraft doesn't reload by itself: reopen it or use File ▸ Revert, or edit it live withconnect_appinstead..prproj: Premiere projects can't be opened. Bring them in as FCP7 XML, AAF or OTIO (import_media).Delivery codecs: software export is H.264 only. HEVC needs a hardware encoder (VideoToolbox on macOS, 8-bit SDR). There is no AV1 / VP9 / WebM export, so use
ffmpeg_convert.Inputs: no DivX / Xvid, DV, camera RAW or E-AC-3. Transcode them first with
ffmpeg_convert.Graphics in interchange: titles don't survive FCP7 XML export (FilmCraft reports this). OTIO keeps them under
metadata.filmcraft.Speech-to-text (
Transcribe) needs a CLI built with thewhisperfeature. The release CLI doesn't have it.
Notes
import_mediawithimageSequence: trueapplies to every path in that call, so import audio separately.An image sequence imports at the app's default still rate (29.97 fps) unless you reinterpret it (
clip.interpretFootage), or bake it (import_mediawithbake: true, atfps).H.264 size follows
bitrateMbps, notquality: without a bitrate a 1080p render lands around 20 Mbps.Dip to Black on the last clip of a sequence can cut to black instead of fading; use
fade.Errors come back as MCP
isErrorresults carrying FilmCraft's own message, for exampletimeline.place failed: … no such item.
Available Tools
31 toolsadd_clipA
Place a project item on the timeline. Overwrites by default; set insert=true to ripple-insert. The picture goes to track and linked sound to audioTrack.
Inputs: item (required), in, out, audio, +6 more.
add_markerC
Add a sequence marker.
Inputs: time (required), name, color, comment, +2 more.
add_textC
Add a text title (graphic clip) on the timeline.
Inputs: text (required), font, size, time, +6 more.
add_transitionB
Apply a transition at a clip's edge (default: Cross Dissolve for video, Constant Power for audio). An edit point between two clips gets a two-sided transition.
Inputs: clip (required), edge, align, audio, +4 more.
apply_effectA
Add a video or audio effect to clips and optionally set its parameters (search ids with list_commands 'effects' or run_command effects.list).
Inputs: clips (required), effect (required), params, project.
app_statusBRead-only
Whether this server is driving the FilmCraft app, and which project the app has open.
Inputs: no named parameters.
connect_appA
Drive the FilmCraft desktop app live: every edit then shows in its window as it happens. Launches a new FilmCraft window in control mode (an already open window is left alone), or attaches to one started with --control PORT and FILMCRAFT_CONTROL_TOKEN. While connected, tools without project, or with the project the app has open, edit the app; save with save_project.
Inputs: open, port, token, launch.
create_projectA
Create a new FilmCraft project file with one empty sequence. When connected to the app (connect_app), it also opens there so later edits show live.
Inputs: path (required), fps, name, width, +3 more.
delete_clipsA
Delete clips from the timeline. ripple=true closes the gap.
Inputs: clips (required), ripple, project.
disconnect_appA
Stop driving the app; tools need a project file again. The app keeps running.
Inputs: no named parameters.
export_framesARead-only
Export stills to look at footage or the edit: from a source item (to pick moments) or the Program. Give times, or every N seconds over a range.
Inputs: dir (required), end, item, every, +4 more.
export_timelineA
Export the active sequence as an interchange timeline for other editors (Premiere: xml / aaf; Resolve: xml / fcpxml / edl / otio).
Inputs: output (required), format, project.
fadeA
Fade a clip in from black or out to black over N frames with opacity keyframes (works at the very end of a sequence, where Dip to Black can cut instead of fade). Audio clips get a Constant Power fade.
Inputs: clip (required), edge (required), frames, project.
ffmpeg_convertA
Fallback for what FilmCraft can't do: transcode a file with ffmpeg (e.g. AV1/VP9/WebM output, DivX/DV input, audio extraction to mp3). Requires ffmpeg.
Inputs: input (required), output (required), args.
ffmpeg_runB
Run ffmpeg with raw arguments (-y and -hide_banner are added). Requires ffmpeg.
Inputs: args (required).
fit_clipA
Frame a clip in the sequence: fill (cover the frame, cropping) or fit (show it all), zoom further in, and choose which part of the source stays in view. Use it for portrait footage in a landscape sequence (focusY picks the slice) or to punch in on a subject.
Inputs: clip (required), mode, zoom, focusX, +2 more.
import_mediaA
Import media files (video, audio, stills, or EDL/FCP XML/FCPXML/OTIO/AAF timelines) into the project. Returns the new project item ids used by add_clip.
Inputs: paths (required), fps, bake, project, +1 more.
inspect_projectARead-only
List bins and project items (media, sequences, graphics) with ids, types and durations.
Inputs: project.
list_commandsARead-only
Search FilmCraft's 650+ engine commands (id, label, params). Use with run_command for anything without a dedicated tool (effects, color, audio, captions, keyframes…).
Inputs: filter (required).
list_timelineBRead-only
The active sequence: tracks, clips (ids, timeline start/end and source in/out in seconds), transitions and markers. raw=true returns FilmCraft's full sequence.inspect JSON.
Inputs: raw, project.
move_clipA
Move a clip (and its linked audio) to a new time and optionally another track.
Inputs: clip (required), position (required), track, insert, +1 more.
probe_mediaBRead-only
Media info for a file (codecs, size, rate, duration, streams) as FilmCraft decodes it, with a summary: seconds, size, fps and whether it is portrait.
Inputs: path (required).
renderA
Export the active sequence to a media file and wait for it (H.264 .mp4 by default from the extension; also .mov ProRes/DNxHR, .gif, .png sequence, .wav…).
Inputs: output (required), end, scale, start, +9 more.
render_frameARead-only
Render one Program frame to an image, to look at the edit.
Inputs: time (required), output (required), scale, project.
run_batchA
Run several engine commands in one session, in order, then save once. Faster than many single calls; stops at the first failure unless keepGoing.
Inputs: steps (required), project, keepGoing.
run_commandB
Run any FilmCraft engine command on the project (times are ticks: 254016000000 per second, or {seconds: n}). Saved back unless save=false.
Inputs: id (required), save, params, project.
save_projectA
Save the project open in the connected app (to its own file, or to path).
Inputs: path.
set_effect_paramA
Set one effect parameter on a clip: a fixed value, or a keyframe at a timeline time (keyframe=true animates it). Motion: scale, position [x,y], rotation. Opacity: opacity, blend ("Screen", "Multiply"…). Lumetri: exposure, contrast, temperature, saturation, curve_red/green/blue [[x,y]…], vignette_amount…
Inputs: clip (required), param (required), value (required), effect (required), +3 more.
set_speedB
Change clip speed (percent, 100 = normal) and/or reverse it.
Inputs: clips (required), speed, ripple, project, +2 more.
split_clipA
Razor: cut clips at a timeline time (on one track or clip, else on every track at that time).
Inputs: time (required), clip, track, project.
trim_clipA
Move a clip's in or out edge. Positive delta moves the edge later. Regular trim leaves a gap; ripple trim shifts later clips.
Inputs: clip (required), edge (required), delta, ripple, +2 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 31 tools
Most tools map cleanly to one resource+action (add_clip, trim_clip, split_clip, delete_clips, move_clip are clearly separable). A few pairs overlap: apply_effect vs set_effect_param, ffmpeg_convert vs ffmpeg_run, and render_frame vs export_frames. The descriptions do enough to distinguish them, though apply_effect 'optionally set its parameters' blurs into set_effect_param.
The set is overwhelmingly consistent verb_noun snake_case (create_project, import_media, add_transition, export_timeline, run_command). Minor deviations: bare verbs 'fade' and 'render', noun-first 'app_status', and the ffmpeg_ prefix pair. Still highly predictable.
31 tools exceeds the typical comfortable range and feels heavy. The breadth (project/media, timeline edits, effects, app control, rendering, interchange export, engine escape hatches, ffmpeg) justifies most of them, but some could be consolidated into run_command/list_commands rather than dedicated tools.
Strong lifecycle coverage: project creation, media import/probe, full clip editing, transitions, markers, text, effects/keyframes, app control, save, render, stills, and timeline interchange export. Gaps include track/sequence management (add/remove tracks, mute/solo, project settings) and undo/redo, but the run_command/run_batch escape hatches make these workable.
Maintenance
Related MCP Connectors
AI video editor: create projects, edit timelines, add captions and effects, and render videos.
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
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.
AI video agent: edit timelines, captions, voice, music, images and ads, then render MP4s.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables Claude to control a full-stack video editor by issuing commands to add clips, text, animations, and render MP4 videos, with changes reflected in real-time in the browser UI.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables Claude to read, edit, and generate real Final Cut Pro timelines from exported FCPXML, covering trimming, splitting, silence removal, markers, transcript-based editing, keyframes and speed ramps, cross-NLE export, and pushing edits into a running Final Cut Pro. Every write is journaled with its sha256 and reversible, and timelines can be rendered visually for review before delivery.-
- FlicenseNot gradedqualityAmaintenanceEnables Claude to read, edit, and generate real Final Cut Pro timelines from exported project XML, handling cut detection, markers, roles, silence removal, rough cuts, keyframes, speed ramps, and transcript-based editing. Every write is sha256-journaled and reversible, with quote-then-confirm generation and optional pushes straight into a running Final Cut Pro.-
- AlicenseNot gradedqualityCmaintenanceEnables Claude to create, edit, validate, and animate video projects through structured project files, including rendering frames or exports, inspecting previews, and applying themes, templates, effects, and subtitles.MIT