cuttingfloor
Video editing for AI agents: cuts, captions, audio, motion graphics, previews, and exports.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
claude mcp add --transport http cuttingfloor 'https://api.cuttingfloor.ai/mcp'
{
"mcpServers": {
"cuttingfloor": {
"type": "http",
"url": "https://api.cuttingfloor.ai/mcp"
}
}
}
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
cuttingfloor
A headless video editor for agents, as an MCP server. An agent imports footage, cuts it on a timeline with granular editing tools, looks at the result after every edit, checks it, and exports a file.
- Every edit returns a new timeline id, plus a preview image of the result. Timelines are immutable, so going back is just using an older id.
- Nothing is stored for you. Timelines, media and outputs live in a cache with a time limit (24 hours for timelines, 7 days for media and exports). Export to keep work.
- One Docker image runs locally (free) and hosted. Engines (FFmpeg, MLT) ship inside it; Docker is the only thing you install.
Status: Phase 3 in progress. Import, timelines, clip editing, timing (speed, ramps, reverse, freeze frames, roll/slip/slide, range extract, nested timelines), transitions, titles and captions, audio (gain, pan, fades, ducking, loudness), effects (colour, LUTs, blur, chroma key and more; EQ, compressor, denoise, pitch), analysis (transcripts, beats, faces, tracking), compositing (transforms, keyframes, masks, blend modes, animations), motion graphics and HTML stills (sandboxed), mattes, local voiceover with timed words, people cut-outs, previews, exact QA checks and H.264/ProRes export work end to end. Provider tools (ElevenLabs, OpenAI) and NLE interchange come next.
Run it
docker compose up -d # local mode: one node on 127.0.0.1:8787, plus the motion sandbox
Compose starts two containers from the same image: cuttingfloor (the server) and cuttingfloor-motion, the sandbox where agent-written HTML for create.motion and create.still renders. The sandbox has no route out, no data volume, no capabilities, a read-only filesystem and fixed CPU, memory and process limits. Chromium's own sandbox stays on inside it, using the seccomp profile at tools/motion/seccomp.json (Docker's default plus namespace creation). Run compose from a checkout of this repository so that file is there.
Connect an MCP client over Streamable HTTP:
{ "mcpServers": { "cuttingfloor": { "url": "http://127.0.0.1:8787/mcp" } } }
Or over stdio, for clients that only launch commands. The stdio process forwards to the running container, so long exports keep going after the client exits:
{ "mcpServers": { "cuttingfloor": { "command": "docker", "args": ["exec", "-i", "cuttingfloor", "cuttingfloor", "mcp"] } } }
Folders (set them in a .env next to compose.yaml, see .env.example):
| On your machine | In the container | What |
|---|---|---|
$CUTTINGFLOOR_MEDIA (default ~/Movies) | /media/videos (read-only) | Footage. Import with {"path": "/media/videos/clip.mp4"} |
$CUTTINGFLOOR_EXPORTS (default ~/cuttingfloor/exports) | /exports | Finished exports |
Docker volume cuttingfloor-data | /data | Timelines, proxies, jobs (with time limits) |
Provider keys are yours (bring your own) and go in the same .env, or in Docker secrets (/run/secrets/<name lower-cased>). They never pass through a tool, and video://server/health shows only whether each is set. create.lipsync needs SYNC_API_KEY from sync. labs (Settings → API keys); they bill your account for each second sent. Run docker compose up -d after adding one.
The image includes /samples/sample.mp4 (10 s test pattern with a tone) and /samples/card.png to try things with nothing mounted.
On Docker Desktop for Mac, raise the memory limit for long 4K timelines; bind-mounted footage reads go through VirtioFS. On Linux, create the exports folder before the first start so it belongs to you.
How an agent uses it
media.importeach file. It's long-running: a task for clients that support MCP Tasks, otherwise ajob_idto poll withjob.get. Themedia_idis usable once the job reportsprocessing.media.analyzeturns media into data an agent can edit with:transcript(every word with its time; whisper.cpp on the CPU, the model downloads once),beats(tempo, beats, downbeats),faces(face boxes over time) andtrack(follow a region). Then cut by words withclip.add {source: {words: [i, j]}}and caption withcaption.add {in_clip: {clip_id, segments}}, timed in the media's seconds.media.seekfinds moments from plain words, so an agent doesn't have to watch the whole video: give it criteria like{too_dark: "the faces are too dark to make out their eyes", demo: "the product dashboard fills the screen"}and it returns the stretches of a video, or of an edit as it renders, where each one holds, with the best frame of each. Use it to check quality, find where something starts, pick shots, spot changes or find room for a title. TypeSafe Jev judges the frames and needsTYPESAFE_API_KEY.timeline.createwith a sequence ({width, height, fps: {num, den}}).- Edit:
clip.add,clip.trim(withsidefor J/L cuts),clip.split,clip.move,clip.remove(withripple),clip.link,track.*, oredit.batchto apply many edits at once, using{"$ref": "ops[0].clip_id"}for ids made earlier in the batch. - Time:
clip.set_speed(constant rate, a speed-rampcurve,reverse; pitch is kept),clip.freeze,clip.roll,clip.slip,clip.slide,clip.replace, andrange.extract/range.liftto cut a span out of every track at once.clip.add {nested_timeline_id}nests a whole timeline as one clip. - Transition:
transition.addat the cut after a clip: dissolve, dip to black or white, wipes, slides, pushes, zooms, iris and spin. Linked audio crossfades at the same cut. By default the clips overlap and later clips move earlier;mode: "handles"uses source past the cut and moves nothing. - Text:
title.addandcaption.add(from segments with word timings, or from SRT/VTT) put text on a video track, rendered with libass: font, size, colour, outline, shadow, box, karaoke and word highlights, typewriter and word reveals.text.setrestyles many at once. Fonts are listed atvideo://catalog/fonts; import your own.ttf/.otfwithmedia.importand use it withfont_media_id. - Audio:
audio.set_gain(dB, with keyframes for rides),audio.set_pan,audio.fadeandaudio.set_master(gain and a limiter ceiling on the whole mix). Audio edits preview as a waveform image with the measured loudness. - Effects:
filter.addon a clip, every clip on a track, or the whole timeline: colour (brightness, contrast, saturation, exposure, temperature, curves, LUTs imported as.cube), blur, sharpen, vignette, grain, glitch, pixelate, chroma key; for sound EQ, compressor, noise reduction, de-esser, dialogue enhance, reverb, echo, pitch.adjustment.addadds a clip whose effects change everything below it while it runs. The list with params is atvideo://catalog/effects. - Composite: put a clip on a higher video track, then
clip.set_transform(position, scale, rotation, opacity, crop, flip, fit; any number can take keyframes with easing),clip.set_mask(rectangle, ellipse, linear, mirror, heart, star, polygon),clip.set_blendandclip.set_animation(entrance, exit and loop presets). The accepted names are resources atvideo://catalog/{name}. - Create:
create.motionrenders any animated HTML to a video with alpha, frame-exactly: CSS animations and transitions, the Web Animations API, SVG, canvas or WebGL drawn inrequestAnimationFrame, timers, or awindow.__seek(seconds)the page defines all run on a virtual clock the renderer steps one frame at a time. anime.js, three.js, Lottie and D3 load fromlib/(<script src="lib/anime.umd.min.js">).create.stillrenders an HTML page to a PNG, andcreate.mattemakes a solid or gradient picture. Each returns amedia_idforclip.add; the same recipe returns the same media. Pages can't reach the network, so images and fonts go in asassets(imported media) and are referred to asassets/<name>.create.voiceoverspeaks English text in one of 28 Kokoro voices on the CPU (the model, about 350 MB, downloads once) and times every word, socaption.add {in_clip}can caption it exactly.create.cutoutremoves the background behind a subject:any(BiRefNet; products, animals, objects, people; the default for pictures; needs about 3 GB of memory free for Docker) orpeople(MODNet; fast enough for video, the default there), keeping the sound.create.lipsyncmakes someone on camera say new words: give the video, the new speech (a re-recorded line or a voiceover) and the span of the video to change, and their mouth is redrawn to match by sync. labs on your own key (SYNC_API_KEYlocally, theX-Cuttingfloor-Key-Syncheader hosted). Only the span is sent; the result is that span, to place over the original. - Look:
preview: "inline"on any edit returns the image;render.framesreturns up to 16 frames as a contact sheet, or up to 4 at full size (size: "full") for thumbnails. qa.checkmeasures the render: gaps, offline media, frame count, loudness and true peak, plus black and silent stretches with the settings you give. Facts, no verdicts.export.videowith a preset:web_1080p_h264,master_prores_422hq,social_9x16_h264,web_1080p_av1,gif,audio_wav_48koraudio_mp3, andoverridesfor size, frame rate, bitrate or quality (video://catalog/presets). The result has a signed download URL and, locally, the file in your exports folder.export.timelinehands the edit to another editor as FCPXML (Final Cut Pro, Resolve), OTIO (Premiere, Resolve) or a CMX 3600 EDL, or writes the captions as SRT or VTT, withwarningsfor what the format can't carry.media: "collect"zips the media alongside.timeline.getstays the lossless copy.
Time is integer frames at the sequence rate, end-exclusive. timeline.get returns the whole timeline as JSON; timeline.load restores it after it expires. video://server/health reports engine versions and limits.
Hosted mode
The same image with CUTTINGFLOOR_MODE=hosted: no path imports (URLs only), no exports folder, and every request needs Authorization: Bearer <key> from CUTTINGFLOOR_API_KEYS (owner:key,owner2:key2, or the cuttingfloor_api_keys Docker secret). Each key's owner has separate timelines, media and jobs. CUTTINGFLOOR_PUBLIC_URL is required: download links are built from it, and the server won't start without it.
Provider keys hosted come from the client, never from the server's environment: the MCP client sends each one as a header in its server config, X-Cuttingfloor-Key-<Provider>, for example X-Cuttingfloor-Key-Sync: <your sync. labs key> for create.lipsync. The key is used for that request and the job it starts, then dropped; it is never stored or logged. A tool that needs a key you haven't sent answers credential_required, naming the header.
{ "mcpServers": { "cuttingfloor": { "url": "https://api.cuttingfloor.ai/mcp", "headers": { "X-Cuttingfloor-Key-Sync": "<key>" } } } }
| Variable | Default | |
|---|---|---|
CUTTINGFLOOR_DATA | /data | Data root |
CUTTINGFLOOR_MAX_JOBS | cores ÷ 4 | Concurrent imports, exports and QA runs (sandbox jobs queue in the sandbox instead) |
CUTTINGFLOOR_HEAVY_JOBS | 1 | Concurrent create.cutout runs, in their own slots apart from the jobs above |
CUTTINGFLOOR_MAX_RENDERS | cores ÷ 2, at least 2 | Renders (melt, encodes, transcription) at once, jobs and inline previews together; the rest wait their turn |
CUTTINGFLOOR_OUTPUT_URL_TTL_HOURS | 24 | Signed download link lifetime |
CUTTINGFLOOR_MAX_DOWNLOAD_BYTES | 10 GiB | Size cap for URL imports and uploads |
CUTTINGFLOOR_MOTION_URL | unset (compose sets it) | The sandbox for create.motion and create.still; without it those tools explain how to start one |
CUTTINGFLOOR_MOTION_WORKERS | one per two CPUs, up to 4 | Browsers that share a create.motion render; set on the sandbox |
Develop
pnpm install && pnpm check # lint, typecheck, unit and protocol tests (Node 24+, pnpm 10)
docker build --target test . # everything, including engine and end-to-end tests
docker build -t cuttingfloor:dev . && node scripts/smoke-image.ts cuttingfloor:dev
node scripts/smoke-motion.ts cuttingfloor:dev # the sandbox in compose, attacked
Layout
| Path | What |
|---|---|
apps/cli | cuttingfloor serve (HTTP), cuttingfloor mcp (stdio) and cuttingfloor motion-worker (the sandbox role) |
apps/hosted | The HTTP node: MCP endpoint, signed downloads and uploads, API keys and script keys |
packages/server | MCP tools, resources and the Tasks adapter |
packages/schema | Zod schemas for every tool, the timeline document and errors |
packages/core | Timeline document, edit math, content hashing, storage with TTLs |
packages/engine | FFmpeg and MLT as subprocesses: probe, conform, proxies, frames, export, QA |
packages/motion | The sandbox worker: pages rendered frame by frame on a virtual clock, one at a time |
tools/ | Native helpers built into the image (cf-vision, cf-segment) and the sandbox's Chromium wrapper and seccomp profile |
packages/jobs | File-backed job store and runner behind MCP Tasks and job.* |
packages/credentials | Bring-your-own provider keys |
Licence
Not chosen yet. Until a licence is added, all rights are reserved.
Frequently asked questions
What is cuttingfloor?
Video editing for AI agents: cuts, captions, audio, motion graphics, previews, and exports.
How do I install cuttingfloor?
It runs as a remote server. In Claude Code: claude mcp add --transport http cuttingfloor 'https://api.cuttingfloor.ai/mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.
Does cuttingfloor need an API key?
Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.
Is cuttingfloor open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains cuttingfloor?
It is published by Mvp2o-ai. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.