short-form-video-editor-mcp
Allows using OpenAI's Whisper API as an alternative speech-to-text backend for transcribing video audio.
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., "@short-form-video-editor-mcpFrom my long video, create a 15-second TikTok clip using the transcript."
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.
short-form-editor-mcp
Local MCP server that turns a long-form video into short-form (TikTok/Reel) clips by reasoning over a word-timestamped transcript. The agent reads the transcript and designs the edit — including non-contiguous reordering (open on the hook, cut back to the start, build, land the hook again). The server provides accurate STT, a cheap text-space validation loop, a silence-aware renderer, and an STT-based QA gate.
v1 scope: dialog/audio cues only. No smart reframe, source aspect ratio preserved, no burned-in captions. (Those are explicit later phases.)
How it works (the loop)
create_project(video_path)— probe + extract 16kHz mono audio.transcribe(project_id)— WhisperX (word timestamps + silence map). Writestranscript.txt/transcript.json.Read
transcript.txtand design one or more EDLs (edit decision lists). An EDL is an ordered list of segments, each a word-index range; segments may be reordered/reused.validate_edl(project_id, edl_obj)— snaps cuts to silence, returns the reconstructed dialog in designed order + join warnings. No render. Iterate here cheaply.render(project_id, edl_obj)— ffmpeg cut + concat, one re-encode, frame-accurate.verify_clip(project_id, edl_id)— re-STT the render and diff vs the intended dialog.
EDL shape:
{ "edl_id": "hook-v1", "title": "Whoops it deleted everything",
"segments": [
{"from_word": 880, "to_word": 905, "label": "hook"},
{"from_word": 0, "to_word": 120, "label": "setup"}
] }Related MCP server: Smart Clip MCP
v2: reframe, captions & polish (render-layer, all optional on the EDL)
Styling is configured on the EDL and applied by render:
cleanup -> cut -> reframe -> captions/title + loudnorm -> multi-aspect.
{ "edl_id":"clip","title":"...","segments":[...],
"cleanup": {"remove_fillers": true, "max_pause": 1.0},
"reframe": {"mode":"track","aspect":"9:16","zoom":{"hook_punch":true}},
"captions": {"enabled": true, "preset":"karaoke-bold"},
"title_card":{"text":"AI gave itself all the water","hold_s":3},
"loudnorm": true,
"export_aspects": ["9:16","1:1"] }reframe
mode:track(YOLO11n subject-follow + One-Euro smoothing; center fallback),center,pad(blurred bars),none. Needs a visible person fortrack.captions presets:
karaoke-bold(Anton, word-by-word pop),lower-third,minimal-top.cleanup: drops filler words + splits at pauses >
max_pause.The clean cut is always at
renders/<edl_id>.mp4(stable audio forverify_clip); styled deliverables atrenders/<edl_id>__<aspect>.mp4.New tools:
suggest_clips,extract_thumbnail,list_caption_presets,list_reframe_modes.New deps:
ultralytics,opencv-python. Bundled font:assets/fonts/Anton-Regular.ttf(OFL).
Learn resources (read these first)
The server exposes MCP learn:// resources that bake in the workflow and the lessons:
learn://overview, learn://workflow, learn://hooks, learn://cutting,
learn://gotchas. An agent should read learn://overview then learn://workflow before
driving the tools.
Setup
Requires: ffmpeg/ffprobe on PATH, an NVIDIA GPU (for the default WhisperX large-v3).
# 1. venv (Python 3.11)
py -3.11 -m venv E:\FlowdotPlatform\short-form-editor-mcp\.venv
$py = "E:\FlowdotPlatform\short-form-editor-mcp\.venv\Scripts\python.exe"
# 2. install: this package, CUDA torch, whisperx, (optional) openai
& $py -m pip install --upgrade pip
& $py -m pip install -e E:\FlowdotPlatform\short-form-editor-mcp
& $py -m pip install torch torchaudio --index-url https://download.pytorch.org/whl/cu121
& $py -m pip install whisperx openaiFirst transcribe downloads the WhisperX model + the wav2vec2 alignment model.
Gotcha: depending on the WhisperX/pyannote version, the VAD model may need a one-time
Hugging Face token — set HF_TOKEN in the server env if the first run asks for it. We do
not use diarization.
Register in .mcp.json
"short-form-editor": {
"command": "E:\\FlowdotPlatform\\short-form-editor-mcp\\.venv\\Scripts\\python.exe",
"args": ["-m", "short_form_editor_mcp"],
"env": {
"STT_BACKEND": "whisperx",
"WHISPERX_MODEL": "large-v3",
"DEVICE": "cuda",
"WORKSPACE_ROOT": "E:\\FlowdotPlatform\\short-form-editor-mcp\\workspaces",
"OPENAI_API_KEY": ""
}
}Config (env vars)
var | default | meaning |
|
|
|
|
| model size |
|
|
|
|
| CTranslate2 compute type |
|
| min gap (s) that counts as a clean cut boundary |
|
| how far (s) into the silence to place the cut (capped at gap/2) |
|
| per-join audio fade to kill clicks (0 = off) |
|
| where project data is stored |
| — | required only for the |
| — | only if WhisperX VAD asks for it |
This server cannot be deployed
Maintenance
Related MCP Connectors
Turns long videos into captioned vertical clips, cut at the moments that stand on their own.
Turn long videos into AI-curated short clips: caption, reframe, thumbnail, schedule, and publish.
Turn any video or livestream into scored, captioned, ready-to-post vertical clips.
- EverpopOAuthapp.everpop
Clips your uploads into published Shorts, Reels and TikTok posts, with 48h/7d YouTube receipts.
Related MCP Servers
- AlicenseAqualityFmaintenanceTurn YouTube videos into short clips — from Claude, Cursor, or any AI assistant that supports MCP. You give it a YouTube link. It finds the best moments, reframes them for vertical video, adds subtitles, and gives you download links. All from a chat.633 npm2MIT
- AlicenseAqualityDmaintenanceAI-powered video clipping server that analyzes subtitles and audio to detect highlight moments, then generates platform-adapted short clips from long videos.5Apache 2.0
- FlicenseAqualityBmaintenanceOpenShorts turns long videos into vertical clips readys for Social Media posting85,679-
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to autonomously edit videos into publish-ready vertical short-form content, including silence removal, subtitle generation, voiceover synthesis, color grading, and composite pipeline creation.MIT