MCP Connector

Edit and Generate Videos with AI

MCP server for uploading, searching, and generating video edits through Video Jungle from an LLM conversation.

Works with githubdavinci resolve

90
Spark score
out of 100
Updated 9 months ago
Version 1.0.0
Models
claudeuniversal

Add to Favorites

Why it matters

Leverage AI to upload, analyze, search, and edit videos. This asset integrates with Video Jungle and DaVinci Resolve for advanced video creation and management.

Outcomes

What it gets done

01

Upload and analyze videos from URLs using multimodal capabilities.

02

Search for video content using embeddings and keywords, including local macOS Photos.

03

Generate video edits from single or multiple source videos.

04

Create and update video edits, with real-time updates when DaVinci Resolve is open.

Install

Add it to your toolbox

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/vb-video-editor | bash

Capabilities

Tools your agent gets

add-video

Adds a video file for analysis from a URL and returns a vj:// URI for referencing it

create-videojungle-project

Creates a Video Jungle project for storing generative scripts, analyzed videos, and images

edit-locally

Creates an OpenTimelineIO project and downloads it for opening in DaVinci Resolve Studio

generate-edit-from-videos

Generates a rendered video edit from a set of video files

generate-edit-from-single-video

Creates an edit from a single input video file

get-project-assets

Retrieves project assets for video edit generation

search-videos

Returns video matches based on embeddings and keywords

update-video-edit

Live update of video edit information with real-time sync to Video Jungle

Overview

Video Editor MCP Server

An MCP server for Video Jungle that lets an LLM upload, analyze, search, and generate edits from videos, with a vj:// URI scheme and an OpenTimelineIO handoff to DaVinci Resolve Studio. Use it for conversational video search, analysis, and edit generation via Video Jungle, not as a full standalone non-linear editor.

What it does

Video Editor MCP Server (Video Jungle) lets an LLM upload, search, analyze, and edit videos through Video Jungle's video-generation platform. It implements a custom vj:// URI scheme for referencing individual videos and projects, and returns search results with metadata about what's in a video and when, so an edit can be generated directly from those results.

When to use - and when NOT to

Use it when you want to download or upload a video for multi-modal (audio and visual) analysis, search a video library by content, or generate a rendered edit from one or more videos - including searching your own Photos app library on macOS when LOAD_PHOTOS_DB=1 is set. It is not a full non-linear editing environment on its own for hands-on work: the edit-locally tool hands off to an already-running DaVinci Resolve Studio instance via an OpenTimelineIO project rather than editing directly, and generated edits currently rely on context within the active chat session.

Capabilities

Eight tools are exposed: add-video (add a video file from a URL for analysis, returning a vj:// URI), create-videojungle-project (create a project to hold generative scripts, analyzed videos, and images for edit generation), edit-locally (create an OpenTimelineIO project and download it to open in an already-running DaVinci Resolve Studio instance), generate-edit-from-videos (render an edit from a set of video files), generate-edit-from-single-video (cut an edit from one input video), get-project-assets (list assets within a project), search-videos (return video matches by embeddings and keywords), and update-video-edit (live-update an edit's information, reflected in real time if Video Jungle is open). A search-local-videos capability, gated behind the LOAD_PHOTOS_DB=1 environment variable, searches the macOS Photos app by Apple's own tags. Using the server requires signing up for a Video Jungle account and adding an API key from the account settings page.

How to install

$ uv run video-editor-mcp YOURAPIKEY

Who it's for

Developers and creators who want to search, analyze, and generate video edits conversationally, using a Video Jungle account and API key. Example prompts include asking it to download a video from a URL and name it, then search for a term across the analyzed videos, and finally create an edit of every moment a specific phrase is said - the initial download-and-analysis step covers both audio and visual content so both can be queried afterward. For local development, dependencies are synced with uv sync, source and wheel distributions are built with uv build into the dist/ directory, and releases are published to PyPI with uv publish. Debugging is best done with the MCP Inspector, launched via npx @modelcontextprotocol/inspector, and the project logs diagnostic output to an app.log file that can be tailed while working on the integration.

Source README

Video Editor MCP server

See a demo here: https://www.youtube.com/watch?v=KG6TMLD8GmA

Upload, edit, search, and generate videos from everyone's favorite LLM and Video Jungle.

You'll need to sign up for an account at Video Jungle in order to use this tool, and add your API key.

PyPI version

Components

Resources

The server implements an interface to upload, generate, and edit videos with:

  • Custom vj:// URI scheme for accessing individual videos and projects
  • Each project resource has a name, description
  • Search results are returned with metadata about what is in the video, and when, allowing for edit generation directly

Prompts

Coming soon.

Tools

The server implements a few tools:

  • add-video
    • Add a Video File for analysis from a URL. Returns an vj:// URI to reference the Video file
  • create-videojungle-project
    • Creates a Video Jungle project to contain generative scripts, analyzed videos, and images for video edit generation
  • edit-locally
    • Creates an OpenTimelineIO project and downloads it to your machine to open in a Davinci Resolve Studio instance (Resolve Studio must already be running before calling this tool.)
  • generate-edit-from-videos
    • Generates a rendered video edit from a set of video files
  • generate-edit-from-single-video
    • Generate an edit from a single input video file
  • get-project-assets
    • Get assets within a project for video edit generation.
  • search-videos
    • Returns video matches based upon embeddings and keywords
  • update-video-edit
    • Live update a video edit's information. If Video Jungle is open, edit will be updated in real time.

Using Tools in Practice

In order to use the tools, you'll need to sign up for Video Jungle and add your API key.

add-video

Here's an example prompt to invoke the add-video tool:

can you download the video at https://www.youtube.com/shorts/RumgYaH5XYw and name it fly traps?

This will download a video from a URL, add it to your library, and analyze it for retrieval later. Analysis is multi-modal, so both audio and visual components can be queried against.

search-videos

Once you've got a video downloaded and analyzed, you can then do queries on it using the search-videos tool:

can you search my videos for fly traps?

Search results contain relevant metadata for generating a video edit according to details discovered in the initial analysis.

search-local-videos

You must set the environment variable LOAD_PHOTOS_DB=1 in order to use this tool, as it will make Claude prompt to access your files on your local machine.

Once that's done, you can search through your Photos app for videos that exist on your phone, using Apple's tags.

In my case, when I search for "Skateboard", I get 1903 video files.

can you search my local video files for Skateboard?

generate-edit-from-videos

Finally, you can use these search results to generate an edit:

can you create an edit of all the times the video says "fly trap"?

(Currently), the video edits tool relies on the context within the current chat.

generate-edit-from-single-video

Finally, you can cut down an edit from a single, existing video:

can you create an edit of all the times this video says the word "fly trap"?

Configuration

You must login to Video Jungle settings, and get your API key. Then, use this to start Video Jungle MCP:

$ uv run video-editor-mcp YOURAPIKEY

To allow this MCP server to search your Photos app on MacOS:

$ LOAD_PHOTOS_DB=1 uv run video-editor-mcp YOURAPIKEY

Quickstart

Install

Installing via Smithery

To install Video Editor for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install video-editor-mcp --client claude
Claude Desktop

You'll need to adjust your claude_desktop_config.json manually:

On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

Published Server Configuration
 "mcpServers": {
   "video-editor-mcp": {
     "command": "uvx",
     "args": [
       "video-editor-mcp",
       "YOURAPIKEY"
     ]
   }
 }
Development/Unpublished Servers Configuration
 "mcpServers": {
   "video-editor-mcp": {
     "command": "uv",
     "args": [
       "--directory",
       "/Users/YOURDIRECTORY/video-editor-mcp",
       "run",
       "video-editor-mcp",
       "YOURAPIKEY"
     ]
   }
 }

With local Photos app access enabled (search your Photos app):

  "video-jungle-mcp": {
    "command": "uv",
    "args": [
      "--directory",
      "/Users/<PATH_TO>/video-jungle-mcp",
      "run",
      "video-editor-mcp",
      "<YOURAPIKEY>"
    ],
   "env": {
     "LOAD_PHOTOS_DB": "1"
    }
  },

Be sure to replace the directories with the directories you've placed the repository in on your computer.

Development

Building and Publishing

To prepare the package for distribution:

  1. Sync dependencies and update lockfile:
uv sync
  1. Build package distributions:
uv build

This will create source and wheel distributions in the dist/ directory.

  1. Publish to PyPI:
uv publish

Note: You'll need to set PyPI credentials via environment variables or command flags:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

MCP Server Registry

mcp-name: io.github.burningion/video-editing-mcp

Debugging

Since MCP servers run over stdio, debugging can be challenging. For the best debugging
experience, we strongly recommend using the MCP Inspector.

You can launch the MCP Inspector via npm with this command:

(Be sure to replace YOURDIRECTORY and YOURAPIKEY with the directory this repo is in, and your Video Jungle API key, found in the settings page.)

npx @modelcontextprotocol/inspector uv run --directory /Users/YOURDIRECTORY/video-editor-mcp video-editor-mcp YOURAPIKEY

Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.

Additionally, I've added logging to app.log in the project directory. You can add logging to diagnose API calls via a:

logging.info("this is a test log")

A reasonable way to follow along as you're workin on the project is to open a terminal session and do a:

$ tail -n 90 -f app.log

FAQ

Common questions

Discussion

Questions & comments ยท 0

Sign In Sign in to leave a comment.