DaVinci Resolve MCP Server
Provides CLI and MCP tools for controlling DaVinci Resolve 18+, including project management, media import, timeline editing, marker operations, render control, and subtitle import/export.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DaVinci Resolve MCP Servershow my current timeline name"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
davinci-resolve-cli (dvr)
A CLI for DaVinci Resolve 18+ — project / media / render / timeline control for humans and AI agents.
Demo
$ dvr doctor --format json | jq '{version, edition, bridgeStatus}'
{
"version": "19.1.4.11",
"edition": "Studio",
"bridgeStatus": "ok"
}
$ dvr project current --format json
{
"name": "Untitled Project",
"timelineCount": 1,
"framerate": 24.0,
"resolution": { "width": 3840, "height": 2160 }
}
$ dvr render presets --format json | head -3
[
"H.264 Master",
"ProRes 422 HQ"
$ dvr timeline marker add --at 00:00:01:00 --note "review" --color Green --format json
{ "ok": true, "frame": 24, "timecode": "00:00:01:00" }
$ dvr mcp # ← then any MCP client (stdio) can call 20 toolsAn animated demo will replace this snapshot once
vhs docs/demo.tapecan be run on macOS 15 (the tape script anddocs/demo.tapesource are already in the repo).
Install
pipx install davinci-resolve-cliRequires DaVinci Resolve 18+ already installed (Studio recommended). macOS first; Windows/Linux follow.
Quickstart
# Health check
dvr doctor
# Project ops
dvr project list
dvr project current
# Media batch
dvr media import ~/footage --recursive --bin "Day1"
# Render (async)
JOB=$(dvr render submit --preset "H.264 Master" --timeline cur --output ~/out.mp4 --format json | jq -r .jobId)
dvr render wait "$JOB"
# Timeline scripted edits
dvr timeline marker add --at 01:00:05:00 --note "review"Capabilities at a glance
Domain | Subcommands | What it does |
| — | Diagnose the Resolve bridge environment (version, Studio / Free, API path, issues) |
|
| Project library CRUD |
|
| Media-pool batch ops — recursive import, per-bin lookup, 16 named flag colors, partial-failure reporting |
|
| Async render queue. |
|
| Timeline CRUD + marker ops. * |
| — | Start a stdio MCP server exposing 20 tools (one per CLI verb), each with a JSON-Schema'd |
|
| Round-trip |
|
| TOML-driven defaults; |
|
| Deploy / remove the Workflow Integration plugin used by |
Conventions across every command:
--format json|yaml|table— JSON by default in non-TTY,table(rich) in TTY, override viaDVR_OUTPUTStructured errors on stderr —
{"errorCode", "message", "hint"}, stable codes (resolve_not_running,validation_error,not_found,api_call_failed,wi_unavailable, …)--dry-runon every mutating command — prints theplannedactions without touching ResolveExit codes:
0ok,1user error,2Resolve unavailable,3API call failed
Output formats
context | default |
TTY |
|
pipe / non-TTY |
|
Override with --format json|yaml|table or DVR_OUTPUT=yaml.
AI Agent
dvr ships two complementary AI-agent integration paths.
1. Skill file (SKILL.md)
A SKILL.md packaged with the wheel; auto-discovered by skill systems that scan installed packages. Five worked example prompts:
"Render the current timeline as 1080p mp4"
"List clips imported today and tag them green"
"Wait for render job X and tell me when it finishes"
"Check if Resolve is ready"
"Tag all clips in Day1 bin as Green for review"
2. MCP server (dvr mcp)
Standard stdio MCP server exposing 20 tools across doctor / project.* / media.* / render.* / timeline.* namespaces. Any MCP-aware AI client can wire it up:
// .mcp.json or your client's MCP server config
{
"mcpServers": {
"davinci-resolve": {
"command": "dvr",
"args": ["mcp"]
}
}
}Tool errors are returned as structured JSON {"errorCode", "message", "hint"} matching the CLI's stderr contract — same error codes (resolve_not_running, validation_error, not_found, etc.) so an agent can branch on them deterministically.
Verify the server is reachable:
dvr mcp # blocks, reads stdin/writes stdout per MCP specArchitecture
flowchart LR
Human["Human<br/>(terminal)"]
Agent["AI agent<br/>(MCP client)"]
CLI["dvr CLI"]
MCP["dvr mcp<br/>(stdio)"]
Boot["bootstrap.py"]
DVRScript["DaVinciResolveScript"]
Resolve["DaVinci Resolve 18+"]
WIServer["wi_client.py<br/>(localhost:50420)"]
WIPlugin["WI plugin<br/>(JS, inside Resolve)"]
Jobs["~/.dvr/jobs.json"]
Human -->|argv| CLI
Agent -->|tool calls| MCP
MCP -->|same helpers| CLI
CLI --> Boot --> DVRScript --> Resolve
CLI -->|render jobs| Jobs
CLI -->|cut/move<br/>JSON-RPC| WIServer
WIPlugin -->|poll /inbox<br/>POST /result| WIServer
WIPlugin --> ResolveFive command domains, two transports (CLI + MCP), one bridge (DaVinciResolveScript), one escape hatch for ops the Python API doesn't cover (Workflow Integration). Full write-up in docs/architecture.md.
Compatibility
OS | Status |
macOS (Apple Silicon / Intel) | ✅ primary, end-to-end verified |
Windows | ✅ unit + CI tested (real-Resolve smoke pending community feedback) |
Linux | ✅ unit + CI tested (Resolve Studio Linux only) |
Resolve | Status |
18.x Studio | ✅ |
18.x Free | ⚠️ partial (render encoders limited) |
17.x or older | ❌ unsupported |
Cookbook
Five end-to-end recipes covering the most common workflows. Each is a copy-paste shell snippet that assumes DaVinci Resolve 18+ Studio is running and a project is open.
1. Render the current timeline as 1080p H.264 mp4
# Preflight: make sure the bridge is healthy
dvr doctor --format json | jq -e '.bridgeStatus == "ok"' >/dev/null || { echo "Resolve not ready"; exit 2; }
# Pick the first preset whose name contains "H.264"
PRESET=$(dvr render presets --format json | jq -r '.[] | select(test("H\\.264"; "i"))' | head -1)
# Submit (async — returns immediately), then block until done
JOB=$(dvr render submit --preset "$PRESET" --timeline cur --output ~/Renders/out.mp4 --start --format json | jq -r .jobId)
dvr render wait "$JOB" # progress to stderr, terminal status to stdout2. Import a SD card's footage into per-date bins
# Assumes ~/footage/<YYYY-MM-DD>/ structure
for day_dir in ~/footage/*/; do
day=$(basename "$day_dir")
dvr media import "$day_dir" --bin "$day" --recursive --format json | jq '.imported | length' \
| xargs -I{} echo "imported {} clips into '$day'"
done3. Tag every clip in a bin as "Green" for review (skipping ones already tagged)
BIN="Day1"
IDS=$(dvr media list --bin "$BIN" --format json \
| jq -r '.[] | select(.flags | index("Green") | not) | .id')
[ -n "$IDS" ] && dvr media tag $IDS --color Green --format json4. Drop chapter markers from a CSV file (timecode, label)
# chapters.csv:
# 00:00:00:00,intro
# 00:01:30:00,demo
# 00:04:15:00,outro
while IFS=, read -r tc label; do
dvr timeline marker add --at "$tc" --name "$label" --color Sky --format json >/dev/null
done < chapters.csv
dvr timeline marker list --format json | jq '.[] | "\(.timecode) → \(.name)"'5. AI agent: render via MCP server
Wire dvr mcp into any MCP-aware client (most desktop AI assistants now support MCP — check your client's docs for the right config file path):
// ~/.config/<client>/mcp.json
{ "mcpServers": { "davinci-resolve": { "command": "dvr", "args": ["mcp"] } } }Then ask the agent:
"Render the currently open timeline as 1080p H.264, save it to ~/out.mp4, and tell me when it's done."
The agent will call doctor → render.presets → render.submit(start=true) → render.wait automatically. Tool errors come back as structured {errorCode, message, hint} so the agent can branch on resolve_not_running / validation_error / etc. deterministically.
Configuration
dvr reads two optional TOML files and merges them with this precedence (highest wins):
CLI flag — per command, always wins
<cwd>/.dvr/config.toml— project-local; commit it to your repo so your team shares the same defaults~/.dvr/config.toml— user-global; your personal preferences across all projectsBuilt-in defaults
Initialize a commented sample in the current project:
dvr config initSee exactly which layer every effective value came from:
dvr config show --format json | jq '.sources'Initial supported fields (more can be added incrementally without breaking changes):
[defaults]
output_format = "json" # default --format for table-capable commands
bin = "Master" # default --bin for media import / list
preset = "H.264 Master" # default --preset for render submit
marker_color = "Blue" # default --color for timeline marker add
marker_duration = 1Troubleshooting
Make sure:
A project is open inside Resolve (the splash / project picker doesn't count).
Preferences → System → General → External scripting using is set to
Local. The default isNone;Localis required for DaVinciResolveScript to accept connections.You're on Resolve 18 or newer.
dvr doctorwill tell you the detected version underversion.
dvr doctor reports your edition in the edition field. On Free:
✅ All
project,media,timeline marker *commands work⚠️
render submitworks but some preset codecs (DNxHR, ProRes 4444, etc.) are Studio-only — the job will queue but fail at encode time❌
dvr install-wideploys the plugin but Workflow Integrations require Resolve Studio at runtime, sotimeline cut / movewill returnwi_unavailableon Free
Your Python is 3.9 or older. dvr 0.2.1+ requires Python 3.10+ because the mcp SDK does. Check with python --version. If your system Python is too old, install a newer one (pyenv install 3.12, brew install python@3.12, or use Homebrew Cask).
Resolve's default install path on Windows is %PROGRAMDATA%\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\. If you installed Resolve to a custom location, set these two env vars before running dvr:
set RESOLVE_SCRIPT_API=<your-path>\Support\Developer\Scripting
set RESOLVE_SCRIPT_LIB=<your-path>\fusionscript.dlldvr doctor --format json shows the resolved apiPath and libPath — useful to confirm what we tried.
Restart Resolve. Workflow Integrations are scanned at launch.
Check you're on Resolve Studio — WI is Studio-only.
macOS: the plugin must land at
~/Library/Application Support/Blackmagic Design/DaVinci Resolve/Fusion/Workflow Integration Plugins/dvr-cli-bridge/.dvr install-wi --format jsonprints the destination — verify the path exists and containsmanifest.xml / index.html / server.js.After enabling under Workspace → Workflow Integrations, a small panel should pop up showing "Polling localhost:50420…". If you don't see it, check Resolve's
console.log(Help → Logs).
Development
pip install -e ".[dev]"
pytest # unit only
pytest -m integration # requires Resolve runningLicense
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Poechant/davinci-resolve-cli'
If you have feedback or need assistance with the MCP directory API, please join our Discord server