🐍 - DaVinci Resolve integration for video editing, color grading, media management and project control
DaVinci Resolve MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
English | 简体中文
-blue.svg)
-18%20tools-blueviolet.svg)
A Model Context Protocol (MCP) server that lets AI assistants control DaVinci Resolve Studio through the official Scripting API. It provides full API coverage plus guarded workflow helpers for editing, media pool organization, render setup, review markers, grading, Fusion, Fairlight, project lifecycle tasks, extension authoring, and source-safe media analysis.
A local browser control panel ships with the server for inspecting Resolve state, running source-safe analysis, drilling into analyzed clips and shots, and editing analysis output inline. See the Control Panel Guide for the full tour.
Quick Start
Before connecting, open DaVinci Resolve Studio and set **Preferences > General > External scripting using** to **Local**. (On the **free edition** that preference does not help — see Free edition below.) The npm launcher installs a managed copy under your user application-data directory, then runs the universal Python installer. The installer creates a virtual environment, detects Resolve paths, and can configure Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, Zed, Continue, Cline, Roo Code, OpenCode, Codex CLI, and JetBrains IDEs.
For source installs:
For platform paths, client-specific config, and manual setup, see Installation and Configuration.
The installer and server check the latest GitHub release for MCP updates. Checks are best-effort and throttled; the server never blocks MCP startup for a prompt. The installer can prompt, snooze, ignore a release, disable checks, or apply an opt-in safe auto-update for clean git checkouts.
Free edition (in-app bridge)
Blackmagic gates *external* scripting to Studio: on the free edition
scriptapp("Resolve") refuses a foreign process, whatever the preference says.
Through Resolve 21.0.x the **Workspace ▸ Scripts** menu was not gated — a script
launched from it is handed the live resolve object (measured on free 21.0.3.7) —
so the server can reach the free edition through a small script that runs *inside*
Resolve and re-exports it over an authenticated loopback listener. **Resolve 21.1
moved Python scripting to Studio.** On free 21.1 the Scripts menu no longer lists
.py files at all (reported on Fedora 44 in #203; a Lua script in the same folder
lists normally). Whether the Console still runs Python there is unconfirmed, so
treat the bridge as a 21.0.x path until that is measured.
The installer and MCP client use ~/.config/davinci-resolve-mcp/bridge.json
by default. To keep the authenticated bridge config elsewhere, set
DAVINCI_RESOLVE_BRIDGE_CONFIG while running the installer and in the MCP
client environment; both sides will use that path.
Once that listener is running it is used **automatically** whenever external
scripting is unavailable — no environment variable required. Setting
DAVINCI_RESOLVE_BRIDGE=1 *forces* the bridge instead: it becomes the only
transport tried, so a bridge that stops answering reports its own fault rather
than quietly falling back to another transport. Use it when the bridge is the
path you intend to depend on.
On **macOS**, Resolve looks for Python 3 in exactly two places: the
PYTHON3HOME environment variable, then /usr/local/bin/python3. Homebrew,
pyenv, uv and conda land in neither, so the script silently never appears in the
menu. A python.org install works because its installer creates
/usr/local/bin/python3 — but you do not need one: point Resolve at the
interpreter you already have, no sudo required.
Use launchctl setenv, not export — Resolve is launched from the Dock and
never sees your shell's environment. Restart Resolve afterwards. A Lua canary is
installed alongside so you can tell "Python not detected" apart from a wrong
folder.
Two things that bite (#182). The prefix must contain **both**
lib/libpython3.X.dylib and bin/python3 under that exact **unversioned**
name — Homebrew's framework builds often ship only bin/python3.13, which is
half a Python as far as Resolve is concerned, and the installer's preflight now
says so instead of reporting a usable prefix. And launchctl setenv **does not
survive a reboot**; if scripts stop listing weeks later with no error, that is
why. For something persistent, put an interpreter where Resolve already looks
(this one needs sudo, and check that /usr/local/bin does not precede your
normal Python on PATH):
Validated on free 21.0.3.7 and Studio 19.1.3.7, both macOS. The Windows paths
added in v2.70.1 (issue #106) shipped unverified; reports on free 21.0.1.11