AD

apvlv/davinci-resolve-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

81 stars 5 forks 质量 68 趋势 8MIT

apvlv/davinci-resolve-mcp 是从 https://github.com/apvlv/davinci-resolve-mcp. 导入的 MCP 服务器候选服务器

概览

apvlv/davinci-resolve-mcp 是从 https://github.com/apvlv/davinci-resolve-mcp. 导入的 MCP 服务器候选服务器

概述(AI 翻译)

模型上下文协议(MCP)服务器,允许MCP客户端通过工具和资源控制和检查达芬奇Resolve(包括Fusion)。

它所提供的

  • 项目管理(创建、加载、保存)
  • 时间线操作(创建时间线、切换时间线、从剪辑构建)
  • 媒体池操作(导入媒体、创建文件夹、检查文件夹)
  • Fusion 辅助工具(添加压缩、创建节点、创建节点链)
  • 解析页面导航
  • 高级脚本([execute_python,execute_lua)

要求

  • Python 3.10+
  • 达芬奇Resolve,提供脚本API
  • 一个兼容MCP的客户端(例如Claude Desktop)

安装

运行服务器

服务器启动时会尝试连接Resolve。确保DaVinci Resolve在运行。

MCP 客户端设置

配置你的MCP客户端启动服务器命令:

资源

  • system://status
  • project://current
  • project://timelines
  • timeline://current
  • mediapool://folders
  • mediapool://current
  • storage://volumes

工具

项目

  • create_project(name)
  • load_project(name)
  • save_project()

时间线

  • create_timeline(name)
  • set_current_timeline(index)

媒体

本页由 AI 翻译,技术细节请以原文为准。

README

DaVinci Resolve MCP Server

Model Context Protocol (MCP) server that lets MCP clients control and inspect DaVinci Resolve (including Fusion) through tools and resources.

What it provides

  • Project management (create, load, save)
  • Timeline operations (create timeline, switch timeline, build from clips)
  • Media pool operations (import media, create folders, inspect folders)
  • Fusion helpers (add comp to clip, create nodes, create node chains)
  • Resolve page navigation
  • Advanced scripting (execute_python, execute_lua)

Requirements

  • Python 3.10+
  • DaVinci Resolve with scripting API available
  • An MCP-compatible client (for example Claude Desktop)

Install

git clone https://github.com/apvlv/davinci-resolve-mcp.git
cd davinci-resolve-mcp
uv sync --all-extras --dev

Run the server

uv run davinci-resolve-mcp

The server will try to connect to Resolve on startup. Make sure DaVinci Resolve is running.

MCP client setup

Configure your MCP client to launch the server command:

{
  "mcpServers": {
    "davinci-resolve": {
      "command": "uv",
      "args": ["run", "davinci-resolve-mcp"]
    }
  }
}

Resources

  • system://status
  • project://current
  • project://timelines
  • timeline://current
  • mediapool://folders
  • mediapool://current
  • storage://volumes

Tools

Project

  • create_project(name)
  • load_project(name)
  • save_project()

Timeline

  • create_timeline(name)
  • set_current_timeline(index)

Media

  • import_media(file_paths)
  • create_folder(name)
  • create_timeline_from_clips(name, clip_indices)

Fusion

  • add_fusion_comp_to_clip(timeline_index, track_type, track_index, item_index)
  • create_fusion_node(node_type, parameters)
  • create_fusion_node_chain(node_chain)

Resolve UI

  • open_page(page_name) where page name is one of:
    • media, edit, fusion, color, fairlight, deliver

Advanced

  • execute_python(code)
  • execute_lua(script)

Development

make install      # install deps and pre-commit hooks
make lint-check   # ruff check
make format-check # ruff format check
make test         # pytest with coverage
make check        # lint + format + tests

Example usage ideas

  • “Create a project named My Documentary”
  • “List timelines in the current project”
  • “Import these files into the media pool”
  • “Open the Color page”
  • “Create a Fusion node chain Blur -> ColorCorrector”

License

MIT (see LICENSE)

在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "davinci-resolve": { "command": "uv", "args": ["run", "davinci-resolve-mcp"] } } }