AD

apvlv/davinci-resolve-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

81 stars 5 forks Качество 68 Тренд 8MIT

apvlv/davinci-resolve-mcp - кандидат на сервер MCP, импортированный из https://github.com/apvlv/davinci-resolve-mcp.

Обзор

apvlv/davinci-resolve-mcp - кандидат на сервер MCP, импортированный из https://github.com/apvlv/davinci-resolve-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP), который позволяет клиентам MCP контролировать и проверять DaVinci Resolve (включая Fusion) с помощью инструментов и ресурсов.

Что это дает

  • Управление проектами (создание, загрузка, сохранение)
  • операции по временной шкале (создание временной шкалы, переключение временной шкалы, сборка из клипов)
  • Операции медиа пула (импорт медиа, создание папок, проверка папок)
  • Fusion helpers (добавить комп для обрезания, создавать узлы, создавать цепочки узлов)
  • Решить навигацию по страницам Продвинутый сценарий execute_python, execute_lua

Требования

Python 3.10+ DaVinci Resolve с API сценариев MCP-совместимый клиент (например, Claude Desktop)

##Установка

Запуск сервера

Сервер попытается подключиться к Resolve при запуске. Убедитесь, что DaVinci Resolve работает.

Настройка клиента MCP

Настройте клиент MCP для запуска команды сервера:

##Ресурсы

  • [[Т2]]
  • [[Т3]]
  • [[Т4]]
  • [[Т5]]
  • [[Т6]]
  • [[Т7]]
  • [[Т8]]

Инструменты

###Проект

  • [[Т9]]
  • [[Т10]]
  • [[Т11]]

###Время

  • [[Т12]]
  • [[Т13]]

###Медиа

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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)

Открыть полный README на GitHub

Установка

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

Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

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