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.
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:
- Open DaVinci Resolve
- Go to Preferences > System > General
- Enable "External Scripting Using"
- 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
- Start DaVinci Resolve with a project loaded
- Restart Claude Desktop to load the MCP servers
- 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 APIanalyze_current_timeline- Analyze the active timelineanalyze_cut_patterns- Get insights on your cutting styletrack_tool_usage- Monitor which tools you use mostget_editing_insights- AI analysis of your editing patternssuggest_workflow_optimization- Get personalized workflow suggestions
General Editing Tools
start_learning_session- Begin tracking editing behaviortrack_cut- Manually log cut decisions and reasoningtrack_workflow_step- Monitor post-production phasesget_editing_insights- View learned patterns and statisticssuggest_next_action- AI-powered next step recommendations
File Operations
file_write- Create and modify fileslist_files- Browse project directoriesrun_command- Execute system commandsget_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 frameworkwatchdog- File system monitoringxmltodict- XML parsing for project filesopencv-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
- Ensure DaVinci Resolve is running
- Check that API access is enabled in preferences
- Verify the correct API path for your platform
- Run
python setup_resolve_integration.pyto test connection
MCP Server Not Loading
- Check that Claude Desktop configuration is correct
- Verify virtual environment Python path
- Ensure all dependencies are installed
- Check Claude Desktop logs for error messages
Permission Issues
- Ensure Python has permission to access project directories
- Check file system permissions for media folders
- Run with appropriate user privileges
Contributing
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - 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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.