Skip to content

Install

Install openvidstudio

Add it to your agent, check the machine, then ask for a video. It installs from npm with npx or as a Claude Code plugin, so there is nothing to clone or build, and everything runs on your machine.

01

Add it to your agent

Pick the line for where you use your agent, then restart it. 42 tools appear.

Claude Code, the Claude desktop Code tab, Cowork

Install the plugin. It registers the server and the four openvidstudio skills together, and updates with one command. From a shell, run the same two with claude plugin in place of /plugin.

in a session
/plugin marketplace add AnayDhawan/openvidstudio
/plugin install openvidstudio@openvidstudio

The first start installs the server once (about 330 MB, about a minute) in the background, so the tools can take a minute to appear. Later starts are instant and work offline.

Claude Desktop, the Chat tab

Chat loads a plugin's skills but not its local server, so the tools come from the app's own config file. This writes it. Quit Claude completely and start it again.

shell
npx -y @openvidstudio/mcp-server install claude-desktop

It adds only the openvidstudio entry, keeps your other servers, and saves a backup of the file first. Then restart the app.

Cursor and VS Code

One command each. Cursor gets the global config; VS Code gets this folder's .vscode/mcp.json.

shell
npx -y @openvidstudio/mcp-server install cursor
npx -y @openvidstudio/mcp-server install vscode

It adds only the openvidstudio entry, keeps your other servers, and saves a backup of the file first. Then restart the app.

Any other MCP client

Add this to the client's mcpServers block and restart it. The client starts the server with npx, so there is nothing to clone or build.

mcp.json
{
  "mcpServers": {
    "openvidstudio": {
      "command": "npx",
      "args": ["-y", "@openvidstudio/mcp-server"]
    }
  }
}

On native Windows some clients need the command wrapped: use "cmd" as the command and "/c", "npx", "-y", "@openvidstudio/mcp-server" as the args.

If you already added the server by hand, remove that entry before you install the plugin, or you will get two servers. Plugins do not load in Claude Code cloud sessions; use the npx config there.

02

Check the machine

Most machines are most of the way there. This checks what you have before installing anything.

Windows, PowerShell
# 1. Check what you already have
node --version        # need 20 or newer
ffmpeg -version       # need 4.0 or newer

# 2. Install whatever was missing. Reopen the terminal after ffmpeg,
#    winget only puts it on PATH for new shells.
winget install --id Gyan.FFmpeg -e
npm install playwright && npx playwright install chromium
pip install -U edge-tts  # narration, optional, 7.3 or newer

# 3. Start the app you want to film, then ask your agent:
#    "run preflight against http://localhost:3000"
  • Node.js 20 or newer

    Runs the server. preflight checks the version.

  • An MCP client

    Claude Code, Cursor, VS Code, Claude Desktop or any client that speaks MCP. It is the only interface.

  • Playwright with Chromium

    The capture tools drive a real browser. If the Chromium download was skipped, capture fails at the first screenshot.

  • ffmpeg 4.0 or newer

    For sound effects, frames pulled back out of a render, and the final export.

  • Your app, running

    Capture points a browser at a real URL, so your app has to be running.

Then ask your agent to run preflight. It checks ffmpeg, Chromium and whether your app responds, and every failure names the command that fixes it.

Optional extras
  • edge-tts 7.3 or newer

    The default narration voice (pip, Python 3.8+). Without it a render still works and plays silent. It sends the script text to Microsoft; OmniVoice runs on your machine instead.

  • numpy, scipy, soundfile, pyloudnorm, matplotlib

    Only for compose_score, which writes an original score.

  • A Higgsfield subscription

    Only for AI b roll in shots with no product UI, through your own account and MCP connection.

03

Point it at a project

Ask your agent to run init_project. It scaffolds src/videos/<name>/ in your repo, copies the pipeline docs into docs/, and writes openvidstudio.config.json. Leave hasHiggsfield off unless you use the Higgsfield tier; its tool is not even registered until you turn it on.

openvidstudio.config.json
{
  "hasHiggsfield": false,
  "targetDurationSeconds": 60,
  "videoConfig": { "fps": 30, "width": 1920, "height": 1080 }
}
04

Ask for a video

Start your app, then say something like “build a 30 second demo video of this product”. Your agent runs the intake, drafts the plan, and shows you all of it before it writes anything.

What it does from there
Run it from source

The clone is for running from source: to contribute, or to try changes that are not in a release yet. The normal install is the npx config above. You need git, Node and pnpm (npm install -g pnpm).

shell
git clone https://github.com/AnayDhawan/openvidstudio.git
cd openvidstudio
pnpm install
pnpm build

Then point your client's config at your clone, with the absolute path to dist/stdio.js:

mcp.json, from source
{
  "mcpServers": {
    "openvidstudio": {
      "command": "node",
      "args": [
        "/path/to/openvidstudio/packages/mcp-server/dist/stdio.js"
      ]
    }
  }
}

Or download the main branch as a zip or browse the source.

Troubleshooting
  • A beat plays silent. stitch_composition looks for public/audio/vo/<beatId>.mp3 and skips a missing file without an error. Check the narration files are on disk before stitching.
  • A scene shows nothing. Screenshots go to public/images/<beatId>.png and clips to public/video/<beatId>.mp4; anywhere else resolves to nothing at render time.
  • Windows. npx remotion skills add fails with spawn EINVAL: run npx -y skills@1.2.0 add remotion-dev/skills instead. A webpack wasm-hash error usually clears after deleting node_modules/.cache. Run npm and pnpm from the project's own folder.