Skip to main content
Glama

davinci-resolve-mcp-plus

Diagram: Claude talks to the MCP server (Python), which sends Lua to the bridge inside DaVinci Resolve; 137 tools for the Edit, Color, Fusion, Audio, Media Pool, and Render areas, on Windows and macOS, free edition supported

test

Let Claude Code drive DaVinci Resolve 21 on Windows, free edition included. It has 137 tools, and every one of them was tested live on Resolve 21.2.0.6 free on Windows 11. They cover the Edit and Color pages, the media pool, projects and interchange, Fusion, audio, and render. It also runs on macOS and works with Studio.

This project builds on kingjamesch/davinci-resolve-mcp, which found the way in. Resolve 21.1 free removed Python scripts from the Workspace > Scripts menu and blocks external scripting, but Lua menu scripts still run. A Lua bridge runs inside Resolve and a small Python MCP server runs outside. The server sends Lua to the bridge, the bridge runs it against the live resolve object and sends the answer back. A call takes about 80 to 95 ms as measured upstream.

The upstream project has 33 tools for macOS. This one adds Windows support and 104 tools. run_lua covers anything the named tools do not. CHANGELOG.md lists what was added, and WINDOWS.md has the test notes.

Tested on

  • Windows 11 with DaVinci Resolve 21.2.0.6 free. Every tool was tested live there.

  • macOS: the macOS code is the upstream code, unchanged, and CI runs the unit tests on macOS. The new tools use the same Resolve API on both systems, but this release was not tested on a Mac with Resolve. If something fails there, please open an issue.

Related MCP server: Resolve Claude MCP

Requirements

  • DaVinci Resolve 21, free or Studio

  • Claude Code

  • Python 3.9 or newer. On macOS the installer and the plugin use /usr/bin/python3. On Windows any Python 3.9+ works.

  • No pip installs. The server uses the standard library only.

Install on Windows

git clone https://github.com/datacg/davinci-resolve-mcp-plus.git
cd davinci-resolve-mcp-plus
python -I install_windows.py

The installer:

  1. Copies the server into a private folder, %USERPROFILE%\mcp\resolve-mcp\app, so the code that runs is not in a folder other accounts can change.

  2. Creates the state folder %USERPROFILE%\mcp\resolve-mcp\state.

  3. Writes the state path into the bridge and installs the two Lua scripts in %APPDATA%\Blackmagic Design\DaVinci Resolve\Support\Fusion\Scripts\Utility.

It does not register the server with Claude Code. Do that once, with the full path to your Python:

claude mcp add davinci -s user -- "C:\path\to\python.exe" -I "%USERPROFILE%\mcp\resolve-mcp\app\server.py"

Write the path to server.py in full if your shell does not expand %USERPROFILE%. Then restart Resolve once, open a project, and click Workspace > Scripts > Claude_MCP_Bridge.

After pulling a new version, run python -I install_windows.py again and restart Claude Code. --check reports what is installed and --uninstall removes it.

Install on macOS

git clone https://github.com/datacg/davinci-resolve-mcp-plus.git
cd davinci-resolve-mcp-plus
./install.sh

The installer does four things:

  1. Copies the two Lua scripts into ~/Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Scripts/Utility/. It stamps the state directory path into the bridge.

  2. Creates the state directory ~/Library/Application Support/Blackmagic Design/DaVinci Resolve/ClaudeMCP with mode 0700.

  3. Registers the server with Claude Code at user scope as davinci.

  4. Prints the next steps.

Next steps, as the installer prints them:

NEXT STEPS
1) Quit and reopen DaVinci Resolve once (it scans the Scripts menu only at startup).
2) In Resolve: Workspace > Scripts > Claude_MCP_Bridge (do this once per Resolve session; Claude_MCP_Bridge_Stop stops it).
3) In Claude Code run /mcp and check that 'davinci' is connected, then ask for resolve_status.

Other flags:

Flag

Effect

--claude-desktop

Also adds davinci to the Claude Desktop config. Optional. An existing config is backed up first.

--no-claude

Skip the Claude Code registration.

--check

Report what is installed.

--uninstall

Remove the Lua scripts and the Claude Code registration. Add --purge to delete the state directory too. ./uninstall.sh does the same.

Claude Code plugin (macOS)

On macOS you can skip the clone. Inside Claude Code:

/plugin marketplace add datacg/davinci-resolve-mcp-plus
/plugin install davinci-resolve@davinci-resolve-mcp-plus
/davinci-resolve:setup

The plugin registers the davinci server itself, and /davinci-resolve:setup copies the two Lua scripts into Resolve's Scripts folder. Then restart Resolve once and click Workspace > Scripts > Claude_MCP_Bridge. The plugin also ships a resolve skill with the conventions Claude needs (absolute frames, marker rules, Lua idioms, Studio-only traps). The plugin starts the server with /usr/bin/python3, so on Windows use install_windows.py instead.

Use either the plugin or ./install.sh, not both, or Claude Code sees two davinci servers (claude mcp remove davinci -s user removes the clone-based one).

If you have the upstream server installed, remove it first. Both register a server named davinci.

Daily use

  1. Open Resolve with a project.

  2. Click Workspace > Scripts > Claude_MCP_Bridge. Do this once per Resolve session.

  3. In Claude Code, ask for resolve_status first. It tells you whether the bridge is alive.

  4. To stop the bridge, click Workspace > Scripts > Claude_MCP_Bridge_Stop.

Example prompts:

  • "Call resolve_status, then list my timelines."

  • "Add a red marker named 'fix audio' at 00:00:10:00 on the current timeline."

  • "Import everything in D:\Footage\day1 and make a timeline called Day 1 from it."

  • "Apply this LUT to node 1 of every clip on video track 1."

  • "Queue an mp4 render of the current timeline into my Exports folder, start it, and tell me when it finishes."

Tools

The full reference, with every argument, is in docs/TOOLS.md. It is generated from the code.

Group

Tools

What they cover

Status and project

8

Bridge status, pages, projects, project settings

Timelines

12

Timelines, markers, items, titles and generators, timeline export

Edit page

29

Item properties and markers, tracks, trims, moves, speed, fades, effects, transitions, links, compound clips, gaps, silence, frame export

Color page

27

Nodes, LUTs and CDL, grades and DRX files, versions, color groups, gallery stills and albums

Media pool

13

Folders, imports, clip metadata and attributes, proxies, relinking, moves and deletes

Projects and interchange

25

Project files, folders, presets and archives, render presets, timeline imports (AAF, DRT and others), bin export

Fusion and audio

15

Fusion compositions and clips, render cache, audio levels, audio mapping, Auto Sync Audio

Render

6

Render jobs, formats and codecs, status

Escape hatch

2

run_lua runs any Lua 5.1 chunk inside Resolve; scripting_api_docs searches Blackmagic's API reference

Write tools open the page of their feature and leave it open, so you see the change where it happened. Reads do not switch pages. Destructive tools need confirm: true.

Conventions: paths are absolute, frames are integers in the timeline's own numbering, timecodes are HH:MM:SS:FF, and track and item indexes start at 1.

How it works

  • Claude Code starts server.py over stdio. The server speaks MCP and holds no network socket.

  • To send a request, the server creates folders under the state directory. The request is hex-encoded into the folder names.

  • The Lua bridge lists those folders every 30 ms, decodes the request, and runs it with the resolve object bound.

  • The bridge returns the answer with fu:SetData, which Resolve writes to Fusion.prefs. The server polls that file.

  • The last response stays in Fusion.prefs and is cleared about 10 seconds after it was written; the bridge also clears it when it stops.

  • Several Claude Code sessions can share one Resolve: every server takes a lock in the state directory, so requests run one at a time.

The wire format is in docs/PROTOCOL.md. The upstream design record is in docs/MCP-RECORD.md.

Troubleshooting

  • Tools say the bridge is not running. Open Resolve with a project and click Workspace > Scripts > Claude_MCP_Bridge, then retry.

  • Workspace > Scripts shows no Claude_MCP_Bridge. Resolve was not restarted after the install. Quit and reopen it. Run the installer with --check to confirm the files are in place.

  • A tool times out. Resolve is probably showing a dialog, such as the Studio upsell or a frame-rate question after an import. Dismiss it in Resolve. Long operations also block the bridge until they finish.

  • A Studio-only feature fails. Do not use Studio-only features on the free edition. They fail or open an upgrade dialog that blocks the bridge.

  • The old davinci-resolve-lite-mcp Python scripts do nothing. They cannot work on 21.1 or later, because Python scripts no longer appear in the Scripts menu and external scripting is blocked.

Not included

Features that need Studio (scene cut detection, Voice Isolation, subtitles from audio, transcription), cloud projects, switching databases, and a few API calls that did not work in tests on Resolve 21.2. WINDOWS.md lists them under "Pending work". run_lua reaches them in the meantime. Set DAVINCI_MCP_DISABLE_RUN_LUA=1 in the server environment to remove run_lua from the tool list.

Security posture

  • Local only. The server opens no network port and sends no telemetry.

  • There are no credentials. The identity is your user account.

  • Anyone who can write to the state directory can run Lua inside Resolve as you. On macOS the directory is created with mode 0700. On Windows it lives in your profile folder, which other standard accounts cannot write to.

  • Destructive tools need confirm: true. run_lua is open-ended, so Claude is told to ask you before running code that deletes or overwrites.

  • Responses are size-capped. Over-cap results come back marked truncated.

  • Fusion.prefs is readable by your user and holds the last response until it is cleared.

  • To shut it down, run the Stop script and delete the state directory.

  • The server logs only the tool name, status, and duration to stderr. It never logs arguments or results.

Development

Run the tests (on Windows, use your Python instead of /usr/bin/python3):

/usr/bin/python3 -m unittest discover -s tests -t .

Regenerate the tool reference after changing any tool:

/usr/bin/python3 scripts/gen_tools_doc.py

A test fails if docs/TOOLS.md is stale or if a tool is renamed. The Lua compile tests and the offline bridge round trip run when Resolve's fuscript is installed and are skipped otherwise.

Layout:

server.py                  stdio entry point
install.py, install.sh     macOS installer, uninstaller (uninstall.sh)
install_windows.py         Windows installer
bridge/                    Lua scripts that run inside Resolve
davinci_mcp/               server, transport, prefs parser, Lua encoder, docs index
davinci_mcp/tools/         one module per tool group
docs/                      MCP-RECORD.md, PROTOCOL.md, TOOLS.md (generated)
scripts/gen_tools_doc.py   generates docs/TOOLS.md
tests/                     unit tests and the offline bridge round trip

Credits

  • kingjamesch/davinci-resolve-mcp, MIT: the bridge, the transport, the server, and the first 33 tools.

  • The JSON encoder and several measured host facts are adapted from saadk408/davinci-resolve-lua-mcp, MIT.

  • The idea of using Lua over the preferences file as a channel comes from AutoSubs.

  • The Windows port and the added tools were developed with AI coding assistance from Claude Code (Anthropic).

License

MIT. See LICENSE.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers