Edit videos with Codex or Cursor over MCP
Codex and Cursor both talk to CutVoke's local stdio MCP server. Either client can build a rough cut, captions, a reframed version or an export. The edit stays in the CutVoke project, so you can keep working on it in the editor.
Launch the desktop app once, then copy command, args and env from your own profile/mcp-config.json. v0.3.6 is a preview. Caption prompts need optional faster-whisper, which is not in the desktop packages.
Shared setup
| Platform | Data folder |
|---|---|
| Windows (portable) | CutVoke Data next to CutVoke.exe |
| macOS | ~/Library/Application Support/CutVoke/ |
| Linux | ${XDG_DATA_HOME:-~/.local/share}/CutVoke/ |
No system Python is needed for the packaged engine. On Windows the bundled command is cutvoke-engine.exe. CUTVOKE_GPU_ACCELERATION is "1" unless GPU acceleration is turned off in the app, which writes "0". Move the app, and a fresh launch rewrites the paths. Where the config comes from also covers a source checkout, which points at that checkout's Python instead of the bundled engine.
Codex
Codex reads MCP servers from ~/.codex/config.toml (or $CODEX_HOME/config.toml). Add:
[mcp_servers.cutvoke]
command = "/absolute/path/to/cutvoke-engine"
args = ["mcp", "--data", "/absolute/path/to/data/projects.sqlite"]
[mcp_servers.cutvoke.env]
CUTVOKE_HOME = "/absolute/path/to/data-folder"
CUTVOKE_FONT_CACHE = "/absolute/path/to/data-folder/data/font-cache"
CUTVOKE_GPU_ACCELERATION = "1"
On Windows, use TOML literal strings (single quotes) so backslashes are kept as-is, for example command = 'D:\CutVoke\resources\engine\cutvoke-engine.exe'.
You can also add it from the command line:
codex mcp add cutvoke \
--env CUTVOKE_HOME="/absolute/path/to/data-folder" \
--env CUTVOKE_FONT_CACHE="/absolute/path/to/data-folder/data/font-cache" \
--env CUTVOKE_GPU_ACCELERATION=1 \
-- "/absolute/path/to/cutvoke-engine" mcp --data "/absolute/path/to/data/projects.sqlite"
Start a new Codex session and check that the CutVoke tools are listed (/mcp in the TUI).
Codex skill
Copy skills/cutvoke-editor/ to ~/.agents/skills/cutvoke-editor/ for personal use, or to .agents/skills/cutvoke-editor/ at the project root for project-only use. Invoke it with $cutvoke-editor. Step-by-step copy commands are in the Agent Skill Guide.
Codex prompts
- "Use $cutvoke-editor to make a 30-second 16:9 montage from ~/Videos/trip, with readable captions and restrained transitions."
- "Cut the silences in this interview, then show me frames at the three biggest cuts."
- "Make a 9:16 version for Reels and export it to the project folder."
Codex troubleshooting
- The server fails to start. Check that the
commandpath exists and that the TOML quotes are correct on Windows. - The agent can't see the editor's projects.
--datamust be the sameprojects.sqlitethe desktop app uses. Copy it frommcp-config.json. - You moved the app. Launch it once, then update
config.toml.
Cursor
Cursor uses the same mcpServers shape, so you can paste the generated entry:
- All projects:
~/.cursor/mcp.json - One project:
.cursor/mcp.jsonin the project root
{
"mcpServers": {
"cutvoke": {
"command": "/absolute/path/to/cutvoke-engine",
"args": ["mcp", "--data", "/absolute/path/to/data/projects.sqlite"],
"env": {
"CUTVOKE_HOME": "/absolute/path/to/data-folder",
"CUTVOKE_FONT_CACHE": "/absolute/path/to/data-folder/data/font-cache",
"CUTVOKE_GPU_ACCELERATION": "1"
}
}
}
}
If mcp.json already has other servers, add only the "cutvoke" entry inside the existing mcpServers object. On Windows, JSON paths need doubled backslashes (D:\\CutVoke\\...), which is already how the generated file writes them.
Open Cursor Settings, then MCP (Tools and MCP), and check that cutvoke is enabled and its tools are listed.
Cursor skill
Point the agent at skills/cutvoke-editor/SKILL.md, for example by adding that folder to the workspace and referencing it in chat. Or let it call editor_help, which serves the same guides over MCP.
Cursor prompts
- "Create a CutVoke project from ./footage, cut the silences, add captions, and show me frames before exporting."
- "Make a 9:16 version of the current project and export it into this repo's
out/folder." - "Tighten the intro to under 5 seconds and keep the rest of the timeline unchanged."
Cursor troubleshooting
- The server shows an error. Confirm the
commandpath exists. Relaunch the desktop app if you moved it. - The agent can't see the editor's projects.
--datamust be the sameprojects.sqlitethe desktop app uses.
Review frames before you commit
Keep the CutVoke editor open on the same project so you can watch the timeline change. For a visual dry-run, call preview_compare with projectId, the current expectedRevision, the command type and payload, and 1–3 times in seconds. It returns before/after PNG pairs from the same snapshot, including captions, and it does not commit the edit. Times must fit both timelines. Export and audio side-effect commands are rejected. The comparison is the same timestamp on both timelines, not source-time alignment after a ripple edit.
Take over editing ends the agent's current lease and returns the timeline to you. Completed edits stay.
Sources: Codex · Cursor · Claude Code.