Logo MCP Server Plugin

MCP Server Plugin

Cộng đồng
Tooflex

Control DaVinci Resolve Studio from MCP clients such as Claude Desktop.

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

    MCP Server Plugin cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 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.

  • Cấu hình sẵn để sao chép

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

  • Chỉ số quan tâm đến mã nguồn mở

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

DaVinci Resolve MCP Server

Control DaVinci Resolve Studio from MCP clients such as Claude Desktop.

This project exposes Resolve projects, timelines, media, Fusion, color, audio, playback, and rendering operations through a local Model Context Protocol server.

What it does

The server provides:

  • 32 MCP tools for editing and controlling Resolve;
  • 6 read-only MCP resources describing the current Resolve state;
  • automatic discovery of the DaVinci Resolve scripting API on Windows, macOS, and Linux;
  • a protected native-module probe, so a broken fusionscript import does not crash the MCP server;
  • Windows runtime isolation to prevent Resolve from loading an incompatible Python DLL.

Example requests from an MCP client:

Create a project called “Product Launch”.

Import these three clips and create a timeline called “Rough Cut”.

Add a blue marker at frame 240 with the note “Review transition”.

Save the current grade as a still in the “Approved Looks” album.

Requirements

  • DaVinci Resolve Studio 18 or newer. External scripting must be enabled.
  • 64-bit CPython 3.10 or 3.11. Resolve's scripting module still imports imp, which was removed from Python 3.12.
  • The DaVinci Resolve scripting API installed with Resolve.
  • An MCP client such as Claude Desktop.

Before starting the server, open Resolve and set:

Preferences → System → General → External scripting using → Local

The free edition of Resolve does not expose the external scripting connection used by this server. The MCP process can start, but it will remain disconnected.

Installation

Clone the repository first:

bash
git clone https://github.com/Tooflex/davinci-resolve-mcp.git
cd davinci-resolve-mcp

Windows

Use a regular 64-bit Python from python.org. Do not use a uv-managed standalone Python on Windows: Resolve's fusionscript.dll is known to crash with those builds.

Install Python 3.10:

powershell
winget install --id Python.Python.3.10 -e

Create the environment and install the dependencies:

powershell
& "$env:LOCALAPPDATA\Programs\Python\Python310\python.exe" -m venv .venv310
.\.venv310\Scripts\python.exe -m pip install --upgrade pip
.\.venv310\Scripts\python.exe -m pip install -e .

Start the server through the Windows launcher:

powershell
.\run_server.ps1

Always use run_server.ps1 on Windows. It pins Resolve to the correct Python runtime, isolates PATH, and configures the scripting API paths before starting the server.

macOS

Create a virtual environment with CPython 3.10 or 3.11:

bash
python3.11 -m venv .venv
./.venv/bin/python -m pip install --upgrade pip
./.venv/bin/python -m pip install -e .

Start the server:

bash
./.venv/bin/davinci-resolve-mcp

The standard Resolve API locations are detected automatically:

  • /Library/Application Support/Blackmagic Design/DaVinci Resolve/Developer/Scripting/Modules
  • ~/Library/Application Support/Blackmagic Design/DaVinci Resolve/Developer/Scripting/Modules

Both Intel and Apple Silicon Macs use the same Resolve application and scripting paths.

Linux

Create the environment and install the dependencies:

bash
python3.11 -m venv .venv
./.venv/bin/python -m pip install --upgrade pip
./.venv/bin/python -m pip install -e .
./.venv/bin/davinci-resolve-mcp

The default Linux scripting path is /opt/resolve/Developer/Scripting/Modules.

If you use uv as an installer, target an existing compatible CPython environment explicitly:

bash
uv pip install --python .venv/bin/python -e .

On Windows, continue to use the regular python.org environment and run_server.ps1; do not let uv provision a standalone Python runtime.

MCP client configuration

The server uses the MCP standard I/O transport. Configure your client to launch the server as a local process.

Claude Desktop on Windows

Edit %APPDATA%\Claude\claude_desktop_config.json:

json
{
  "mcpServers": {
    "davinci-resolve": {
      "command": "powershell",
      "args": [
        "-NoProfile",
        "-ExecutionPolicy",
        "Bypass",
        "-File",
        "C:\\absolute\\path\\to\\davinci-resolve-mcp\\run_server.ps1"
      ]
    }
  }
}

Claude Desktop on macOS

Edit ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "davinci-resolve": {
      "command": "/absolute/path/to/davinci-resolve-mcp/.venv/bin/davinci-resolve-mcp",
      "args": []
    }
  }
}

Other MCP clients

Use the same command and argument pairs shown above:

  • Windows: powershell -NoProfile -ExecutionPolicy Bypass -File <run_server.ps1>
  • macOS/Linux: <venv>/bin/davinci-resolve-mcp

Use absolute paths. Keep Resolve running, restart the MCP client after changing its configuration, and then check that the davinci-resolve tools are available.

Available MCP resources

URIDescription
system://statusConnection, project, and timeline status
project://currentCurrent project name and timeline count
timeline://currentCurrent timeline name, duration, and video-track count
timeline://itemsItems on the first video track
mediapool://currentCurrent media-pool folder and clip count
gallery://albumsGallery album names

Available MCP tools

Projects and navigation

ToolOperation
refreshRefresh cached Resolve objects
create_projectCreate a project
load_projectOpen an existing project
save_projectSave the current project
export_projectExport a project to a file
import_projectImport a project file
set_project_settingChange a project setting
open_pageOpen Media, Edit, Fusion, Color, Fairlight, or Deliver

Media and timelines

ToolOperation
import_mediaImport files into the media pool
add_sub_folderAdd a media-pool subfolder
create_timelineCreate an empty timeline
set_current_timelineSelect a timeline by its 1-based index
append_to_timelineAppend named clips
create_timeline_from_clipsBuild a timeline from named clips
import_timeline_from_fileImport a timeline such as XML or EDL
set_clip_propertyChange a timeline clip property
add_timeline_markerAdd a marker at a frame
add_trackAdd a video, audio, or subtitle track
set_track_nameRename a track
enable_trackEnable or disable a track
set_current_versionSelect a color or Fusion clip version

Fusion and color

ToolOperation
execute_luaExecute Lua in Resolve's Fusion environment
create_fusion_nodeAdd a node to the current Fusion composition
add_color_nodeAdd a color node to the current clip
save_stillSave the current grade to a gallery album
apply_stillApply a named still to a clip

execute_lua runs code inside Resolve. Only execute scripts from sources you trust.

Audio, playback, and rendering

ToolOperation
set_audio_volumeSet a named clip's audio volume
set_track_volumeSet an audio-track volume
play_timelineStart playback
stop_timelineStop playback
set_playhead_positionMove the playhead to a frame
start_project_renderStart a render with an optional preset and output path

How the connection bootstrap works

server.py imports resolve_env.py before creating ResolveAPI.

On every platform, the bootstrap:

  1. selects the Resolve scripting API and native library paths;
  2. propagates the selected Modules directory to child processes;
  3. probes DaVinciResolveScript in a disposable subprocess;
  4. imports the native library in the MCP process only when the probe exits safely.

On Windows, Resolve may otherwise select a Python runtime from the Windows registry and load a foreign python3xx.dll into the current process. FUSION_PYTHON3_HOME, DLL preloading, and the isolated launcher prevent that native crash.

Environment overrides

Defaults work for standard Resolve installations. For a custom installation, set these variables before starting the server:

VariablePurpose
RESOLVE_SCRIPT_PATHDirectory containing DaVinciResolveScript.py
RESOLVE_SCRIPT_APIRoot of Resolve's Developer/Scripting directory
RESOLVE_SCRIPT_LIBAbsolute path to fusionscript.dll or fusionscript.so
FUSION_PYTHON3_HOMEWindows Python runtime Resolve must load

Example:

bash
export RESOLVE_SCRIPT_PATH="/custom/Developer/Scripting/Modules"
export RESOLVE_SCRIPT_API="/custom/Developer/Scripting"
export RESOLVE_SCRIPT_LIB="/custom/Fusion/fusionscript.so"
./.venv/bin/davinci-resolve-mcp

Troubleshooting

The server starts but is not connected

  • Confirm that DaVinci Resolve Studio is running.
  • Set External scripting using to Local, then restart Resolve.
  • Confirm that the configured Python is version 3.10 or 3.11.
  • Check that the Resolve scripting Modules directory exists.

The server intentionally remains available in a disconnected state when it cannot initialize Resolve.

scriptapp('Resolve') returned None

The native module loaded, but it could not obtain a running Resolve object. Resolve is either closed, external scripting is disabled, or the installed edition does not support external scripting.

ModuleNotFoundError: No module named 'imp'

Python 3.12 or newer is being used. Recreate the virtual environment with Python 3.10 or 3.11.

Windows access violation 0xC0000005

Launch the project through run_server.ps1, not with python server.py.

The crash occurs when fusionscript.dll loads an incompatible Python runtime, often from another python.org or Anaconda installation registered on the machine. The launcher sets FUSION_PYTHON3_HOME and isolates DLL resolution.

No valid Resolve scripting module path found

Set RESOLVE_SCRIPT_PATH to the directory containing DaVinciResolveScript.py. If the native library is also in a non-standard location, set RESOLVE_SCRIPT_LIB.

Missing MCP dependencies

Install the project into the same interpreter configured in the MCP client:

bash
python -m pip install -e .

Development

Install the project in editable mode:

bash
python -m pip install -e .

Run the unit tests:

bash
python -m unittest discover -s tests -v

Run syntax checks:

bash
python -m py_compile server.py resolve_api.py resolve_env.py

The GitHub Actions workflow runs the unit tests on Python 3.10 and 3.11 across Windows, macOS, and Linux.

Contributions should keep platform-specific bootstrap behavior covered by tests.

Cài đặt

TypingMind
{
  "mcpServers": {
    "davinci-resolve-mcp": {
      "command": "uv",
      "args": [
        "run",
        "resolve_mcp/server.py"
      ]
    }
  }
}

Dùng MCP MCP Server Plugin 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 MCP Server Plugin, 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 Cài 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 Cài 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 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. Giữ tiến trình 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. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm MCP Server Plugin 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 MCP Server Plugin.
  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-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
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 MCP Server Plugin, 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 MCP Server Plugin.
  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 TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng MCP Server Plugin giúp tôi làm việc này không?
MCP Server Plugin
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng MCP Server Plugin.

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

Máy chủ MCP MCP Server Plugin dùng để làm gì?

MCP Server Plugin 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 MCP Server Plugin 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 MCP Server Plugin 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 MCP Server Plugin 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 MCP Server Plugin, 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 MCP Server Plugin với TypingMind?

MCP Server Plugin 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 MCP Server Plugin cung cấp những công cụ nào trong TypingMind?

MCP Server Plugin 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 MCP Server Plugin 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 MCP Server Plugin 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 👇