Skip to main content
Glama

openmode

npm CI MIT

Video editing and rendering for coding agents. An open-source CLI and MCP server that lets Claude Code, Codex and Cursor look at footage, cut it, caption it, render Blender scenes and produce an MP4. It runs on your machine with your own ffmpeg and Blender: no account, no upload, no API key, no cost.

claude mcp add openmode -- npx -y openmode mcp

Then ask: "Cut the silences out of interview.mp4, add captions, and make a vertical version."

Frames from a 35-second Apollo 11 trailer cut by Claude with openmode

Claude cut this Apollo 11 trailer from NASA footage with openmode. Watch the replay or render it yourself.

What an agent can do with it

  • Look. See a video as one image of timestamped frames, plus its length, loudness, silent stretches and black frames.

  • Render. Turn a small edit file (clips, trims, speed, fades, captions, music) or a folder of frames into an MP4. Drafts take seconds; finals go up to 4K.

  • Render 3D. Turn a Blender file or a Python scene script into an MP4 with the Blender on your machine: a small, fast draft first, then full quality.

  • Keep versions. Save, compare and restore the whole project, like undo for video.

Use it when you ask an agent to cut, trim, caption, combine, speed up, add music to, review or render video, or to render a Blender scene.

Related MCP server: Kdenlive MCP

Install

Needs Node.js 20 or newer and ffmpeg. Blender is only needed for 3D scenes.

Agent

Command

Claude Code

claude mcp add openmode -- npx -y openmode mcp

Codex

codex mcp add openmode -- npx -y openmode mcp

No MCP

npx -y openmode init (adds a short section to AGENTS.md)

{
  "mcpServers": {
    "openmode": { "command": "npx", "args": ["-y", "openmode", "mcp"] }
  }
}
/plugin marketplace add shansabnani/openmode
/plugin install openmode@openmode

The loop

npx -y openmode look interview.mp4             # see the footage
npx -y openmode render cut.json --draft        # 360p draft in seconds
npx -y openmode look renders/cut-draft.mp4     # check the draft
npx -y openmode render cut.json --final        # full quality
npx -y openmode save -m "first cut"            # keep this version

The edit file

A small JSON file next to your footage. Times are in seconds.

{
  "version": 1,
  "format": "9:16",
  "fit": "cover",
  "clips": [
    { "src": "footage/intro.mp4", "start": 1.2, "end": 4, "caption": "I rebuilt our onboarding in a weekend.", "transition": "fade" },
    { "src": "footage/demo.mp4", "start": 10, "end": 16.5, "speed": 1.25 }
  ],
  "audio": [{ "src": "music/bed.mp3", "volume": 0.25 }],
  "endCard": "openmode.ai"
}

npx -y openmode schema prints every field. The reference has the full table and recipes.

Blender scenes

npx -y openmode render scene.blend --draft      # 360p, few samples, seconds
npx -y openmode look renders/scene-draft.mp4   # check it
npx -y openmode render scene.blend --final      # the scene's own size and samples

A .py script that builds the scene with bpy works the same way; examples/turntable has one. Options: --range 1-48, --step 2, --renderer cycles, --samples 32, --audio music.wav. Details are in the reference.

MCP tools

Tool

Use

look

See a video, image or frames folder as one image, with its facts.

render_edit

Turn an edit file into an MP4, or check it without rendering.

render_frames

Turn numbered frames and a soundtrack into an MP4.

render_blender

Render a .blend file or a Python scene script with your Blender.

versions

Save, list, restore and compare.

edit_schema

The edit file format, with an example.

status

Check that ffmpeg is ready and whether Blender is installed.

Roadmap

HTML (HyperFrames) engine, rendering Blender scenes on your own GPUs, captions from speech, and shareable kits of Blender scenes and characters.

Contribute

A star helps other people find it. To ask for a feature, open an issue. To add one, start with CONTRIBUTING.md: an engine is one folder with a render function.

License

MIT. openmode calls the ffmpeg already on your machine and ships no binaries.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables agents to inspect media and project files, create reviewable v2 projects, and perform verified native exports of selected segments as separate files through a private editor instance. It provides a small, safety-checked workflow that verifies output paths, streams, and durations with FFprobe.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables local-first video editing through the Model Context Protocol by maintaining versioned JSON projects, applying revision-checked timeline edits, compiling deterministic MLT, queuing renders, generating previews, and verifying outputs with local Kdenlive/MLT and FFmpeg tools.
      Apache 2.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to edit video locally through FFmpeg: probing media, validating and previewing JSON edit projects, rendering short-form clips with captions, reframing, transitions and ducked music. Also analyses existing videos and applies or saves reusable format templates, without cloud services or API keys.
      1
      Apache 2.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Gives coding agents a local FFmpeg video-editing engine exposed over MCP, enabling them to probe, cut, join, reframe, caption, normalize audio, and verify the resulting media without cloud services or API keys. Every operation returns structured JSON and self-checks its own output against delivery specs.
      7,893 npm
      MIT