Logo DaVinci Resolve AI Bridge

DaVinci Resolve AI Bridge

Cộng đồng
flamexnreal

DaVinci Resolve (Free Version and Studio) MCP server for Claude, Cursor, Codex, and Antigravity. Full timeline editing, cuts, camera zoom, and color grading.

Nhà phát hànhflamexnreal
Kho mãdavinci-resolve-ai-bridge-mcp
Ngôn ngữPython
Bản fork
1
Sao
23
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    DaVinci Resolve AI Bridge cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    23 sao và 1 bản fork từ kho mã được liên kết.

DaVinci Resolve AI Bridge MCP

npm version License: MIT Python 3.10+ DaVinci Resolve Free & Studio

Let your AI assistant help with the edit. Resolve AI Bridge connects Claude, Codex, Cursor, Antigravity, and other MCP-compatible assistants to the project open in DaVinci Resolve Free or Studio.

Inspect a timeline, place media, animate a zoom, adjust color, or try an edit on a duplicate timeline before touching the original.

Built to stay light

  • Works with Resolve Free. No Studio license needed for the bridge. Individual tools still depend on your Resolve build; Studio-only effects stay Studio-only.
  • One click to start. Choose Start AI Bridge in Resolve. Your AI gets the same tools and access as the old Console-paste workflow.
  • A small, local runtime. No remote bridge server or manually entered token. Website dependencies stay out of the CLI package; FFmpeg and Remotion are optional.
  • Keep your tokens for the edit. The launcher starts locally, without an AI request or extra startup tools.

⭐ Finding it useful? Give the bridge a star—it helps other editors find it.


Quick setup

You'll need Python 3.10+ (download).

Option A: Run directly with npx (Recommended for Node / npm users)

bash
npx davinci-resolve-ai-bridge-mcp

Option B: One-line shell install

macOS / Linux (run in Terminal):

bash
curl -fsSL https://raw.githubusercontent.com/flamexnreal/davinci-resolve-ai-bridge-mcp/main/install.sh | bash

Windows (run in PowerShell):

powershell
irm https://raw.githubusercontent.com/flamexnreal/davinci-resolve-ai-bridge-mcp/main/install.ps1 | iex

From a downloaded/cloned repository, run python3 install.py --with-ffmpeg (Windows: py install.py --with-ffmpeg), or use install-macos.command / install-windows.bat for the base install.

Node/npm is only needed for the npm installer and optional website/motion-graphics development.

The installer sets up ~/.resolve-ai-bridge, a private Python environment, the Resolve menu entries, editing skills, and detected supported AI clients. Valid client configs are backed up and merged; invalid configs are left unchanged with a diagnostic. Antigravity and other clients can use the generated mcp-config.json manually.

For Free-compatible source frame capture and efficient audio decoding, also install the optional private FFmpeg binary:

bash
npx davinci-resolve-ai-bridge-mcp --with-ffmpeg

This optional download stays in the bridge's private Python environment. It is not a Studio dependency. An existing ffmpeg on PATH also works; macOS afconvert supports audio extraction without FFmpeg.


Connect to Resolve

  1. Open DaVinci Resolve with a project.
  2. Choose Workspace → Scripts → Resolve AI Bridge → Start AI Bridge. It may appear under Utility.
  3. Ask your AI: “Call resolve_status, then bridge_capabilities and timeline_overview.” Open or create a timeline before using timeline tools; status works without one.

Start from the menu and get editing. Start once per Resolve session. You can see RESOLVE AI BRIDGE READY in Workspace → Console. Use Stop AI Bridge in the same menu to stop the worker; an active operation finishes first. Clicking Start again won't create another worker.

If the menu is missing after installation, quit and reopen Resolve once. Refresh/restart your AI client's MCP server after setup or a tool-schema update.

Menu startup is live-tested on macOS / Resolve Free 21.0.3.7 / Python 3.14.6. Windows, Linux, and other builds still need live verification; the Console fallback stays available.

If automatic startup reports an error on your build, open Workspace → Console, select Py3, paste this fallback command and press Enter:

python
import os;exec(open(os.path.expanduser("~/.resolve-ai-bridge/ResolveConsole.py"),encoding="utf-8").read())

Live startup validation: macOS, DaVinci Resolve Free 21.0.3.7, Python 3.14.6: menu start, real status requests, repeated start, Stop, quit/reopen/start, and Console fallback passed. Windows/Linux and other Resolve builds still require live verification; the portable fallback remains available.

Resolve may keep the menu script marked busy while its separate fuscript process serves requests. Resolve's editing UI remains usable. Closing Resolve ends that process. The Console fallback uses a daemon worker with a startup handshake capped at one second. No new dependency, listening port, public MCP tool, or AI call is added.

Studio can use the same menu workflow. To allow direct attach, set Preferences → System → General → External scripting using → Local. When external scripting is available, the bridge connects directly. It probes that connection in a disposable process and uses the Console transport when direct attach is unavailable.


What you can do

In your editThe bridge can help with
Find your bearingsInspect clips, tracks, markers, media, project settings, and timeline health.
Build the timelineImport media, place images and overlays, create timelines, and group compound clips.
Add movementSet clip transforms, animate zooms, adjust supported speed controls, and apply spotlight/blur workflows.
Work with colorRead and adjust supported grades, animate saturation, and add color shifts.
Review before committingTry edits on duplicate timelines, compare structure, and mark candidate silence cuts.
Check source mediaView source frames and analyze source audio levels, silence, and timing.
ToolWhat it does
resolve_status, bridge_capabilitiesConnection, version, current project and decoder/API availability.
timeline_overview, project_info, list_timelinesInspect timeline structure, unique clip IDs, labels and settings.
timeline_frameReturn a native MCP image plus metadata. Composite capture is attempted first; FFmpeg source fallback is labeled explicitly.
timeline_audioSource PCM peak/RMS per channel, silence intervals, energy envelope, onsets, activity clusters or a trimmed WAV.
preview_timeline, compare_timelinesDuplicate/open a review timeline and compare structure/properties/markers without switching during comparison.
project_healthCheck active-timeline missing sources, gaps, disabled/locked tracks/clips and supplied delivery expectations.
review_silence, apply_silence_cutsPlace candidate markers, then apply explicitly accepted intervals on a duplicate of an isolated dialogue clip or aligned AV pair.
open_timeline, create_timeline, set_playhead, open_pageNavigate Resolve.
list_media, import_media, append_media, add_imageInspect/import/place media and duration-controlled stills.
set_clip_transform, get_clip_transform, animate_zoomStatic transforms and native Fusion animation.
split_clipRebuild a normal-speed clip into two pieces, with a verified timeline checkpoint first. See restrictions below.
insert_titleBest-effort title insertion; check text_set.
create_compound_clip, change_clip_speedCompound creation and constant video speed through a bridge-owned TimeSpeed node.
get_clip_grade, set_clip_grade, keyframe_clip_saturation, animate_color_fxInspect/change available grade controls and Fusion color animation.
apply_blur_effect, apply_spotlight_mask, inspect_fusionExisting Fusion blur/mask workflows and inspection.
add_marker, delete_marker, set_clip_property, set_clip_color, set_clip_enabledMarkers and clip metadata/state.
add_track, set_track_name, delete_clips, save_projectTrack management, explicitly requested deletion, and saving.
list_render_presets, render_current_timelineInspect available presets and queue/start an approved render.

Motion graphics with Remotion

For custom typography, lower thirds, or animated callouts, your AI can create a Remotion video and import it with append_media. Remotion is a separate, optional toolchain; it isn't bundled into the bridge's Python runtime.

Motion graphics workflows · Editing recipes


A few things to know

Free support doesn't unlock Studio features. Source frames exclude timeline effects, and source audio isn't the Fairlight mix. Some edits have limits: splits rebuild clips, title text is best effort, and silence cuts are restricted to supported clip layouts.

  1. Call resolve_status and timeline_overview.
  2. Use each clip's id, which uses its Resolve unique ID when available. label values such as V1.2 remain accepted but can change after insertions/deletions. Rebuilt and duplicated clips have new IDs.
  3. Call preview_timeline before a batch of changes. It creates and opens a copy while keeping the original.
  4. Get fresh IDs from timeline_overview, make edits, and inspect after each change.
  5. Use compare_timelines(original, preview) to review structural changes. Audition/view the result in Resolve too: the comparison does not render pixels or compare all Fusion, color, or Fairlight data.

All public frame inputs and clip start/end positions use absolute timeline frames. Marker offsets are relative to timeline start. Timecodes support non-drop-frame and 29.97/59.94 drop-frame (HH:MM:SS;FF). Cut end positions are exclusive.

  • Free edition: New review workflows use ordinary timeline, marker and clip APIs through the Console worker. No Studio AI transcription, Magic Mask, Smart Reframe, or neural feature was added. Calls check their results and report unsupported behavior.
  • Frame images: Source fallback shows decoded source media, not the graded/composited viewer. It omits Fusion, transforms and overlays. mode="composite" fails explicitly if a composited still is unavailable. Without a resize utility, actual dimensions are reported rather than invented.
  • Audio: Analysis reads source PCM, not the Fairlight mix. It excludes timeline gain, fades, mute, effects and retiming. Known source retiming is rejected. Silence uses 50 ms windows, not speech transcription. Results include the source offset, absolute timeline origin, exclusive ends and a truncation flag; default analysis limit is 300 seconds.
  • Splits: Fusion clips, locked tracks, mixed rates and known retiming are rejected before deletion. A checkpoint is retained. Rebuilt clips restore static transforms, enabled state, clip color and the current color-grade layer. Audio links, fades, keyframes, other grade layers and all metadata are not guaranteed. On failure, the tool opens the checkpoint and reports any partial attempted timeline honestly.
  • Dialogue cuts: Automatic application is restricted to one isolated clip or one aligned video/audio pair. It rejects stale review markers and complex multi-clip timelines. The original is kept intact. Review audio gain, fades and non-review markers on the result.
  • Speed: Fusion mode changes video timing inside the clip, not timeline duration or linked audio. Resetting to 1× neutralizes only the updated bridge's own node; user-created and older untagged TimeSpeed nodes are left alone. Reverse mapping is not verified and is rejected. Clip-attributes mode changes all uses of that media, multiplying its current source FPS; it is not a per-clip reset or speed ramp.
  • Validation: Automated tests cover mocked Resolve operations, source decoding and MCP responses. They do not certify every operation on every Free-version build or platform. See testing guidance for the manual integration checklist.

Connect your AI client

Most setup is handled by the installer. For manual configuration, use the absolute-path entry in ~/.resolve-ai-bridge/mcp-config.json. No token needs to be typed into your client; the server and worker share a local token file automatically.

The installer registers the bridge when it finds the Codex CLI. Check with:

bash
codex mcp get resolve-ai-bridge

If needed, register the installed runtime on macOS/Linux:

bash
codex mcp add resolve-ai-bridge -- "$HOME/.resolve-ai-bridge/.venv/bin/python" "$HOME/.resolve-ai-bridge/bridge/server.py"

On Windows PowerShell:

powershell
codex mcp add resolve-ai-bridge -- "$HOME/.resolve-ai-bridge/.venv/Scripts/python.exe" "$HOME/.resolve-ai-bridge/bridge/server.py"

Restart/refresh the MCP server in the desktop app after setup or a tool-schema update. Start a new task and ask: “Call resolve_status, then bridge_capabilities and timeline_overview.” With no timeline open, resolve_status can still confirm the project connection.

The ChatGPT desktop app and local Codex clients on the same host share the Codex MCP configuration. ChatGPT web does not read this local configuration; remote plugin/tunnel setup is a separate integration and is not installed by this project. See official MCP setup documentation.

For lengthy source analysis, the optional Codex server setting tool_timeout_sec = 180 allows more time than its default timeout. Keep it inside the existing [mcp_servers.resolve-ai-bridge] table.

Use the absolute-path server entry generated at ~/.resolve-ai-bridge/mcp-config.json. The installer also writes claude-command.txt and codex-command.txt there.

For clients that support npm commands, install first, then start the server with the explicit --serve mode:

json
{
  "mcpServers": {
    "resolve-ai-bridge": {
      "command": "npx",
      "args": ["-y", "davinci-resolve-ai-bridge-mcp", "--serve"]
    }
  }
}

npx davinci-resolve-ai-bridge-mcp without --serve is the installer, not an MCP stdio process. Prefer the generated absolute Python command for predictable offline startup. The installer-created resolve-ai-bridge launcher starts the server directly; npm's executable with the same name requires --serve.

No token is needed in the client configuration. The server and Console worker share a local token file automatically.


Troubleshooting & updates

If the bridge is offline, open a project and choose Start AI Bridge. Run the doctor from the repository for a connection check:

bash
python3 tools/doctor.py

Use python3 tools/doctor.py --offline for file checks without contacting Resolve.

Before an update, stop the worker and your MCP clients. The installer validates the replacement before activating it and keeps the previous runtime for recovery.

Troubleshooting · Testing · Release notes

Console requests carry a unique ID, deadline, worker session and the project/timeline IDs last observed by that MCP client. Inspect resolve_status or timeline_overview in each client before its first queued edit. Mutations validate that context immediately before execution; stale or unavailable IDs are rejected. Restart the Console worker after updating: older workers are refused by the new client. Only one Console worker should use a runtime directory.

The heartbeat reports busy, state (running, completed, failed, or initial idle) and request_id. Its reporting thread makes no Resolve API calls; project/timeline details are cached during jobs. A fresh heartbeat proves the Python reporter is alive, not that a native operation is making progress. A native call holding Python's GIL may still prevent heartbeat updates.

A client timeout stops waiting; it does not confirm cancellation. Queued requests expire before execution, but active native work can finish later. Inspect ~/.resolve-ai-bridge/requests/<request-id>.json and the timeline before attempting another edit. Completed/failed records retain results; a surviving running record after a crash means an unknown outcome and prevents replay of that ID. This is duplicate suppression, not an exactly-once guarantee. Records persist until manually removed with workers/clients stopped; removing them removes duplicate protection. A newly submitted request has a new ID.

Direct attach falls back to Console only before dispatch. Unexpected exceptions after dispatch report an unknown outcome without replay. UI switches during native execution cannot be locked out: keep the intended project/timeline open while edits run. Context validation catches mismatches immediately before execution, not switches away and back between observations.

Before updating, stop the Console worker and MCP clients. The installer builds and validates a staged runtime and dependencies before activation, retains the old directory at ~/.resolve-ai-bridge.previous, and restores it on a caught activation failure. A hard interruption can leave a sibling .install-lock and .stage-* directory; see troubleshooting for recovery. Configuration/menu registration follows activation and is not one transaction with it. Run python3 tools/doctor.py --offline for file diagnostics without contacting Resolve.

bash
python3 -m pip install -r requirements.txt
python3 -m unittest discover -s tests -v
node tools/check-package.mjs
python3 tools/doctor.py

Website development dependencies are separate from the published CLI's runtime dependencies:

bash
npm ci
npm run build

The package check creates and inspects a temporary npm tarball; it does not publish. CI tests Python on macOS, Windows and Linux and checks website/package builds. Maintainers: see release instructions.


License

MIT. See LICENSE.

Cài đặt

TypingMind
{
  "mcpServers": {
    "davinci-resolve-ai-bridge-mcp": {
      "command": "npx",
      "args": [
        "davinci-resolve-ai-bridge-mcp"
      ]
    }
  }
}

Dùng MCP DaVinci Resolve AI Bridge với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối DaVinci Resolve AI Bridge, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm DaVinci Resolve AI Bridge làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của DaVinci Resolve AI Bridge.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "davinci-resolve-ai-bridge-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "davinci-resolve-ai-bridge-mcp"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của DaVinci Resolve AI Bridge, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của DaVinci Resolve AI Bridge.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng DaVinci Resolve AI Bridge giúp tôi làm việc này không?
DaVinci Resolve AI Bridge
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng DaVinci Resolve AI Bridge.

Câu hỏi thường gặp

Máy chủ MCP DaVinci Resolve AI Bridge dùng để làm gì?

DaVinci Resolve AI Bridge là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP DaVinci Resolve AI Bridge với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng DaVinci Resolve AI Bridge với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP DaVinci Resolve AI Bridge với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối DaVinci Resolve AI Bridge, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP DaVinci Resolve AI Bridge với TypingMind?

DaVinci Resolve AI Bridge hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP DaVinci Resolve AI Bridge cung cấp những công cụ nào trong TypingMind?

DaVinci Resolve AI Bridge cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP DaVinci Resolve AI Bridge không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu DaVinci Resolve AI Bridge yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇