davinci-resolve-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RESOLVE_LUT_DIR | No | LUT directory path for non-standard Resolve installs (default: standard install path). | |
| RESOLVE_APP_PATH | No | Path to the Resolve application for non-standard Resolve installs (default: standard install path). | |
| RESOLVE_MCP_HOME | No | Directory used for previews, snapshots and renders. | ~/Documents/ResolveMCP |
| RESOLVE_SCRIPT_API | No | Resolve scripting API path for non-standard Resolve installs (default: standard install path). | |
| RESOLVE_SCRIPT_LIB | No | Resolve scripting library path for non-standard Resolve installs (default: standard install path). | |
| RESOLVE_MCP_TIMEOUT | No | Seconds before a call that Resolve does not answer returns an error (e.g. a dialog is open). | 120 |
| RESOLVE_MCP_RTL_FONT | No | Font used automatically for Persian/Arabic titles. | Geeza Pro (mac) / Tahoma |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
DaVinci Resolve control (live, through Resolve's scripting API; DaVinci Resolve Studio must be running —
call launch if status says it is not).
Conventions
TIME: numbers are SECONDS from the timeline start (0 = first frame of the timeline). Strings may be a timecode "01:00:10:05" (absolute timeline TC), frames "120f" (relative to timeline start) or "+2.5" (relative, where noted). Results report seconds plus frame numbers ("*_f", relative to timeline start).
SOURCE times (in/out of a media clip) are seconds from the media's first frame (or "48f", or a source TC).
Tracks are written like the UI: "V1", "V2", "A1", "S1" (subtitle). 1-based.
A timeline clip is referenced as "V1:0" (first clip on V1, 0-based, transitions not counted; -1 = last), {"track":"A1","time":12.5} (clip under that time), its unique id (from timeline_get), or "selected". Lists accept arrays. Indexes shift after edits — re-read with timeline_get or use ids.
Media pool items: unique id, bin path "Footage/Interview/A001.mov", exact clip name, or absolute file path.
Colors (markers/flags): Blue Cyan Green Yellow Red Pink Purple Fuchsia Rose Lavender Sky Mint Lemon Sand Cocoa Cream. Clip colors: Orange Apricot Yellow Lime Olive Green Teal Navy Blue Purple Violet Pink Tan Beige Brown Chocolate.
Recommended workflow
status → media_pool / timelines / timeline_get to see what exists.
project_snapshot before big or destructive changes (the scripting API has no undo;
undosends Cmd+Z to the UI).Edit: media_import → timeline_create / clips_place / clips_assemble → razor, clip_trim, clip_move, range_remove, clips_delete(ripple) → transition_add, clip_fade, clip_properties (transform/crop/opacity/composite/volume/pan), clip_speed, title_add / title_update, generator_add, markers.
Color: grade_look (exposure/contrast/sat/temp/tint/lift/gamma/gain via generated LUT), grade_cdl, grade_lut, grade_copy, nodes, color_versions, color_groups, stills, clip_ai (magic mask/stabilize/smart reframe).
Fusion: fusion_comp_info / fusion_tool_add / fusion_set (supports keyframes) / fusion_connect on any clip's comp.
Audio: clip_properties volume/pan, audio_normalize, voice_isolation, transcribe + transcript (word timings for text-based editing), subtitles_from_audio, tts_generate.
ALWAYS verify visually with frame_preview (or frames_contact for several times) after meaningful changes.
Deliver: render_options → render_timeline (one-shot) or render_job_add + render_start + render_status. run_python exposes the full API (resolve, project, mp, tl, H helpers) for anything without a dedicated tool; api_search finds API functions. batch runs several tool calls in one round trip. Report results to the user in their language (they often write in Persian).
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| grade_cdlA | Apply an ASC CDL to a node of timeline clips (cumulative primary: slope≈gain, offset≈lift/offset, power≈gamma inverse). Values: number (all channels) or [r,g,b]. Defaults: slope 1, offset 0, power 1, sat 1. |
| lut_listB | List LUT files Resolve knows (relative paths usable in grade_lut). |
| grade_lutA | Apply a LUT to a node (path relative to the LUT folder, e.g. 'Film Looks/Rec709 Kodak 2383 D65.cube', or an absolute path inside a LUT folder). Use lut='' to remove. Targets: clip refs, 'timeline', 'group::pre|post'. |
| grade_lookA | Build a creative grade as a 3D LUT and apply it to a node of clips (or 'timeline'). Works on display-referred (Rec.709) images. Parameters (neutral defaults): exposure (stops), contrast (1 = none; 1.2 = +20%) around pivot, saturation (1), vibrance (0..1), temperature (−1 cool … +1 warm), tint (−1 green … +1 magenta), lift/gamma/gain/offset (number or [r,g,b]; lift/offset default 0, gamma/gain 1), shadows/highlights (−1..1 tone lift/recover), fade (0..0.3 milky blacks), tint_shadows / tint_highlights ([r,g,b] colors like [0.0,0.05,0.1] for teal shadows) — e.g. teal & orange: tint_shadows=[0,0.04,0.08], tint_highlights=[0.08,0.04,0]. Returns the LUT path (reusable with grade_lut). |
| nodesA | Inspect a clip's node graph (count, labels, tools used, LUTs, cache mode) or change one node: enabled, cache (auto | enabled | disabled). Target: clip ref, 'timeline' or 'group::pre|post'. |
| grade_resetA | Reset all grades on the clips' node graphs (or 'timeline' / 'group::pre|post'). |
| grade_copyB | Copy the grade (current node stack layer) from one clip to other clips (refs, 'V1' for a whole track, 'selected'). |
| grade_drxC | Apply a saved grade (.drx still file) to clips. mode: none (no keyframes) | source_tc | start_frames. |
| color_versionsC | Color versions of a clip. action: list | add | load | delete | rename. remote=true uses remote versions. |
| color_groupsC | Color groups. action: list | create | delete | rename | assign (clips → group |
| stillsB | Gallery stills. action:
list (albums + still labels) | grab (still of the current clip at the playhead; Color page) |
grab_all (one still per clip; frame_source first|middle) | export (stills |
| lut_exportC | Export a clip's grade as a LUT file. size: 17 | 33 | 65 | panasonic. |
| clip_aiA | Studio AI/tracking ops on timeline clips. action: magic_mask (mode F|B|BI; needs a Magic Mask in the node — creates one on the current node), magic_mask_regenerate, stabilize, smart_reframe (uses timeline aspect, e.g. vertical), color_cache_on/off, update_sidecar. |
| dctlA | DCTL shaders. action: validate (source) | write (name + source → LUT/ClaudeMCP/.dctl, validated first; then use grade_lut with 'ClaudeMCP/.dctl') | read (name) | list | encrypt (path). |
| clips_placeA | Place media on the timeline at exact positions (overwrite-free: the target area should be empty — use range_remove first otherwise). Each segment: {"media": ref, "in": src_sec, "out": src_sec (or "duration"), "at": timeline time (default: end of the target track), "track": "V2" (or "A3" for audio-only), "audio_track": "A2", "type": "both"|"video"|"audio"}. Video+audio are placed linked. |
| clips_assembleB | Build a sequence: append segments back-to-back on |
| clips_deleteA | Delete timeline clips (refs, ids, 'selected' or a whole track 'V2'). ripple=true closes the gap. Linked audio/video is deleted too unless with_linked=false. |
| razorA | Cut (blade) clips at one or more timeline times. tracks: limit to e.g. ["V1","A1"] (default: all unlocked video+audio tracks; linked clips are always cut together). Grades/properties/fades/comps are preserved. |
| clip_trimA | Trim/extend a clip. Either give new timeline edges |
| clip_moveB | Move a clip to a new time ( |
| gaps_closeB | Close an empty gap on a track (ripple — later clips shift left; how other tracks react follows Resolve's ripple-delete rules). Give the gap with start/end, or omit them to close the FIRST gap found on the track. |
| range_removeB | Remove everything between start and end on the given tracks (default: all unlocked video+audio tracks): clips are cut at both edges and the middle deleted. ripple=true closes the gap (like a ripple delete). |
| clip_propertiesB | Get or set Inspector properties of timeline clips. Friendly keys: x, y (pan/tilt px), zoom (1.0=100%), rotation, opacity (0-100), anchor_x/y, flip_x/y, crop_left/right/top/bottom (px), crop_softness, composite (normal|screen|multiply|overlay|add|soft_light|…), dynamic_zoom (bool) + dynamic_zoom_ease (linear|in|out|in_and_out), retime (nearest|frame_blend|optical_flow), motion_estimation, scaling (crop|fit|fill|stretch), resize_filter, volume (dB −100..30), audio_pan (−100..100), pitch_semitones, voice_isolation (bool) + voice_isolation_amount, dialogue_leveler … Raw Resolve keys (ZoomX, Pan, …) also work. Values are static (no keyframes via API). |
| clip_speedA | Constant speed change (100 = normal, 50 = half speed slow-mo, 200 = 2x, 0 = freeze frame). ripple=true lets the timeline ripple to the new duration. Use clip_properties retime=optical_flow for smooth slow-mo. |
| clip_fadeB | Set video/audio fade-in/out handles on clips (seconds; 0 removes). |
| clip_labelC | Rename timeline clips, set/clear clip color, add/clear flags, enable/disable clips. |
| clips_linkB | Link or unlink timeline clips (e.g. to move video without its audio). |
| transition_addA | Add a transition to clip edges. position: start | end | both; alignment: center | left | right (left = ends at the cut, right = starts at the cut); duration in seconds. category: simple | fusion | ofx | audio. Common types: 'Cross Dissolve', 'Dip To Color Dissolve', 'Smooth Cut', 'Additive Dissolve', 'Blur Dissolve', 'Push', 'Slide', 'Wipe', 'Iris', 'Zoom' ; audio: 'Cross Fade +3 dB', 'Cross Fade 0 dB', 'Cross Fade -3 dB'. The neighbouring clip needs enough handle media for centered transitions. |
| compound_createC | Nest timeline clips into a compound clip (kind='compound') or a Fusion clip (kind='fusion'). |
| title_addA | Add a title at |
| title_updateB | Change text/style of an existing Text+ title (also inside MCP compound titles). See title_add for fields. |
| generator_addB | Add a generator (kind: standard → 'Solid Color', '10 Step', 'Grey Scale', 'SMPTE Color Bar', 'Four Color Gradient', 'Window'; fusion → Fusion generators e.g. 'Contours', 'Noise Gradient'; ofx → OFX generator names; composition → empty Fusion composition to build with fusion_* tools) at time/track for duration seconds. |
| markersA | Markers on the timeline, a timeline clip, or a media pool clip. target: 'timeline' | clip ref ('V1:0', id) |
'media:'. action: list | add | delete (at |
| fusion_compsC | Fusion compositions of a timeline clip. action: list | add | load (name) | delete (name) | rename (name→new_name) |
import (.comp/.setting |
| fusion_comp_infoB | Inspect a Fusion comp: tools (name, type, inputs wired from which tool). With tool_name: that tool's inputs
(id, name, type, current value) — filter with |
| fusion_tool_addB | Add a Fusion tool (by registry ID) to a clip's comp. Common IDs: TextPlus, Transform, Merge, Background,
Blur, ColorCorrector, BrightnessContrast, Glow, SoftGlow, FilmGrain, Rectangle, Ellipse, Polygon, BSpline,
Tracker, PlanarTracker, CornerPositioner, DeltaKeyer, UltraKeyer, Shadow, DirectionalBlur, LensDistort,
Vignette (via ofx), Text3D, Shape3D, Renderer3D, pRender/pEmitter (particles), sRectangle/sRender (shapes).
insert=true wires it into the main chain: [after or the tool feeding MediaOut] → new → MediaOut.
Generators (Background, TextPlus, shapes) are merged over the chain with a new Merge. |
| fusion_setB | Set inputs of a Fusion tool. Static: {"Size": 0.1, "Center": [0.5, 0.3], "StyledText": "سلام"}. Animated: {"Size": {"keyframes": [[0, 0.05], [1.5, 0.12]]}} — times in seconds from the comp start ('12f' for frames); creates a spline (points use a path). ease: linear | smooth (default Fusion bezier). Connect: {"Input": {"connect": "Blur1"}}. Expressions: {"Angle": {"expression": "time*2"}}. |
| fusion_connectB | Wire |
| fusion_tool_deleteC | Delete a Fusion tool, or bypass/unbypass it (bypass=true/false keeps it). |
| fusion_render_settingsC | Read comp attributes (range, fps, size) and optionally set the comp render range (frames). |
| media_importA | Import files or folders into the media pool (into |
| media_poolA | List bins and clips in the media pool (from |
| bin_manageB | Bins/clips housekeeping. action:
'create' (path, nested ok) | 'select' (make |
| clip_infoB | Everything about one media pool clip: properties (codec, res, fps, TC, path…), metadata, markers, flags, in/out marks, audio mapping and transcription availability. |
| clip_updateB | Modify media pool clips: rename (single item), clip color, flags, metadata ({"Scene":"12","Take":"3", "Description":..., "Keywords":...}), clip attributes/properties ({"Input Color Space":"Rec.709", "Super Scale":2, "Clip Name":...}), source in/out marks (seconds of source). clear_flags: a color or 'All'. |
| media_linkB | Relink / replace / proxy operations. action: 'relink' (items → media in folder |
| media_storageA | Browse disks as Resolve sees them: no path → mounted volumes; a folder → its sub-folders and media files (image sequences are consolidated). |
| transcribeA | Run Resolve's AI audio transcription on clips (or a whole bin) — needed for |
| transcriptA | Get the transcription of a media clip as segments with start/end in SECONDS OF SOURCE (ready for clips_assemble in/out). words=true includes word-level timings. Transcribes first if needed. |
| media_aiB | Studio AI analysis on clips or a bin. task: 'intellisearch' (options: faces bool, better bool), 'slate' (options: marker_color), 'audio_classify', 'audio_classify_clear', 'deblur' (options: DeblurOptions dict, creates new clips). |
| audio_syncC | Auto-sync external audio to video clips (needs ≥1 video + ≥1 audio clip). mode: timecode | waveform | in | out | marker. |
| multicam_createC | Create a multicam clip from media pool clips. sync: in | out | timecode | audio | marker. audio_mode: adaptive | source | reference | all. angle_names: sequential | angle | camera | clip | file. |
| media_selectC | Get the media pool selection, or select one clip (useful before UI actions). |
| metadata_exportB | Export clip metadata to CSV (all media pool clips if items not given). |
| statusA | Overview: Resolve version/edition, current page, project, timeline, playhead and media pool size. Call first in every session. |
| launchB | Start DaVinci Resolve (if not running) and wait until the scripting API answers. |
| pageA | Get the current page, or switch to one of: media, cut, edit, fusion, color, fairlight, deliver, photo. |
| saveC | Save the current project. |
| undoA | Undo the last N actions by sending Cmd+Z to Resolve (the scripting API has no undo). Needs macOS Accessibility permission. Scripted edits may count as several undo steps — verify with timeline_get. |
| redoC | Redo N actions (Cmd+Shift+Z) in Resolve. |
| projects_listA | List projects and sub-folders in the project manager (folder = path like 'Clients/2026'; root by default). |
| project_openA | Open (load) a project by name. The current project is saved first unless save_current=false. |
| project_createA | Create and open a new project. Optionally set timeline resolution (width/height), frame rate (fps as string, e.g. '25', '29.97', '29.97 DF', '23.976'), and any other project settings. Set resolution/fps BEFORE creating timelines; Resolve locks fps once a timeline exists. |
| project_settingsB | Read or change project settings (Project Settings dialog). With |
| project_snapshotB | Save and export the current project to a .drp file (backup before risky edits). Restore later with project_import. Files go to ~/Documents/ResolveMCP/snapshots. |
| project_importB | Import a .drp project file (or restore a .dra archive with archive=true), optionally opening it.
Use a new |
| project_exportB | Export a project to a .drp file, or archive it (.dra folder, with source media) when archive=true. |
| project_manageA | Project manager actions: 'rename' (current project → new_name), 'create_folder' (name, inside |
| presetsB | Manage application presets. kind: layout | keyboard | burn_in | project_settings | render | user_prefs | fairlight. action: list | load | save | update | delete | import | export (not every kind supports every action). 'fairlight' + 'load' applies a Fairlight preset to the current timeline. |
| playheadA | Get the playhead, or move it to |
| render_optionsC | What can be rendered: formats (name → extension), codecs for |
| render_job_addB | Queue a render job for the current timeline. preset: a render preset ('H.264 Master', 'YouTube - 1080p', 'TikTok - 1080p', 'ProRes 422 HQ' …); or format ('mp4','mov','mxf'…) + codec ('H264','H265','ProRes422HQ'…). start/end = range (default whole timeline). settings = extra RenderSettings (FormatWidth, FormatHeight, FrameRate, VideoQuality, ExportAudio, ExportVideo, AudioCodec, AudioBitDepth, ExportAlpha, EncodingProfile, ExportSubtitle, SubtitleFormat 'BurnIn', UseFullExtents, AddFrameHandles …). Output defaults to ~/Documents/ResolveMCP/renders. |
| render_startA | Start rendering queued jobs (all if job_ids omitted). wait=true blocks until done and returns output files; wait=false returns immediately (poll with render_status). |
| render_statusA | Status of one render job or of the whole queue (status, percent, output path, errors). |
| render_jobsA | Render queue management. action: list | delete (job_id) | clear (all) | stop (current render). |
| render_timelineB | One-shot export of the current timeline (queue + render + wait). E.g. preset 'YouTube - 1080p', or format='mp4', codec='H265'; width/height to override resolution; start/end for a range. |
| quick_exportC | Render the current timeline with a Quick Export preset (see render_options quick_export_presets). |
| frame_previewB | Render the timeline frame at |
| frames_contactB | Contact sheet of several timeline frames in ONE image (labelled with their times). Give explicit |
| media_framesA | Look at frames of a SOURCE media clip (before it is edited in): contact sheet at source |
| audio_normalizeA | Normalize audio clip levels. mode: one of the timeline's normalize modes (e.g. 'Sample Peak Program', 'True Peak Program', 'ITU-R BS.1770-4', 'EBU R128' — see result.modes). target_level dBFS for peak modes, target_loudness LKFS/LUFS for loudness modes (e.g. -14 for YouTube, -23 broadcast). independent=true sets each clip separately instead of relative. |
| voice_isolationC | AI Voice Isolation (Studio) on an audio track ('A1') or on timeline clips (refs). |
| tts_generateA | AI Speech Generator (Studio + downloaded extra): synthesize speech (max ~350 chars per call) into the media pool
and optionally onto the timeline at |
| audio_insertB | Insert an audio file into the current audio track at |
| audio_mappingB | Get or set audio channel mapping (JSON as in Resolve's Clip Attributes) for a media pool clip, or for a timeline clip with timeline_clip=true. Set only needs {"track_mapping": {...}}. |
| run_pythonA | Run Python against the live Resolve API for anything without a dedicated tool. Pre-defined: resolve, pm
(ProjectManager), project, mp (MediaPool), tl (current timeline), fusion, ms (MediaStorage), H (helpers:
H.item('V1:0'), H.items(...), H.media(ref), H.folder(path), H.frame(seconds|'tc'|'Nf'), H.sec(f), H.tc(f),
H.describe(item), H.const('EXPORT_EDL'), H.call('tool_name', **args)), os, json, time.
The value of the last expression (or a variable named |
| api_searchA | Search Resolve's scripting API reference (regex, case-insensitive) for classes, methods, constants and settings keys — returns matching signatures with docs and owning class. readme=true searches the README notes instead. |
| batchB | Run several tools in one round trip: steps = [{"tool": "razor", "args": {"times": [3.2]}}, …]. Images from preview tools are not returned here (call them directly). |
| timelinesA | List all timelines in the project (name, id, duration, fps, tracks) and which one is current. |
| timeline_openB | Make a timeline (by name or id) the current timeline. |
| timeline_createA | Create a new timeline and make it current. Optional custom resolution (e.g. 1080x1920 for vertical),
fps ('25', '29.97' — prefer setting the PROJECT fps with project_create before any timeline exists; changing a
timeline's fps by script is fragile in Resolve), start timecode, other timeline settings, and initial |
| timeline_manageA | Timeline housekeeping. action: 'rename' (timeline |
| timeline_settingsB | Read/change settings of the current timeline. |
| timeline_getB | The edit of the current timeline: every track (name, enabled, locked) with its clips (ref, id, name, start/end
seconds + frames, source in/out, media id). Filter by |
| track_addC | Add tracks to the current timeline. type: video | audio | subtitle. audio_format: mono | stereo | 5.1 | 7.1 | adaptive1..36 … |
| track_setB | Modify a track ('V2', 'A1', 'S1'): rename, enable/disable, lock/unlock, delete (irreversible), voice_isolation for audio tracks ({"isEnabled":true,"amount":70}). |
| in_outC | Get/set/clear the timeline In/Out marks (used e.g. for rendering a range). type: all | video | audio. |
| timeline_exportC | Export the timeline to a file. format: aaf | drt | edl | edl_cdl | edl_sdl | edl_missing | fcp7xml | fcpxml (1.10) | fcpxml_1_9 | fcpxml_1_8 | otio | csv | tab | ale | ale_cdl | hdr10_a | hdr10_b | dolby_vision. |
| timeline_importB | Import a timeline from AAF/EDL/XML/FCPXML/DRT/ADL/OTIO as a new timeline (or, with into_current=true and an AAF, into the current timeline). |
| scene_cut_detectA | Detect scene cuts in the current timeline and razor the clips at each cut (useful for flattened masters). |
| subtitles_from_audioB | Auto-caption: transcribe the timeline audio into a subtitle track (Studio). language: auto | english | french | german | spanish | russian | turkish | japanese | korean | mandarin_simplified … ; preset: subtitle_default | teletext | netflix; line_break: single | double; gap in frames. |
| clips_select_infoA | Return the clips currently selected in the timeline UI (so the user can point at clips by selecting them). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 102 tools
With 102 tools the surface is huge, but most tools have clearly distinct purposes and detailed descriptions. There are still several confusable pairs (e.g., clip_properties vs clip_update, render_timeline vs quick_export, project_snapshot vs project_export, timeline_create vs clips_assemble), forcing the agent to rely heavily on descriptions to avoid misselection.
The dominant pattern is resource_action (clip_fade, project_open, timeline_create), which is readable. However, there are inconsistencies: singular vs plural prefixes (clip_ vs clips_, timeline vs timelines), and several verb-only or noun-only tools (razor, transcribe, save, undo, redo, status, page) that break the pattern.
102 tools is far beyond the 3–15 range of a well-scoped set and falls into the extreme-mismatch category (50+). Even for DaVinci Resolve's broad domain, this many tools is likely to overwhelm an agent and make selection unwieldy.
The surface is exceptionally comprehensive: project lifecycle, media import/pool management, timeline editing, clip trimming/moving, grading, Fusion, audio, rendering, transcription, and Studio AI are all covered. The run_python escape hatch further ensures that any missing niche operation can still be performed.