resolve-codemode
Enables searching the DaVinci Resolve API and running Lua programs inside Resolve to read and edit the current project/timeline, with dry-run recording, apply-time snapshots and automatic rollback, plus rendered-frame inspection.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Resolve Code Mode
Cloudflare's Code Mode applied to DaVinci Resolve: instead of dozens of single-purpose MCP tools, Claude gets four tools and writes one Lua program that does the whole job inside Resolve. Works on Resolve Free 21.2 (macOS).
Tool | What it does |
| Finds Resolve API methods. All 443 entries were verified to exist on the running Resolve, with measured notes (signatures, gotchas). |
| Runs a Lua program. Dry run by default: reads hit the real project, changes are only recorded. |
| Returns frames of the timeline as Resolve renders them, so Claude can check its own edit. |
| Undoes the last apply. |

Benchmark
5 editing tasks on a copy of a real 11-minute, 4K timeline (64 clips), Claude Sonnet, headless, graded by a checker inside Resolve. Tool calling = davinci-resolve-mcp-free (52 tools).
Tool calling | Code Mode | |
Tasks passed | 5/5 | 5/5 |
Input tokens | 683,077 | 146,075 (4.7× fewer) |
Cost | $0.48 | $0.26 (47% less) |
Wall time | 72 s | 62 s |
Tool calls | 13 | 11 |

Per-task numbers: bench/results.md. One run per task, so treat it as an
indication, not a law. Most of the token difference is context: 52 tool definitions are sent
on every turn, 4 tools plus on-demand API search are not. In 3 of 5 tasks the tool-calling run
reached for its own run_lua escape hatch, i.e. it wrote code anyway.
Related MCP server: davinci-resolve-lite-mcp
How it works
Transport: Resolve Free 21.1.2+ has no external scripting and its Lua can't touch files, so programs are typed into Resolve's Console window via macOS Accessibility (reusing davinci-resolve-mcp-free's console channel) and the answer is read back.
Dry run:
runtime.luawraps theresolveobject in a proxy.Get*/Is*/Has*/ExportFramepass through; every other call is recorded and, in dry run, replaced by a stand-in.API index: the
.pyimethod reference is missing from the install, so candidate names from Blackmagic's README/CHANGELOG are probed on live objects (type(obj.Name) == "function").
Setup
Needs macOS, DaVinci Resolve (Free or Studio, tested on 21.2 Free), Python 3.11+ and Claude Code.
git clone https://github.com/tsanirudh/resolve-codemode.git && cd resolve-codemode
python3 -m venv .venv && .venv/bin/pip install -e .
claude mcp add --scope user resolve-codemode -- "$PWD/.venv/bin/resolve-codemode"This pulls in davinci-resolve-mcp-free from
GitHub for the Console channel. Then allow Claude Code in System Settings → Privacy & Security →
Accessibility (the entry is a lowercase claude) and restart it. Open Resolve with a project and ask
Claude to do something to your timeline.
Rebuild the API index for your own Resolve version:
.venv/bin/python scripts/build_index.pyTests:
.venv/bin/pip install pytest && .venv/bin/python -m pytest(needsluajit)Benchmark:
.venv/bin/python bench/run.py(needsclaude auth login; editSOURCEinbench/run.pyto a timeline in your project)
Credits
The Console channel comes from davinci-resolve-mcp-free. The idea is Cloudflare's Code Mode. MIT licensed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Turn Claude into a creative studio: DNA-locked characters, images, video, voiceover — 55 tools.
The agentic video editor for ChatGPT and Claude. Ask in your chat and it cuts, captions, adds music, titles and motion graphics on a real timeline you can open and adjust.
Autonomous AI video editor over MCP: 37 tools, 189+ actions, 280+ caption templates, MP4 export.
AI video editor your agent can drive: plan scenes, edit a multi-track timeline, and render MP4s.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables natural language control of DaVinci Resolve, allowing Claude to browse projects, edit timelines, apply color grades, render exports, and perform AI-powered frame analysis via Moondream.7717MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI clients such as Claude Code to control DaVinci Resolve, including the free Lite edition, through a local HTTP server that runs inside Resolve's Scripts menu. It exposes 163 tools for editing, color, rendering, media pool, and Fusion title styling.8MIT
- AlicenseNot gradedqualityBmaintenanceEnables controlling the free edition of DaVinci Resolve 21.1 from Claude through tools for project and timeline management, media pool access, markers, rendering, and arbitrary Lua execution inside Resolve.13MIT
- AlicenseNot gradedqualityCmaintenanceConnects Claude AI to DaVinci Resolve Studio over the Model Context Protocol to enable natural-language video editing, color grading, Fusion compositing, media and timeline management, rendering, and script execution, with a route that works on the free edition.MIT