resolve-studio-mcp
# resolve-studio-mcp
Lets an AI assistant work in **DaVinci Resolve Studio 21.2**: edit, grade, caption, reframe and render. Works with the Claude desktop
app, Claude Code, Cursor, VS Code, Codex and Gemini CLI.
> **Status: beta.** Almost every tool was tried on one real computer with Resolve 21.2 on Windows. Many single settings and menu items were
> not. [What works](#what-works) has the numbers. Mac and Linux were only tested without Resolve. Run the [live test](#live-test) on your
> own computer before you trust it with real work.
## What you need
- DaVinci Resolve **Studio** 21 (the free edition cannot be controlled from outside)
- In Resolve: Preferences > System > General > *External scripting using* = **Local**
- 64-bit Python 3.10, 3.11 or 3.12, or [uv](https://docs.astral.sh/uv/), which gets Python by itself
## Install
Setting it up with an AI? Give it [INSTALL_FOR_AI.md](INSTALL_FOR_AI.md).
```
uv tool install --python 3.12 git+https://github.com/Anbu-2006/davinci-resolve-studio-mcp
resolve-studio-mcp-setup --projects "MCP_TEST"
```
The setup program checks this computer, says `READY` or what to fix, and prints ready-to-paste settings for every AI app.
It changes nothing unless you add an install flag.
| AI app | How to connect |
|---|---|
| Claude desktop app | `resolve-studio-mcp-setup --projects "MCP_TEST" --install-claude-desktop`, or double-click the `.mcpb` file |
| Claude Code | `resolve-studio-mcp-setup --projects "MCP_TEST" --install-claude-code`, or the plugin (below) |
| Cursor, VS Code, Codex, Gemini CLI | paste what `resolve-studio-mcp-setup` prints |
| Other apps on this computer | `resolve-studio-mcp --http 127.0.0.1:8765`, then use `http://127.0.0.1:8765/mcp` |
| Without installing | `uvx --python 3.12 --from git+https://github.com/Anbu-2006/davinci-resolve-studio-mcp resolve-studio-mcp` |
The install flags ask first, make a backup of your settings, and keep all other servers.
**Claude Code plugin:** `/plugin marketplace add Anbu-2006/davinci-resolve-studio-mcp`, then
`/plugin install resolve-studio@resolve-studio-tools`. Use the plugin or the server, not both.
**Claude desktop extension:** build it with `python scripts/build_mcpb.py`, or download it from the CI run, and double-click it.
It shows up under Settings > Extensions.
## Toolsets
The AI starts with about 40 tools and can load more when it needs them (`activate_toolset`). To load more from the start, set
`RESOLVE_STUDIO_MCP_TOOLSETS`, for example `core,edit,vision,render`, or `all`.
| Toolset | At the start | What it does |
|---|---|---|
| `core` | always | status, help, search, projects, backups, edit plans, review, any documented API call |
| `edit` | always | timelines, tracks, clips, titles, effects, subtitles |
| `media` | on demand | import, bins, clip details, markers, sync, transcription |
| `color` | on demand | nodes, CDL, LUTs, versions, groups, gallery, looks |
| `fusion` | on demand | compositions, tools, inputs, keyframes, templates, zooms |
| `fairlight` | on demand | voice isolation, loudness, silence, speech |
| `render` | on demand | formats, queue, whole renders with a check of the file |
| `vision` | on demand | pictures of the timeline, so the AI can see its work |
| `photo` | on demand | Photo page albums and photos |
| `interchange` | on demand | AAF, XML, OTIO, EDL and subtitle files |
| `analysis` | on demand | speech to text, pauses, scenes, beats, loudness, faces (extra programs needed) |
| `ingest` | on demand | downloads you have the rights for, stock media, licence list |
| `overlay` | on demand | transparent motion graphics rendered outside Resolve |
| `ui` | on demand | menus, keys, mouse, jobs inside Resolve; off unless you allow it |
| `advanced` | on demand | API lookup, presets, Extras, cloud, card copies |
[docs/API_COVERAGE.md](docs/API_COVERAGE.md) lists every Resolve API method and the tool that uses it.
There are 15 skills for kinds of video (`guide topic='resolve-studio'` lists them; also resources `resolve-studio://skills/...`).
There are also six resources (`resolve://status`, `resolve://project/current`, `resolve://timeline/current`, `resolve://mediapool/tree`,
`resolve://render/queue`, `resolve://docs/api`) and five prompts (`rough_cut_from_folder`, `add_subtitles`, `color_match_shots`,
`export_for_instagram_reel`, `render_youtube_1080p`).
## Extra programs (optional)
`resolve-studio-mcp-setup doctor` shows what is there. `resolve-studio-mcp-setup --install-tools` installs the analysis packages into
a Python of their own (about 2 GB, asks first), and a small search model (34 MB) that helps the AI find the right tool. Motion graphics
with transparency need Node.js and `npm install -g hyperframes`. Blender and Manim are optional.
## Examples
- "Check the Resolve status."
- "Import D:/Footage/Day1 and make a rough cut with about 4 seconds per clip."
- "Add English subtitles to this timeline."
- "Make the selected shots look like the clip under the playhead."
- "Make a 9:16 version for Reels and render it."
## What works
<!-- made by tools/catalog/readme.py -->
Tried on a real DaVinci Resolve Studio 21.2.0.6, 2026-12-04.
| What | In all | Worked | Failed | Not tried |
|---|---|---|---|---|
| This server's tools | 113 | 111 tried | | 2 |
| Checks of these tools | 217 | 215 | 2 | 0 |
| Effects | 261 | 159 | 1 | 101 |
| Transitions | 67 | 67 | 0 | 0 |
| Titles | 134 | 134 | 0 | 0 |
| Generators | 187 | 44 | 0 | 143 |
| Fusion tools | 522 | 522 | 0 | 0 |
| Render codecs | 343 | 301 | 32 | 10 |
| Keyboard commands (can be given a key) | 506 | 504 | 2 | 0 |
| API methods (only calls that change something are logged; Resolve took them) | 530 | 93 | 0 | 437 |
| Way to do it | Best way for | Live checks passed | Failed |
|---|---|---|---|
| Scripts of Resolve | 2840 | 1 | 0 |
| Built from several scripts | | 1 | 0 |
| Fusion | 14212 | 3 | 0 |
| Files (grades, LUTs, macros) | 143 | 4 | 0 |
| Keys | 536 | 3 | 0 |
| Menus | 921 | 2 | 0 |
| Mouse and screen | | 2 | 0 |
| Signed job inside Resolve | | 1 | 0 |
| Programs outside Resolve | | 7 | 0 |
| Blackmagic's own AI server (not passed on) | 17 | | |
| No way: do it by hand | 4219 | | |
"Best way for" counts entries of the catalog. Most of the Fusion ones are single settings of Fusion tools. A way does not mean that each entry was tried.
Details: [COVERAGE](docs/COVERAGE.md), [LIVE_TEST_REPORT](docs/LIVE_TEST_REPORT.md).
<!-- end -->
`capabilities` finds the right tool, effect, command or setting, and `guide` opens its help page.
`routes` shows which ways are open on your computer. `perform` tries them in order: API, keys, menus. A way that fails halfway is undone first.
How often the search finds the right tool, and how thirty editing jobs went: [docs/EVAL_REPORT.md](docs/EVAL_REPORT.md).
## What Resolve does not allow
Scripts cannot build color nodes, use the mixer, change most plugin settings or run trackers. Some of this works with keys, menus or the
mouse, if you turn them on. Those ways are slower and break more easily: panels move, and other windows can come in front. The AI is told
about these limits (`guide` topic `quirks`).
## Safety
- **Plan first.** A change does nothing at first. It returns a plan and a token. The token works once, for five minutes, and only
for exactly that plan. If the timeline changed meanwhile, it is refused.
- **Named timeline.** A change must name its timeline. The server never edits "whatever is open".
- **Allow-list.** Only projects in `RESOLVE_STUDIO_MCP_PROJECTS` can be changed. An empty list allows no change.
- **Backup and snapshots.** The project is saved and copied before the first change. Each timeline gets a snapshot before each
change. `timeline_versions` shows what changed and can bring an old state back as a new timeline.
- **New timeline for whole edits.** `edit_plan` always builds a new timeline and leaves yours alone.
- **Known problems.** Calls that are known to lose work are refused until you accept it.
- **Read back.** Each answer says `verified`, `silent_failure` (Resolve said yes but nothing changed), `contradiction`,
`mismatch` or `unverifiable`.
- **Files.** Written only to the server's folders and the ones you allow.
- **Off unless you turn it on:** Fusion scripts, jobs inside Resolve, menus, keys and mouse, starting Resolve, and the network.
One thing to know: the AI sends the token itself. Your AI app should show you each tool call, so read the plan before you allow it.
## Settings
| Variable | Meaning | Default |
|---|---|---|
| `RESOLVE_STUDIO_MCP_PROJECTS` | projects that may be changed, separated by commas; `*` = all | none |
| `RESOLVE_STUDIO_MCP_TOOLSETS` | see above | core,edit |
| `RESOLVE_STUDIO_MCP_READONLY` | `1` removes every tool that changes something | off |
| `RESOLVE_STUDIO_MCP_ENABLE_SCRIPT` | `1` offers `run_fusion_script`, `run_inside`, and Manim in `external_render` | off |
| `RESOLVE_STUDIO_MCP_ENABLE_UI` | `1` offers `menu`, `keyboard_command`, `ui_look`, `ui_locate`, `ui_screen` (Windows) | off |
| `RESOLVE_STUDIO_MCP_ALLOW_LAUNCH` | `1` offers `start_resolve` | off |
| `RESOLVE_STUDIO_MCP_ENABLE_NETWORK` | `1` offers `fetch_media` and `stock`, and lets speech models be downloaded | off |
| `RESOLVE_STUDIO_MCP_CHAT_APPROVALS` | `1` lets the AI pass on your yes from the chat, if your app cannot ask you directly | off |
| `RESOLVE_STUDIO_MCP_PEXELS_KEY`, `..._PIXABAY_KEY`, `..._FREESOUND_KEY` | your own free keys for `stock` | none |
| `RESOLVE_STUDIO_MCP_TOOLS_VENV` | Python with the analysis packages | in the data folder |
| `RESOLVE_STUDIO_MCP_FFMPEG_SKILL` | folder of [ffmpeg-skill](https://github.com/kajisho5/ffmpeg-skill), optional | none |
| `RESOLVE_STUDIO_MCP_BLENDER` | blender.exe, if it is not in the usual place | none |
| `RESOLVE_STUDIO_MCP_OUTPUT_DIR` | renders, exports, stills | Documents/resolve-studio-mcp |
| `RESOLVE_STUDIO_MCP_ALLOWED_DIRS` | more folders to write to, separated by `;` | none |
| `RESOLVE_STUDIO_MCP_DATA_DIR` | backups, logs, index | %LOCALAPPDATA%/resolve-studio-mcp |
| `RESOLVE_STUDIO_MCP_CALL_TIMEOUT` | seconds per call | 30 |
| `RESOLVE_STUDIO_MCP_UI_RATE` | key presses per second | 2 |
## Error codes
Every error has a code, a message and a one-sentence fix.
| Code | What to do |
|---|---|
| `RESOLVE_NOT_RUNNING` | Start Resolve Studio and open a project |
| `SCRIPTING_UNAVAILABLE` | Set external scripting to Local and restart Resolve |
| `NOT_STUDIO` | Use Resolve Studio |
| `LIBRARY_NOT_FOUND` | Install Resolve Studio, or set RESOLVE_SCRIPT_LIB |
| `PYTHON_ABI` | Use 64-bit Python 3.10 to 3.12 |
| `RESOLVE_BUSY` | Wait, or close a dialog in Resolve |
| `TIMEOUT` | Close a dialog in Resolve and try again |
| `NOT_SUPPORTED_IN_THIS_VERSION` | Update Resolve, or use another tool |
| `NO_PROJECT` | Open a project |
| `NO_TIMELINE` | Open a timeline |
| `NOT_FOUND` | List again and use an exact name or handle |
| `AMBIGUOUS` | Use the handle, several objects have this name |
| `HANDLE_STALE` | The object is gone, list again |
| `BAD_ARGUMENTS` | Correct the arguments |
| `UNKNOWN_TOOL` | Load the toolset with `activate_toolset` |
| `NOT_APPROVED` | The user said no. Change it as they want, and ask again |
| `CONFIRMATION_REQUIRED` | Show the plan, then repeat with dry_run=false and the token |
| `TOKEN_INVALID` | The token was used or is too old: make a new plan |
| `PLAN_MISMATCH` | The request or the timeline changed: make a new plan |
| `TIMELINE_REQUIRED` | Name the timeline by its handle |
| `WRONG_TIMELINE` | Use the timeline that holds these clips |
| `TRAP` | Known problem: go on only if you accept it |
| `DEPENDENCY_MISSING` | Install the program named in the answer |
| `LICENSE_BLOCKED` | Use other material, or record a licence that allows it |
| `PROJECT_NOT_ALLOWED` | Add the project to the allow-list |
| `READONLY` | Read-only mode is on |
| `FEATURE_DISABLED` | Turn the feature on with its variable |
| `PATH_NOT_ALLOWED` | Use an allowed folder |
| `BACKUP_FAILED` | Save the project under a proper name |
| `CALL_FAILED` | Check the arguments and the state of Resolve |
| `KNOWN_CRASH` | Do this step by hand |
| `UI_NOT_FOREGROUND` | Bring Resolve to the front |
| `INDEX_MISSING` | Install Resolve Studio 21.1 or newer |
| `INTERNAL` | Report it with the log file |
## Live test
Make an empty project named `MCP_TEST`, open it, get the source code, and run:
```
python scripts/integration_test.py # looks only
python scripts/integration_test.py --write --render # also changes MCP_TEST and renders a short file
python scripts/integration_test.py --write --render --screen --network # also keys, menus, mouse, and one download
python scripts/live_tasks.py # thirty editing jobs
```
They refuse to run in any other project. The first one writes `LIVE_TEST_REPORT.md`. Leave the computer alone while `--screen` runs.
## For developers
`pip install -e .[dev]`, then `pytest` and `ruff check .`. No Resolve needed. See [AGENTS.md](AGENTS.md) and [docs/DESIGN.md](docs/DESIGN.md).
Licences of everything that is used: [LICENSING.md](LICENSING.md).
MIT licence. Independent project, not made by Blackmagic Design, and it contains no Blackmagic files.
TDQS
Scored across 40 tools
Most tools target distinct areas (grade, timeline, clips, render, markers, projects), but several clusters overlap: edit_job vs edit_plan (both build a whole edit from a brief/plan), and call vs perform vs batch vs routes (all 'execute operations, best available way'). Discovery tools (guide, capabilities, api_describe, find) also blur into one another, though the descriptions do give usable guidance for picking.
There is a dominant verb_noun pattern (export_frame, set_grade, get_timeline, edit_audio, append_clips), but it is mixed with noun_noun names (project_manager, timeline_versions, fusion_templates, state_snapshot, clip_effects) and bare verbs (find, review, brief, batch, status, guide, call, perform, routes). The edit_* family (edit_job, edit_plan, edit_audio, edit_markers, timeline_edit) also uses three different structures for editing concepts. Still readable, but not predictable.
40 tools at once is heavy for any agent context, and the surface includes a lot of process/ceremony tools (brief, edit_job, review, routes, perform, state_snapshot, export_execution_report) alongside the actual Resolve operations. The activate_toolset/async_jobs lazy-loading design acknowledges the crowding, but the base set alone already exceeds a comfortable scope.
Coverage of the Resolve domain is unusually thorough: projects and backups, media import and search, timeline lifecycle and versions, clip properties, effects/transitions, color nodes, audio, AI analysis, reframe, render, QA review and reporting. Remaining gaps are mostly platform limits that are explicitly called out (no script access to ResolveFX settings, mixer/EQ, wheel/curve values, razor split).