Skip to main content

A CLI for DaVinci Resolve 18+ — project, media, render, and timeline control for humans and AI agents.

Project description

image

davinci-resolve-cli (dvr)

PyPI version Python versions License: MIT Build

A CLI for DaVinci Resolve 18+ — project / media / render / timeline control for humans and AI agents.

Install

pipx install davinci-resolve-cli

Requires 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"

Output formats

context default
TTY table (rich)
pipe / non-TTY json

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 spec

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

Development

pip install -e ".[dev]"
pytest                              # unit only
pytest -m integration               # requires Resolve running

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

davinci_resolve_cli-0.2.1.tar.gz (53.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

davinci_resolve_cli-0.2.1-py3-none-any.whl (41.1 kB view details)

Uploaded Python 3

File details

Details for the file davinci_resolve_cli-0.2.1.tar.gz.

File metadata

  • Download URL: davinci_resolve_cli-0.2.1.tar.gz
  • Upload date:
  • Size: 53.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for davinci_resolve_cli-0.2.1.tar.gz
Algorithm Hash digest
SHA256 22a5cd5acc1e4a4e5715660a56a316308be016df29cf01e3b219890400fdec4b
MD5 3d2cd4d7f9a9f4e6151dd5a59d157653
BLAKE2b-256 66cdbe7b93b7a703b1310a4091909ee82d9d286bfcd3f51a5900006f1073dd5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for davinci_resolve_cli-0.2.1.tar.gz:

Publisher: publish.yml on Poechant/davinci-resolve-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file davinci_resolve_cli-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for davinci_resolve_cli-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 270f1c459589e6dc66adc6e35a90fb0dba5c9343b3d34b6de044c9eb3f9e20f1
MD5 52469f7e4ebe483b652fd00d09f164e3
BLAKE2b-256 725a9096ba0efa173574b9bbe715b4d0350a6120565d4ddbed38b39f12681714

See more details on using hashes here.

Provenance

The following attestation bundles were made for davinci_resolve_cli-0.2.1-py3-none-any.whl:

Publisher: publish.yml on Poechant/davinci-resolve-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page