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.
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_FFMPEGpoints 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.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。