A real timeline video editor for AI agents: journaled edits, FFmpeg/MLT rendering, exports
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
A real video editor for AI agents, served over MCP.
mcpCut gives any MCP-capable agent (Claude Code, Claude Desktop, or anything else that speaks the protocol) an actual editing model β not a wrapper around one ffmpeg command. Projects are immutable snapshots with a journaled history of named operations; rendering goes through FFmpeg or the MLT framework; a deterministic CLI twin drives the same logic without a server.
βοΈ Hosted (fastest β no install). mcpcut.com runs this editor as a service, with a browser editor on top: sign up, create an API token, and point your agent at the cloud MCP endpoint:
You and your agent then work on the same projects β the agent edits over MCP, you review and tweak in the browser editor.
π₯ Self-hosted (this repository). The open, single-user core: run it on your own machine, point your agent at it, keep everything local. No accounts, no browser editor β just the MCP server, the editing engine and the CLI. The rest of this README is about this option.
44 tools over one consistent model:
editor_get_history shows every edit ever made), named versions with
restore, annotations..[asr] extra), local voiceover via
piper (.[tts] extra, GPL β see THIRD_PARTY_NOTICES.md)..mlt sidecar you can open in Shotcut or Kdenlive.Every mutation validates its arguments against the tool's real signature (strings can't leak into numeric filter fields), returns a fresh snapshot with a bumped version, and lands in the journal. Nothing edits in place.
ffmpeg + ffprobe on PATH)melt on PATH) β the default render engine. Alternatively set
RENDER_ENGINE=ffmpeg and skip melt.apt install fonts-dejavu-core fonts-noto-color-emoji
(elsewhere, point FONT_PATH at any .ttf).The server starts on http://127.0.0.1:8100 β the MCP endpoint is
http://127.0.0.1:8100/mcp. The database (SQLite) and media workspace are
created on first run.
Or with Docker (ffmpeg, melt and fonts included in the image):
Single-user by design. This build has no accounts: whoever can reach the port is the operator, with full tool access including local file paths. Keep it bound to localhost, or put an authenticating reverse proxy in front.
MCP_AUTH_ENABLED=falsemust be set explicitly β the server refuses to start otherwise, so an open port is always a decision you made.
Claude Code:
Any other MCP client, in its JSON config:
Then ask the agent for something real: βmake a 30-second cut of
~/videos/talk.mp4 with auto-captions and export it.β The skills/ directory
contains ready-made instructions you can hand to any agent β see
skills/README.md.
The CLI twin runs the same operations deterministically:
Everything lives in environment variables (or .env); see
.env.example for the full annotated list. The ones that
matter most:
| Variable | Default | What it does |
|---|---|---|
MCP_AUTH_ENABLED | true | must be set to false in this build (see above) |
DATABASE_URL | sqlite:///./data/editor.db | SQLite by default; Postgres via .[postgres] |
MEDIA_DIR | ./media | originals, exports, previews, caches |
MCP_HOST / MCP_PORT | 0.0.0.0 / 8100 | bind address of the server |
RENDER_ENGINE | mlt | mlt or ffmpeg |
FONT_PATH | DejaVu Bold (Debian path) | font for text overlays and captions |
EXPORT_TTL_HOURS / CLIP_CACHE_TTL_HOURS | 24 / 48 | retention sweep; RETENTION_ENABLED=false disables it |
Retention is real: a background daemon deletes exports after 24 h and
cached clips after 48 h by default. On a personal machine either download
your exports promptly or set RETENTION_ENABLED=false.
| Layer | Where | What |
|---|---|---|
| Timeline model | app/editor/model.py | frozen dataclasses; every edit returns a new project, version + 1 |
| Mutations | app/editor/mutations.py | pure functions, one named journaled operation per gesture |
| Validation | app/editor/validation.py | structural checks + opt-in shorts profile |
| Render | app/editor/render.py | one contract, two engines: mlt_graph.py (default) and ffmpeg_graph.py |
| Analysis | app/analysis/ | scenes, peaks, keyframes β feeds the agent's decisions |
| Storage | app/db/ | SQLite/Postgres via SQLAlchemy + Alembic; append-only operation journal |
| MCP server | app/mcp/server.py | streamable-http or stdio; tool schemas derived from real signatures |
| CLI twin | app/mcp/cli.py | same operations, no server, deterministic |
Safety properties the codebase holds everywhere: no shell=True (argv lists
only), timeouts on every subprocess, atomic export writes, SSRF egress guard
on URL imports, argument validation derived from tool signatures.
MIT. Third-party obligations (FFmpeg/MLT installed by you, the
GPL piper-tts extra, fonts) are documented in
THIRD_PARTY_NOTICES.md.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/mcpcut)<a href="https://allmcps.com/mcp/mcpcut"><img src="https://allmcps.com/api/badge/mcpcut?style=directory" alt="Mcpcut on AllMCPs" /></a>