mcpCut
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., "@mcpCutmake a 30-second cut of ~/videos/talk.mp4 with auto-captions and export it."
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.
mcpCut
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.
Two ways to use it
☁️ 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:
claude mcp add --transport http mcpcut https://mcpcut.com/mcp \
--header "Authorization: Bearer <your token>"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.
Related MCP server: ffmpeg-mcp-video-editor
What the agent gets
44 tools over one consistent model:
Projects & history — create/list projects, journaled operations (
editor_get_historyshows every edit ever made), named versions with restore, annotations.Timeline — multiple video/audio tracks, clips with trim/split/move/ resize, transforms with keyframes, transitions, canvas fit, color adjustments.
Text & graphics — text overlays rasterized server-side, image/video overlays, covers.
Audio — music beds, per-clip audio, volume envelopes.
Media in — local paths or URLs (URL import goes through an SSRF egress guard; media is sanity-checked with ffprobe before it touches a timeline).
Understanding — media analysis (scenes, audio peaks, keyframes), auto-captions via faster-whisper (
.[asr]extra), local voiceover via piper (.[tts]extra, GPL — see THIRD_PARTY_NOTICES.md).Out — validation, preview renders, full exports with presets. Each export writes an
.mltsidecar 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.
Prerequisites
Python 3.12+
FFmpeg (
ffmpeg+ffprobeon PATH)MLT (
melton PATH) — the default render engine. Alternatively setRENDER_ENGINE=ffmpegand skip melt.A font for text rendering, e.g. Debian/Ubuntu:
apt install fonts-dejavu-core fonts-noto-color-emoji(elsewhere, pointFONT_PATHat any.ttf).
# Debian/Ubuntu, everything at once:
apt install ffmpeg melt fonts-dejavu-core fonts-noto-color-emojiQuickstart
git clone https://github.com/musyta-labs/mcpCut && cd mcpCut
python3 -m venv .venv && .venv/bin/pip install -e .
cp .env.example .env # MCP_AUTH_ENABLED=false is already set there
.venv/bin/python -m app.mcp.serverThe 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):
docker build -t mcpcut .
docker run -p 127.0.0.1:8100:8100 -e MCP_TRANSPORT=streamable-http \
-v mcpcut-data:/data mcpcutSingle-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.
Connect an agent
Claude Code:
claude mcp add --transport http mcpcut http://127.0.0.1:8100/mcpAny other MCP client, in its JSON config:
{
"mcpServers": {
"mcpcut": { "type": "http", "url": "http://127.0.0.1:8100/mcp" }
}
}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.
Or drive it without a server
The CLI twin runs the same operations deterministically:
echo '{"op": "create_project", "args": {"metadata": {}}}' > /tmp/ops.json
.venv/bin/python -m app.mcp.cli /tmp/ops.jsonConfiguration
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 |
|
| must be set to |
|
| SQLite by default; Postgres via |
|
| originals, exports, previews, caches |
|
| bind address of the server |
|
|
|
| DejaVu Bold (Debian path) | font for text overlays and captions |
|
| retention sweep; |
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.
How it's built
Layer | Where | What |
Timeline model |
| frozen dataclasses; every edit returns a new project, |
Mutations |
| pure functions, one named journaled operation per gesture |
Validation |
| structural checks + opt-in shorts profile |
Render |
| one contract, two engines: |
Analysis |
| scenes, peaks, keyframes — feeds the agent's decisions |
Storage |
| SQLite/Postgres via SQLAlchemy + Alembic; append-only operation journal |
MCP server |
| streamable-http or stdio; tool schemas derived from real signatures |
CLI twin |
| 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.
License
MIT. Third-party obligations (FFmpeg/MLT installed by you, the
GPL piper-tts extra, fonts) are documented in
THIRD_PARTY_NOTICES.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.
FFmpeg as a service for AI agents: typed video editing tools, async jobs, downloadable outputs.
- VidmoatOAuthcom.vidmoat
AI video editor: create projects, edit timelines, add captions and effects, and render videos.
Build, run, schedule, and publish AI video pipelines to YouTube and TikTok from any MCP client.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that exposes FFmpeg as a structured tool set for AI agents, enabling timeline-based video editing, preview, rendering, and analysis with an optional LLM autopilot.-
- AlicenseAqualityBmaintenanceGive any MCP client a real video editor — 32 typed tools over ffmpeg, Whisper and MediaPipe, plus an optional local UI with a drag-and-drop timeline.38MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for OmniCut that provides 29 deterministic video editing tools (trim, transition, render, etc.) for AI agents to drive the video editor end-to-end.71ISC
- AlicenseNot gradedqualityAmaintenanceMCP server for OpenChatCut, enabling AI agents to create, edit, and export fully editable video projects through a real multitrack timeline and agent-native tools.1AGPL 3.0