DaVinci Resolve

io.github.Aedelon由 GitHub 账号 Aedelon 发布v1.0.4更新于 Nov 1, 2026

Typed, safe MCP server for DaVinci Resolve: every write verified, deletes confirmed, snapshots.

发布方自己的服务:Resolve

已验证STDIO仅桌面开发者工具媒体与设计

概览

AI 生成的概览

让 AI 助手通过类型化、可验证的脚本 API 操作 DaVinci Resolve,完成剪辑、调色与交付的 MCP 服务器。

可以做什么
  • 读取和修改项目、媒体池、时间线、时间线片段、调色节点、Fusion 合成、画廊静帧、音频与渲染任务
  • 执行 EDL 套底、交付、竖屏短片、套用 LUT、标题叠加等一键工作流,并可批量串联多步操作
  • 使用转录、字幕、场景切分、智能重构等 AI 工具,并导出画面帧或联系表供助手查看
  • 读写 EDL、FCPXML、OTIO、标记 CSV 与 cube LUT 等交换文件,管理快照、长任务与界面页面
  • 检索并说明 Resolve 脚本 API,在明确开启后可运行 Lua 或 Python
适用场景
适合希望让助手代劳 Resolve 中重复操作的剪辑师、调色师和开发者,例如导入整理素材、搭建时间线、调色、套底与渲染。也适合需要每项改动都经 Resolve 回读确认而非仅凭声称的场景。
运行要求
需要 DaVinci Resolve Studio 21.1 或更高版本,并在偏好设置中将外部脚本设为 Local(21.1 起的免费版不支持)。需要 Python 3.13+ 及 uv、pipx 或 pip,也可用 uvx 运行。作为本地 stdio 进程与 Resolve 同机运行;可选 HTTP 传输默认绑定回环地址,非本机访问需 DAVINCI_MCP_TOKEN 提供的令牌。
安装前请注意
会写入 Resolve 项目与时间线并可删除内容,但删除先返回计划并需 confirm_token,破坏性编辑前会创建快照。文件访问限于 allowed_roots,默认是用户主目录。开启代码执行或 Python 配方会以你的用户权限运行任意代码,且不受 allowed_roots 限制。每次调用都会写入本地审计日志。

安装

在 SourceWeft 中

  1. 打开 控制台中的 DaVinci Resolve,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[davinci-mcp: the safe, verified MCP server for DaVinci Resolve]

[CI] [PyPI] [Python 3.13+] [Apache 2.0] [DaVinci Resolve 21.1] [MCP spec 2026-07-28] [Glama score] [Support on Ko-fi]

Let an AI agent edit, grade and deliver in DaVinci Resolve, with every change checked.


davinci-mcp is an MCP server for DaVinci Resolve. It gives AI agents such as Claude access to the whole Resolve scripting API: 299 typed actions across 17 domains. Every change is verified against Resolve itself before it is reported as done.

It is built for editors and colorists who want an assistant that does the clicking, and for developers who want a dependable bridge between an agent and Resolve.

See it work

A real Claude agent, given four plain messages, cut this 52-second action trailer from the open movie Tears of Steel. It imported the footage, laid out 33 shots on the beat, added the title cards, graded teal and orange, and rendered it. Nothing in the run was staged; the video below is sped up 4×.

[A Claude agent editing a trailer in DaVinci Resolve through davinci-mcp]
▶ Watch the full demo on YouTube (39 s)

[The trailer the agent cut]
▶ Watch the trailer the agent cut on YouTube (52 s)

Why davinci-mcp

Verified, not hopeful

  • Every write is read back from Resolve, and its receipt says verified: true or false. An agent can't claim a change that didn't happen.
  • dry_run previews any write without applying it.
  • Deletes need consent: the first call returns a plan and a confirm_token, and nothing is removed until the same call comes back with the token.
  • Destructive edits take a safety snapshot of the timeline first.
  • Every call is written to a JSONL audit log.

Reliable

  • In the benchmark below, 20 of 20 jobs passed. The community MCP server passed 13 of 20, davinci-mcp-professional 10 of 20.
  • Near-miss parameters are repaired instead of refused (fade_out → FadeOut, a bare clip name → a selector), and every rewrite is reported.
  • Errors are actionable: they suggest the right field ("did you mean"), name the right tool, and say which render setting Resolve rejected.

Economical

  • batch_run chains a whole sequence server-side in one call, for example 18 steps from timeline to render.
  • Clients defer the tools, so the first turn costs about 32k tokens of context.
  • Replies and schemas are compact. Against the community server: 31 % cheaper and 60 % fewer calls.

Exhaustive and extensible

  • 17 domains: project, media, timeline, item, color, Fusion, gallery, audio, render, interchange, AI tools, UI, app and more.
  • One-call workflows: conform_from_edl, deliver, build_vertical_reel, apply_look, title_overlay.
  • Your own recipes: YAML templates, plus Python when you opt in.

Safe by default

  • File access is limited to the folders you allow.
  • The server's own state, its configuration and your Claude configuration files are always off-limits.
  • Symlinks are never followed when importing a folder.

Benchmarks

Headless Claude agents (Sonnet) ran four post-production jobs on a live Resolve Studio 21.1, five runs each. An agent that never saw the server's code wrote the jobs:

  • dailies: log and organise a day of footage;
  • promo: build a promo with a music bed;
  • look: grade with versions and a still;
  • spot QC: duplicate, export interchange files and render a range.

Each check reads Resolve directly, never through the server under test. Every agent ran under the same isolated harness. Full method and history →

[Jobs completed: davinci-mcp 100 %, community MCP 65 %, MCP Professional 50 %, Resolve built-in MCP 100 %] [Cost for the 4 jobs: davinci-mcp $0.62, community MCP $0.99, MCP Professional $1.04, Resolve built-in MCP $0.35]

ServerJobs passedTool callsCost (4 jobs)
davinci-mcp20 / 2035$0.62
Community MCP (samuelgursky/davinci-resolve-mcp)13 / 2090$0.99
MCP Professional (hoyt-harness/davinci-mcp-professional)10 / 20156$1.04
Resolve's built-in MCP20 / 2017$0.35

About the built-in server. Resolve 21.1 ships its own MCP server, which is cheaper because it hands the agent one tool, run_script_unsafe, to run arbitrary Python inside Resolve. That makes for short runs, but nothing is validated, read back, audited, snapshotted or confirmed before a delete. In our scale test (160 clips, 4 timelines) it once put a marker at the wrong frame, then reported the job done. davinci-mcp trades a little cost for changes you can trust.

Talk to it like an editor

text
Import the clips in ~/Footage/day03, sort interviews and B-roll into bins, and colour the circled takes green.
text
Build a 9:16 reel from these three shots, add subtitles from the audio, and render it for Instagram.
text
Conform this EDL against the media in ~/Rushes and deliver a ProRes master and an H.264 proxy.
text
Apply the show LUT to every shot of the timeline except the end card, and grab a still of the first shot.
text
Add a red marker at the start of every shot named "broll_" in Edit_03.
text
Duplicate the approved cut as "QC", export it as FCPXML and OTIO, and render 01:00:02:00 to 01:00:07:24.

How it works

mermaid
flowchart LR    A["AI agent<br/>Claude, Cursor…"] -->|MCP call| V["Validate<br/>+ repair"]    V --> C["Consent<br/>deletes only"]    C --> N["Snapshot<br/>destructive only"]    N --> X["Call Resolve<br/>one thread"]    X <-->|scripting API| D[("DaVinci<br/>Resolve")]    X --> R["Read back<br/>→ receipt"]    R --> L["Audit log"]    R -->|"verified: true / false"| A
  1. Validate. The agent calls a domain tool such as timeline_write with {"op": {"action": ..., ...}}, and the parameters are checked against a typed schema. Almost-right parameters are repaired, and each repair is reported.
  2. Consent and snapshot. Deletes stop at a plan until they are confirmed, and destructive edits take a snapshot first.
  3. Call Resolve. The call runs on a single executor thread, the only place Resolve is ever called from.
  4. Read back. The server reads the result back from Resolve and returns a receipt with verified. Long renders become jobs that the agent can wait on.

Tools

52 tools. Domain tools are named <domain>_read, <domain>_write and <domain>_delete, and take {"op": {"action": ..., ...}}; together they expose about 300 actions. Reads have no side effects, writes return a verified receipt, deletes ask for confirmation first.

  • resolve_status - Connection state, Resolve version and edition, current project, timeline and page.
  • describe_action - Compact parameter schemas of one or several actions.
  • search_api - Search the Resolve 21.1 scripting API by name or description.
  • batch_run - Run several tool calls in one call, server-side, with one confirmation for the batch.
  • workflow_write - One-call jobs: conform_from_edl, deliver, build_vertical_reel, apply_look, title_overlay.
  • recipe_list / recipe_run - List and run YAML or Python recipes; every step is validated, verified and audited.
  • project_read / project_write / project_delete - Projects, folders, databases, settings and settings presets; create, load, save, archive, import, export.
  • media_read / media_write / media_delete - Media pool and storage: import, bins, relink, proxies, metadata, markers, flags, multicam, mattes, audio sync.
  • timeline_read / timeline_write / timeline_delete - Timelines, tracks, markers, playhead, compound and Fusion clips, import and export.
  • item_read / item_write / item_delete - Timeline items: properties, speed, fades, takes, flags, colors, markers, transitions, stabilization.
  • color_read / color_write / color_delete - Node graphs, CDL, LUTs, versions, color groups, DRX grades, DCTL.
  • fusion_read / fusion_write / fusion_delete - Fusion comps and tools: add, connect, inputs, keyframes, expressions, Text+ titles, settings, fuses.
  • gallery_read / gallery_write / gallery_delete - Still albums: grab, import, export, label.
  • audio_read / audio_write - Loudness analysis, silence detection, normalization, voice isolation, Fairlight presets, audio mapping.
  • render_read / render_write / render_delete - Formats, codecs, presets and render jobs; render a timeline or a range, Quick Export.
  • interchange_read / interchange_write - EDL, FCPXML, OTIO, marker CSV and .cube LUT files, read and written without Resolve.
  • ai_read / ai_write / ai_delete - Transcription, subtitles from audio, scene-cut detection, Smart Reframe, audio classification, IntelliSearch.
  • vision_read - Export or screenshot frames and contact sheets so the agent can look at the picture.
  • ui_read / ui_write / ui_delete - Pages, menus and keyboard shortcuts, for the few things the API can't do.
  • app_read / app_write / app_delete - Resolve app info, layout presets, keyframe mode, quit.
  • snapshot_list / snapshot_write - Safety copies of the timeline or project, taken automatically before destructive edits.
  • job_status / job_wait / job_list / job_cancel - Long operations (renders, analyses) run as jobs.
  • code_delete - run_lua and run_python inside Resolve, an escape hatch that is off by default and always asks for confirmation.

Install

Requirements
  • DaVinci Resolve Studio 21.1 or later. In Preferences → General → External scripting using, choose Local.
  • The free edition 21.1+ is not supported. Resolve 21.1 took Python scripting out of the free edition, and its Lua sandbox can't reach the Resolve API (tested on 21.1.2). On the free 21.0.x, the in-app bridge should still work: run davinci-mcp install --bridge, then start it from Workspace → Scripts.
  • Python 3.13+ and uv (or pipx / pip).
bash
uv tool install davinci-mcp

pipx install davinci-mcp and pip install davinci-mcp work too.

bash
davinci-mcp doctor

doctor checks that Resolve is reachable and reports its version, edition and channel.

Claude Code
bash
davinci-mcp install --target claude-code

Or add it by hand:

bash
claude mcp add davinci-mcp -- davinci-mcp serve
Claude Desktop
bash
davinci-mcp install --target claude-desktop

This adds the server to claude_desktop_config.json. Restart Claude Desktop to load it. To do it by hand:

json
{  "mcpServers": {    "davinci-mcp": { "command": "davinci-mcp", "args": ["serve"] }  }}

If Claude Desktop can't find the command, use its absolute path (which davinci-mcp).

Without installing anything, any client can run it through uvx: { "command": "uvx", "args": ["davinci-mcp", "serve"] }. Don't run uvx davinci-mcp install: it would write a path from uv's temporary cache into the client config.

Cursor

In ~/.cursor/mcp.json:

json
{  "mcpServers": {    "davinci-mcp": { "command": "davinci-mcp", "args": ["serve"] }  }}
VS Code

In .vscode/mcp.json:

json
{  "servers": {    "davinci-mcp": { "type": "stdio", "command": "davinci-mcp", "args": ["serve"] }  }}
Any other MCP client

Run davinci-mcp serve over stdio. Use davinci-mcp serve --transport http for Streamable HTTP; it binds to loopback and needs a bearer token for any other host. The server also exposes a davinci://status resource.

Configure

The optional file ~/.config/davinci-mcp/config.toml holds the settings. Any key can be overridden with a DAVINCI_MCP_<SECTION>__<KEY> environment variable.

toml
[safety]allowed_roots = ["~/Movies", "~/Projects"]  # files outside these are refused (default: your home)auto_snapshot = "destructive"               # "off" | "destructive" | "all"
[recipes]allow_python = false                        # Python recipes run arbitrary code: opt in

The file does not exist until you create it; without it the defaults below apply. Unknown keys, or keys in the wrong section, stop the server with a validation error. In an environment variable a list is written [~/Movies,~/Footage].

All settings
KeyDefaultMeaning
state_dir (top level)~/.local/state/davinci-mcpAudit log, jobs, confirm tokens, temporary frames.
connection.auto_launchtrueStart Resolve when it is not running.
connection.headlessfalseLaunch Resolve with -nogui.
connection.call_timeout_s30Maximum seconds for one Resolve API call.
connection.launch_timeout_s90Maximum seconds to wait for Resolve to start.
connection.script_api, connection.script_libauto-detectedPaths to Resolve's scripting modules, only if detection fails.
safety.allowed_roots["~"]Folders tools may read or write; anything else is refused.
safety.auto_snapshot"destructive"When snapshots are taken unasked: "destructive", "all" or "off". A call can force it with snapshot.
safety.snapshot_dir<state_dir>/snapshotsWhere project exports (.drp) are written.
safety.snapshot_retention20Snapshots kept per project; older ones are pruned. 0 keeps none.
safety.consent_ttl_s300Lifetime of a confirm_token, in seconds.
safety.enable_code_executionfalseAllow arbitrary Python/Lua (code_delete) and Fusion scripts. This code runs with your user rights, outside allowed_roots.
http.host, http.port127.0.0.1, 8765Address for serve --transport http. Any non-loopback host requires a token.
http.token_envDAVINCI_MCP_TOKENName of the environment variable holding the bearer token.
server.schema_mode"compact""full" lists every action's complete schema in tools/list (much larger).
recipes.dirs["~/.config/davinci-mcp/recipes"]Folders of user recipes (see recipes).
recipes.allow_pythonfalseLoad *.py recipes, which run arbitrary code.

FAQ

The agent says it cannot reach Resolve

Check three things:

  • Resolve is running;
  • in Studio, External scripting using is set to Local;
  • no dialog is open in Resolve, such as an update prompt or a project manager.

Then run davinci-mcp doctor.

Does it work with the free edition?

Not from 21.1 on. Resolve 21.1 removed both external scripting and in-app Python scripts from the free edition. In-app Lua scripts still run, but in a sandbox with no file access, no network and no access to the Resolve API (tested on free 21.1.2), so no bridge can work there. On the free 21.0.x, the in-app Python bridge (davinci-mcp install --bridge) should still work. Otherwise you need Resolve Studio.

Can it delete my work?

Not without consent. Every delete returns a plan first and needs a matching confirm_token. Destructive edits snapshot the timeline, and every call is logged.

Will it touch files outside my projects?

Only inside allowed_roots. The server's own state, its configuration and your Claude configuration files are always refused, whatever you allow.

Why is the built-in Resolve MCP cheaper?

It runs one unchecked Python script per job. davinci-mcp makes typed, verified calls, so it uses a few more steps. batch_run and the one-call workflows keep that overhead small.

Contributing

Issues and pull requests are welcome. docs/domain-guide.md shows how to add an action: a parameter model, a handler, a read-back check and a test. The rest is generated from there.

bash
uv syncuv run pytestuv run ruff check . && uv run pyright

Credits

davinci-mcp is an independent project. It is not affiliated with, endorsed by or sponsored by Blackmagic Design. DaVinci Resolve is a trademark of Blackmagic Design Pty. Ltd.

Support

davinci-mcp is free and open source. If it saves you time in the edit, you can buy me a coffee:

[Support davinci-mcp on Ko-fi]

Made by Delanoe Pirard (Aedelon) · Apache 2.0

来源:README.md,提交 62e9c54

工具

0
SourceWeft 曾在隔离沙箱中以无凭据方式启动该软件包一次,以列出其工具,但未能完成:软件包安装失败。

版本历史

2
  1. v1.0.4最新Nov 1, 2026
  2. v1.0.2Nov 1, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Resolve 集成