resolve-mcp

resolve-mcp

An MCP server that gives Claude Code hands inside DaVinci Resolve Studio, enabling project management, status checks, snapshots, and arbitrary Python scripting via the Resolve API.

Category
Visit Server

README

resolve-mcp

An MCP server that gives Claude Code hands inside DaVinci Resolve Studio — so the musical and editorial reasoning happens in Claude and the mechanical work happens in Resolve.

Build contract: issue #22.

Status

P1 in progress. Shipped so far: the server skeleton, the session/project tools, the media pool tools, the timeline read and interchange tools, the background-job infrastructure with audio acquisition, and the run_python escape hatch.

Tool What it does
get_status Connection state, Resolve version, current project + timeline, fps
list_projects Project names in the current database folder
open_project Loads a project by name; the result echoes the new context
snapshot_project Writes an opaque .drp backup before a big operation
import_media Imports files and image sequences into a bin, still-duration workaround applied
list_media Summarises media pool clips, with offline state; spills big listings to disk
inspect_clip One clip in full: properties, metadata, audio mapping, markers, dual-time bounds
set_clip_metadata Batch metadata writes, each field routed by what the clip reports
organize_media Batch bin operations: create nested bins, move clips
relink_media Points offline clips at media that moved (folder relink or file replace)
list_timelines Timelines with version, duration, fps and track stack; names the newest cut
inspect_timeline One timeline at a chosen detail and range, in dual time
export_timeline Writes a timeline out as OTIO, FCPXML or DRT
import_timeline Materialises a new timeline from such a file — never overwrites one
get_job Polls one background job: progress, result, or a structured failure
list_jobs Lists jobs newest first — how a restarted session finds what it started
run_python Escape hatch: runs scripting-API Python in the server process

Bin paths are slash-separated from the media pool root (Concert/Angles) and case-sensitive. A clip counts as offline when it has a file path that is not on disk — Resolve's scripting API exposes no offline flag.

Interchange is the structural escape hatch. The scripting API cannot cut a transition, so a dissolve is made by exporting the cut to OTIO, editing the transition into that document, and importing it back. An .otio or .fcpxml import is given a name no timeline in the project answers to — colliding names walk the <base> v<N> convention. A .drt is Resolve's own document and accepts no import options at all, so it names its own timeline; what holds there is the check on the way out. Either way the cut already in the project is never the thing that gets written over.

Heavy work runs as a background job: the starter returns a job_id immediately, get_job polls it, and results are cached under the cache root against the media and the parameters, so an unchanged rerun is instant. Job records live on disk, which is what lets list_jobs recover after a restart — a job that was still running when the server went down comes back failed with code job_interrupted. Audio acquisition is internal to the starters: a timeline is exported through Resolve's render queue (the only route that captures the timeline mix, 48 kHz/24-bit WAV), a single source clip is extracted with ffmpeg unless its audio mapping says the audio is linked or offset away from the file.

Requirements

  • Windows 11, DaVinci Resolve Studio 21.0.3 (external scripting must be enabled: Preferences > System > General > External scripting using = Local)
  • CPython 3.12 x64 installed from python.org — not a uv-managed interpreter. See ADR 0001: the Resolve scripting library crashes the process outright on a standalone build, so the server refuses to attach on one. uv still manages the venv and the lockfile.
  • Resolve running, with a project open, before the first Resolve-touching tool call
  • ffmpeg on PATH for per-clip audio extraction (RESOLVE_MCP_FFMPEG points at it elsewhere). Timeline-scope audio goes through Resolve's own render queue and needs none.

Install

uv venv --python "C:/Users/<you>/AppData/Local/Programs/Python/Python311/python.exe"
uv sync

uv sync alone will pick a uv-managed interpreter, which runs the unit suite fine but cannot attach to Resolve.

Run

uv run resolve-mcp

The server speaks MCP over stdio and logs to stderr only. Register it with Claude Code:

claude mcp add resolve -- uv --directory C:/Users/Daniel/repos/resolve-mcp run resolve-mcp

Configuration

Zero-config by default; every path has an environment override.

Variable Default Purpose
RESOLVE_SCRIPT_API %PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting Scripting API root (holds Modules/DaVinciResolveScript.py)
RESOLVE_SCRIPT_LIB C:\Program Files\Blackmagic Design\DaVinci Resolve\fusionscript.dll Scripting library
RESOLVE_MCP_CACHE %LOCALAPPDATA%\resolve-mcp Cache root: snapshots, job records, cached results, acquired audio, model weights
RESOLVE_MCP_FFMPEG ffmpeg (found on PATH) ffmpeg executable used for per-clip audio extraction
RESOLVE_MCP_LOG_LEVEL INFO Log level for the stderr logger
RESOLVE_MCP_ALLOW_ANY_PYTHON unset Bypass the interpreter check (see ADR 0001)

Development

uv run pytest                 # unit suite — runs with Resolve closed, against the fake seam
uv run pytest -m live         # live smoke tier — needs real Resolve running, on a python.org interpreter
uv run mypy                   # type check
uv run ruff check .           # lint

Tests exercise external behaviour only: they call the tool functions in-process (no stdio transport) against a fake Resolve API object substituted at the connection singleton.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured