mcut

MCP server

Expose mcut project state, editor operators, and command tools to MCP clients.

@mcut/mcp-server exposes mcut editing to any MCP client. It can target a local project JSON file or a live browser editor tab.

Stdio project server

bunx @mcut/mcp-server project.mcut.json

The project file defaults to project.mcut.json or $MCUT_PROJECT. The server creates the file when missing and writes it after successful edits.

Static tools

ToolPurpose
get_summaryCompact project summary. Read this before editing.
get_projectFull serializable project JSON.
get_media_contextProject, playback, selection, asset, track, element, marker, and transcript metadata.
get_transcriptCaption-derived transcript; never starts transcription.
search_transcriptFind spoken words or phrases with timeline times.
ensure_transcriptLive bridge only: transcribe selected media in the browser and apply captions.
list_operatorsList available UI-level editor operators.
list_actionsLive bridge only: list browser editor actions.
run_actionLive bridge only: run a browser editor action by id.
undoUndo the most recent edit.
redoRedo the most recently undone edit.

Generated operator tools

Every registered editor operator becomes an MCP tool named:

operator_<operator-id-with-non-tool-characters-replaced>

For example, edit.splitSelectionAtPlayhead becomes operator_edit_splitSelectionAtPlayhead.

Prefer operator tools for UI-parity edits because they understand playback, selection, and editor context.

In live bridge mode, prefer high-level actions when they exist:

  • Remove spoken-word silence with run_action and actionId: "transcript.remove-silence" after ensure_transcript has produced word-timed captions.
  • Open from black and close to black with run_action and actionId: "effects.fade-open-close" so the built-in animation presets are used.

Do not fall back to ffmpeg or shell audio analysis for agent edits that mcut tools can perform.

Generated command tools

Every registered timeline command also becomes an MCP tool. The command description becomes the tool description and the zod payload schema becomes the MCP input schema.

Use command tools for exact project mutations when you already know the target ids and payload.

On this page