这是一个用于与DaVinci Resolve和Fusion交互的Model Context Protocol (MCP)服务器。此服务器允许像Claude这样的AI助手通过模型上下文协议直接与DaVinci Resolve进行交互和控制。
克隆此仓库:
git clone https://github.com/apvlv/davinci-resolve-mcp.git
cd davinci-resolve-mcp
安装所需依赖项:
pip install -r requirements.txt
在Claude Desktop中安装MCP服务器:
mcp install src/resolve_mcp/server.py
或者,您可以使用可编辑标志进行开发安装:
mcp install src/resolve_mcp/server.py --with-editable .
5ire是一个开源跨平台桌面AI助手和MCP客户端,兼容此服务器。
brew tap brewforge/extras
brew install --cask 5ire
project://current - 获取当前项目的相关信息project://timelines - 获取当前项目中的时间线列表timeline://current - 获取当前时间线的信息mediapool://folders - 获取媒体池中的文件夹列表mediapool://current - 获取当前媒体池文件夹的信息storage://volumes - 获取已挂载卷的列表system://status - 获取DaVinci Resolve连接的当前状态create_project(name) - 创建一个新的DaVinci Resolve项目load_project(name) - 加载现有的DaVinci Resolve项目save_project() - 保存当前的DaVinci Resolve项目create_timeline(name) - 在当前项目中创建新的时间线set_current_timeline(index) - 通过索引设置当前时间线(基于1)import_media(file_paths) - 将媒体文件导入当前媒体池文件夹create_folder(name) - 在当前媒体池文件夹中创建新文件夹create_timeline_from_clips(name, clip_indices) - 从当前媒体池文件夹中的剪辑创建新的时间线add_fusion_comp_to_clip(timeline_index, track_type, track_index, item_index) - 将Fusion合成添加到时间线中的剪辑create_fusion_node(node_type, parameters) - 在当前合成中创建特定的Fusion节点create_fusion_node_chain(node_chain) - 在当前合成中创建一系列连接的Fusion节点open_page(page_name) - 打开DaVinci Resolve中的特定页面(媒体、编辑、融合、色彩、音频、交付)execute_python(code) - 在DaVinci Resolve中执行任意Python代码execute_lua(script) - 在DaVinci Resolve的Fusion中执行Lua脚本该服务器使用模型上下文协议在Claude和DaVinci Resolve之间进行通信。它利用了DaVinci Resolve的Python API来控制应用程序。
MIT