resolve-mcp
# resolve-mcp
MCP server for **DaVinci Resolve Studio 21** with full coverage of the scripting API — 130+
tools: dedicated tools for projects, media storage, media pool, clips, timelines, tracks, items,
markers, color nodes / LUTs / CDL / versions / groups / gallery, Fusion comps, Fairlight, AI
features and rendering; `call_api` / `call_api_batch` for any other API method, API discovery
tools that read the scripting stubs and README installed with Resolve, and `execute_python` as a
last resort.
```
Agent ── MCP (stdio) ──> resolve-mcp (Python ≥ 3.11) ── fusionscript ──> DaVinci Resolve Studio
```
## Requirements
- DaVinci Resolve **Studio** 21.x running on the same machine, with
*Preferences > System > General > External scripting using* set to **Local**.
- [uv](https://docs.astral.sh/uv/).
## Install
1. In Resolve: *Preferences > System > General > External scripting using* = **Local**.
2. Install uv: `curl -LsSf https://astral.sh/uv/install.sh | sh`
3. Check the connection (Resolve open):
```bash
uvx --from git+https://github.com/toolbox-design-ia/resolve-mcp resolve-mcp status
```
4. Register the server with your agent. Desktop apps don't always inherit your shell `PATH`, so
use uvx's full path (`which uvx`).
**Claude Desktop** (`~/Library/Application Support/Claude/claude_desktop_config.json`):
```json
{
"mcpServers": {
"resolve": {
"command": "/Users/YOU/.local/bin/uvx",
"args": ["--from", "git+https://github.com/toolbox-design-ia/resolve-mcp", "resolve-mcp"]
}
}
}
```
**Claude Code**
```bash
claude mcp add resolve -- uvx --from git+https://github.com/toolbox-design-ia/resolve-mcp resolve-mcp
```
**OpenAI Codex CLI** (`~/.codex/config.toml`):
```toml
[mcp_servers.resolve]
command = "uvx"
args = ["--from", "git+https://github.com/toolbox-design-ia/resolve-mcp", "resolve-mcp"]
```
Restart the app after editing its configuration. `resolve-mcp tools` lists every tool.
**Over HTTP, for an agent platform on another machine** (Agents Factory, for example). Only with a
token, which every request carries as `Authorization: Bearer <token>`; without it, 401. Listen on a
private address (your tailnet's), never on all interfaces of a public network:
```bash
mkdir -p ~/.config/resolve-mcp && openssl rand -hex 32 > ~/.config/resolve-mcp/token && chmod 600 ~/.config/resolve-mcp/token
resolve-mcp serve --http --host 100.x.y.z --port 8765 # the server is http://100.x.y.z:8765/mcp
```
The token can also come from `RESOLVE_MCP_TOKEN` or `--token-file`. Without one (or with fewer than
32 characters, or in a file others can read) the server does not start. Run it as the user who runs
Resolve: scripting only reaches the Resolve of the same session.
Environment variables: `RESOLVE_SCRIPT_LIB` (path to fusionscript) and `RESOLVE_SCRIPT_API`
(Resolve's Developer/Scripting folder), both auto-detected on macOS, Windows and Linux;
`RESOLVE_HOST` (connect to a Resolve on another machine with network
scripting enabled).
## Addressing objects
| Reference | Object |
|---|---|
| `project`, `media_pool`, `media_storage`, `gallery`, `resolve`, `project_manager`, `fusion` | singletons |
| `timeline`, `timeline:<uid or name>` | current / given timeline |
| `item:<uid>` | timeline item |
| `clip:<uid>`, `clip:Master/Bin/name.mov`, `clip:<name>` | media pool item |
| `folder:Master/Bin` | media pool bin |
| `graph:item:<uid>[:layer]`, `graph:timeline`, `graph:group:<name>:pre\|post` | node graph |
| `color_group:<name>`, `album:still:<n>`, `album:powergrade:<n>`, `comp:<item uid>:<n>` | other |
| `handle:<n>` | any other object returned earlier |
Inside `call_api` arguments, objects are `{"$ref": "..."}` and constants `{"$const": "EXPORT_EDL"}`.
## Development
```bash
uv run pytest # offline tests
uv run python scripts/live_check.py # read-only checks against a running Resolve
uv run python scripts/edit_check.py # builds and deletes a throw-away project
```
## License
Freeware, © 2026 Toolbox Design — see [LICENSE](LICENSE). DaVinci Resolve is a trademark of
Blackmagic Design; this project is not affiliated with Blackmagic Design.
TDQS
Scored across 132 tools
Most tools target a genuinely distinct resource+action (bins, clips, timelines, render jobs, markers), but there are real overlaps: four escape hatches (call_api, call_api_batch, execute_python, plus the api-doc/introspection tools) all let you do 'anything', and preset handling is split across list_presets/manage_preset/get_render_options/set_render_settings. Editing tools like update_item vs update_clip vs update_track vs set_timeline_settings require careful reading of descriptions to distinguish. Descriptions are excellent, so an attentive agent can disambiguate, but boundaries are not self-evident.
The dominant convention is snake_case verb_noun (list_clips, get_clip, create_bin, delete_markers), which is good. However, a sizable minority are resource- or domain-named rather than verb-named (item_ai, timeline_ai, playhead, grade_versions, quick_export, cloud_project, fusion_comps, call_api), and a few blend multiple actions under one name (manage_stills, manage_mattes, manage_takes, playhead). Readable but not a clean uniform pattern.
132 tools is far beyond navigable size for an agent and the server already ships generic escape hatches (call_api, call_api_batch, execute_python) that could absorb many of the narrow wrappers. The breadth is partly justified by Resolve's enormous surface (media pool, timelines, color, fusion, fairlight, deliver), but the count is still excessive and redundant at the margins.
Coverage is exceptional: projects/databases, media pool and bins, import/export/relink, clip metadata and mattes, timelines and tracks, items and takes, markers, gallery/stills, Fusion comps, color grading and CDLs, render queue, Fairlight, AI actions, plus introspection and arbitrary-API escape hatches. Almost no lifecycle gap remains, and dead ends are covered by call_api/execute_python.