Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
project_statusA

Report Resolve's version, current page, database, open project and timeline.

Call this first in a session to see what state Resolve is in. Set ensure_running to launch Resolve if it is not already running.

project_listA

List project and folder names in the current database folder.

project_openA

Open an existing project by name. Unsaved changes to the current project are kept.

project_createB

Create a new project and make it current. The name must be unique.

project_saveB

Save the current project.

project_closeA

Close the current project WITHOUT saving. Call project_save first to keep changes.

project_deleteA

Delete a project from the current database folder. It must not be open.

project_exportC

Export a project to a .drp file.

project_importC

Import a project from a .drp file.

project_settings_getA

Read one project setting, or all of them when setting is omitted.

Setting names are listed in the 'Looking up Project and Clip Properties' section of resolve://api/readme.

project_settings_setC

Write one project setting. Values are always passed as strings.

database_listA

List the databases Resolve knows about, and which one is connected.

database_setA

Switch database connection. This closes any open project.

db_type is 'Disk' or 'PostgreSQL'. ip_address applies to PostgreSQL only.

database_folder_openB

Navigate the database folder tree.

Pass folder_name to open a named subfolder, or go_to='root'/'parent'.

timeline_listA

List every timeline in the current project, with handles.

timeline_set_currentC

Make a timeline current, by name or by 'timeline:' handle.

page_getA

Return the page currently shown in Resolve.

page_setA

Switch Resolve to a page.

One of: media, cut, edit, fusion, color, fairlight, deliver. Some operations only work while the matching page is open.

storage_volumesA

List the volumes shown in Resolve's Media Storage panel.

storage_listA

List subfolders and media files under an absolute path, as Resolve sees them.

Resolve consolidates image sequences into single entries here, which is why this differs from a plain directory listing.

bin_treeA

Return the media pool bin tree.

root accepts a 'folder:' handle, 'root' (the default) or 'current'.

bin_currentA

Return the bin that new imports will land in.

bin_createA

Create a bin under the given parent, or under the root bin by default.

bin_set_currentC

Make a bin current, so subsequent imports land there.

bin_deleteA

Delete bins by handle. Their contents go with them.

bin_moveC

Move bins into another bin.

clip_listB

List clips in a bin. Defaults to the root bin.

clip_findA

Search clips by substring of the clip name, recursing through sub-bins.

clip_propertiesB

Read clip properties. Returns every property when name is omitted.

clip_set_propertyC

Write one clip property. Names are listed in resolve://api/readme.

clip_metadataA

Read clip metadata. Returns everything set when name is omitted.

clip_set_metadataC

Write one or more metadata keys on a clip.

media_importA

Import media files or folders into the media pool.

Paths must be absolute and must exist. Pass bin_handle to import into a specific bin rather than the current one.

clip_moveC

Move clips into another bin.

clip_deleteB

Delete clips from the media pool. This does not delete files from disk.

clip_set_colorB

Set or clear a clip's colour. Omit color to clear it.

clip_flagsC

Read, add or clear clip flags. Pass clear='All' to remove every flag.

clip_markersC

List markers on a media pool clip, sorted by frame.

clip_marker_addC

Add a marker to a media pool clip at a source frame.

clip_marker_deleteB

Delete a clip marker by frame, or every marker of a colour ('All' for all).

proxy_linkC

Link a proxy media file to a clip. proxy_path must be absolute.

proxy_unlinkC

Unlink any proxy media from a clip.

clip_replaceB

Replace the media behind a clip, keeping its place in timelines.

clip_relinkC

Relink offline clips by pointing them at a folder to search.

clip_unlinkC

Take clips offline without removing them from the pool.

timeline_createA

Create a timeline, empty or populated from media pool clips.

Pass clip handles from media_import or clip_list to build it in one call. The new timeline becomes current.

timeline_infoC

Describe a timeline: frame range, timecode and track counts.

timeline_duplicateC

Duplicate a timeline.

timeline_deleteC

Delete timelines from the media pool.

timeline_renameB

Rename a timeline. Names must be unique within the project.

timeline_settings_getB

Read timeline settings. Returns all of them when setting is omitted.

timeline_settings_setC

Write one timeline setting.

timeline_appendA

Append media pool clips to the end of the current timeline.

clip_ranges optionally trims each clip. One dict per clip, with any of startFrame, endFrame, recordFrame, trackIndex, mediaType (1 video, 2 audio).

timeline_itemsB

List the clips on one track of the current timeline. Indices are 1-based.

timeline_all_itemsA

List every clip on every track of the current timeline.

timeline_delete_itemsB

Delete clips from the current timeline. ripple closes the gap left behind.

item_set_enabledB

Enable or disable a timeline clip.

item_renameC

Rename a timeline clip.

compound_clip_createC

Turn timeline clips into a compound clip.

fusion_clip_createC

Turn timeline clips into a Fusion clip.

track_addC

Add a track. audio_type applies to audio tracks: mono, stereo, 5.1, 7.1, adaptive1-36.

track_deleteC

Delete a track by 1-based index.

track_infoB

List tracks of a type with their names, enabled state and lock state.

track_renameC

Rename a track.

track_enableC

Enable or disable a track.

track_lockC

Lock or unlock a track. Locked tracks reject edits, silently.

markers_getC

List timeline markers, sorted by frame.

marker_addA

Add a marker to the current timeline.

frame is an offset from the timeline start, not a timecode. Colours include Blue, Cyan, Green, Yellow, Red, Pink, Purple, Fuchsia, Rose, Lavender, Sky, Mint, Lemon, Sand, Cocoa, Cream.

marker_deleteA

Delete a timeline marker by frame, or all markers of a colour ('All' for every one).

timecode_getA

Return the playhead timecode of the current timeline.

timecode_setA

Move the playhead. Format HH:MM:SS:FF. Works on Cut, Edit, Color, Fairlight, Deliver.

mark_in_outA

Read, set or clear the timeline in/out marks.

Called with no frames, it clears them. mark_type is video, audio or all.

insert_titleB

Insert a title at the playhead. fusion=True inserts a Fusion title instead.

insert_generatorC

Insert a generator at the playhead. kind is standard, fusion or ofx.

insert_fusion_compositionB

Insert an empty Fusion composition at the playhead.

timeline_importC

Create a timeline from an AAF, EDL, XML, FCPXML, DRT, ADL or OTIO file.

timeline_exportC

Export a timeline.

export_type is one of: aaf, drt, edl, fcp7xml, fcpxml, otio, hdr10, txt, dolby.

detect_scene_cutsC

Detect scene cuts and add edits along the timeline.

lut_applyA

Apply a LUT to a node on a timeline clip.

node_index is 1-based (it changed from 0-based in Resolve 16.2). The LUT must already be discovered by Resolve — call lut_refresh after adding new LUT files.

lut_getB

Read the LUT applied to a node.

lut_refreshA

Rescan the LUT folders. Call after adding LUT files on disk.

cdl_setB

Apply ASC CDL values to a node. Each of slope/offset/power is three numbers.

grade_copyC

Copy the full grade from one timeline clip to others.

node_graph_infoB

Describe a clip's node graph: node count, labels and LUTs.

version_listC

List colour versions on a clip.

version_addC

Add a colour version to a clip.

version_loadC

Make a colour version current on a clip.

version_deleteC

Delete a colour version from a clip.

still_grabA

Grab a gallery still from the current clip, or from every clip on the timeline.

frame_source applies to all_clips: 1 for first frame, 2 for middle frame. Requires the Color page.

still_listA

List stills in the current gallery album.

still_exportC

Export gallery stills to a folder.

still_deleteC

Delete gallery stills.

still_albumsA

List gallery still albums and PowerGrade albums.

frame_exportB

Export the current frame as a still image. The extension sets the format.

color_group_listB

List colour groups in the current project.

color_group_addA

Create a colour group. The name must be unique.

render_formatsA

List render formats available in this project, as name -> file extension.

render_codecsA

List codecs for a format. Pass the extension, e.g. 'mov', not 'QuickTime'.

render_resolutionsA

List resolutions valid for a format and codec, or all of them when omitted.

render_format_setC

Set the render format and codec. Use the codec's short name from render_codecs.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Resolve scripting API referenceThe complete DaVinci Resolve scripting API reference as installed on this machine.
Resolve scripting API changelogVersion history of the Resolve scripting API. Use to check when a method was added.
Resolve API section indexNames of every section in the API reference, for use with resolve://api/section/{name}.
Resolve example scripts indexFilenames of the official example scripts shipped with Resolve.

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/irstone-source/resolve-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server