MCP Video Editing Assistant

MCP Video Editing Assistant

A Model Context Protocol (MCP) server that learns from your video editing behavior and provides intelligent assistance for film and television post-production workflows.

Category
访问服务器

README

MCP Video Editing Assistant

A Model Context Protocol (MCP) server that learns from your video editing behavior and provides intelligent assistance for film and television post-production workflows.

Features

🎬 DaVinci Resolve Integration

  • Real-time Timeline Analysis: Track cuts, transitions, and editing patterns
  • Workflow Learning: Monitor tool usage across Edit, Color, Fairlight, and Deliver pages
  • AI-Powered Insights: Get personalized suggestions based on your editing style

📊 Editing Behavior Tracking

  • Cut Pattern Analysis: Learn your preferred cut lengths and rhythms
  • Session Monitoring: Track editing sessions with detailed action logs
  • Workflow Optimization: Identify bottlenecks and suggest improvements

🔧 Smart Tools

  • File Operations: Automated media organization and project structure
  • Project Monitoring: Watch for file changes and project updates
  • Pattern Recognition: Detect editing habits and preferences

Quick Start

1. Installation

# Clone the repository
git clone https://github.com/yourusername/mcp-video-editing-assistant.git
cd mcp-video-editing-assistant

# Create virtual environment
python3 -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements_editing.txt

2. DaVinci Resolve Setup

# Run the setup script to configure Resolve API
python setup_resolve_integration.py

Enable API Access in DaVinci Resolve:

  1. Open DaVinci Resolve
  2. Go to Preferences > System > General
  3. Enable "External Scripting Using"
  4. Restart DaVinci Resolve

3. Claude Desktop Configuration

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "video-editing-assistant": {
      "command": "/path/to/your/venv/bin/python",
      "args": ["/path/to/your/project/davinci_resolve_mcp.py"]
    },
    "editing-watcher": {
      "command": "/path/to/your/venv/bin/python",
      "args": ["/path/to/your/project/editing_watcher.py"]
    }
  }
}

4. Usage

  1. Start DaVinci Resolve with a project loaded
  2. Restart Claude Desktop to load the MCP servers
  3. Begin learning session:
    Ask Claude: "Connect to resolve and start learning my editing patterns"
    

Available Tools

DaVinci Resolve Integration

  • connect_to_resolve - Connect to DaVinci Resolve API
  • analyze_current_timeline - Analyze the active timeline
  • analyze_cut_patterns - Get insights on your cutting style
  • track_tool_usage - Monitor which tools you use most
  • get_editing_insights - AI analysis of your editing patterns
  • suggest_workflow_optimization - Get personalized workflow suggestions

General Editing Tools

  • start_learning_session - Begin tracking editing behavior
  • track_cut - Manually log cut decisions and reasoning
  • track_workflow_step - Monitor post-production phases
  • get_editing_insights - View learned patterns and statistics
  • suggest_next_action - AI-powered next step recommendations

File Operations

  • file_write - Create and modify files
  • list_files - Browse project directories
  • run_command - Execute system commands
  • get_timestamp - Track timing information

Examples

Start Learning Your Editing Style

Ask Claude: "Start a learning session for my documentary project"
Claude will: Begin tracking your timeline changes, tool usage, and cutting patterns

Get Editing Insights

Ask Claude: "What patterns do you see in my editing?"
Claude will: Analyze your cut lengths, tool preferences, and workflow habits

Timeline Analysis

Ask Claude: "Analyze my current timeline in Resolve"
Claude will: Provide detailed statistics about cuts, pacing, and structure

Workflow Optimization

Ask Claude: "How can I optimize my editing workflow?"
Claude will: Suggest keyboard shortcuts, tool recommendations, and efficiency improvements

Project Structure

mcp-video-editing-assistant/
├── README.md
├── requirements.txt
├── requirements_editing.txt
├── server.py                    # Basic MCP server
├── enhanced_server.py           # Enhanced file operations server
├── editing_watcher.py           # General editing behavior tracker
├── davinci_resolve_mcp.py       # DaVinci Resolve integration
├── setup_resolve_integration.py # Setup and configuration script
└── claude_desktop_config*.json  # Configuration examples

Requirements

Software

  • Python 3.8+
  • DaVinci Resolve 17+ (for Resolve integration)
  • Claude Desktop with MCP support

Python Dependencies

  • mcp - Model Context Protocol framework
  • watchdog - File system monitoring
  • xmltodict - XML parsing for project files
  • opencv-python - Video analysis (optional)
  • ffmpeg-python - Media file processing (optional)

Configuration

Environment Variables

export RESOLVE_API_PATH="/Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Libraries/Fusion/"
export EDITING_DATA_PATH="./editing_patterns.json"

DaVinci Resolve API Paths

  • macOS: /Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Libraries/Fusion/
  • Windows: C:\Program Files\Blackmagic Design\DaVinci Resolve\
  • Linux: /opt/resolve/libs/Fusion/

Troubleshooting

DaVinci Resolve Connection Issues

  1. Ensure DaVinci Resolve is running
  2. Check that API access is enabled in preferences
  3. Verify the correct API path for your platform
  4. Run python setup_resolve_integration.py to test connection

MCP Server Not Loading

  1. Check that Claude Desktop configuration is correct
  2. Verify virtual environment Python path
  3. Ensure all dependencies are installed
  4. Check Claude Desktop logs for error messages

Permission Issues

  1. Ensure Python has permission to access project directories
  2. Check file system permissions for media folders
  3. Run with appropriate user privileges

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

  • Anthropic for the Model Context Protocol
  • Blackmagic Design for the DaVinci Resolve API
  • The Claude Desktop team for MCP integration

Roadmap

  • [ ] Adobe Premiere Pro integration
  • [ ] Final Cut Pro X support
  • [ ] Avid Media Composer compatibility
  • [ ] AI-powered color grading suggestions
  • [ ] Automated rough cut generation
  • [ ] Export preset recommendations
  • [ ] Collaboration workflow tools

Note: This project is for defensive security and productivity purposes only. Always follow industry best practices for media security and backup procedures.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选