A high-performance Model Context Protocol (MCP) server for DaVinci Resolve automation, written in Rust.
- β All Tests Passing: 100% test coverage with 43 comprehensive tests
- π 120+ Professional Tools: Complete automation suite for DaVinci Resolve
- π§ Phase 3 API Complete: All missing API methods implemented
- β‘ Enhanced Performance: Optimized bridge implementation with simulation mode
- π οΈ Code Quality: Formatted, linted, and production-ready
- 120+ Professional Tools: Complete automation suite for DaVinci Resolve
- Pure Rust Implementation: Fast, memory-safe, and reliable
- Complete DaVinci Resolve API Coverage: All major operations supported
- Keyframe Animation System: Professional-grade animation control
- Timeline Item Manipulation: Comprehensive timeline item property control
- Color Grading Operations: Advanced color correction and grading tools
- Async/Await Support: Non-blocking operations for better performance
- Type Safety: Compile-time guarantees for API correctness
- Comprehensive Error Handling: Detailed error reporting and recovery
- Dual Mode Operation: Real DaVinci Resolve connection + Simulation mode for testing
- Project creation, opening, and page switching
- Timeline creation, deletion, and management
- Marker addition and timeline track operations
- Project properties and timeline format control
- Media import and bin management
- Audio sync and clip operations
- Proxy media and subclip creation
- Advanced media pool folder operations
- LUT application and export
- Color wheel parameter control
- Node management and grade copying
- Color preset save/apply/delete operations
- PowerGrade LUT batch export
- Transform properties (Pan, Tilt, Zoom, Rotation, etc.)
- Crop settings (Left, Right, Top, Bottom)
- Composite modes and opacity control
- Retiming and stabilization settings
- Audio properties (Volume, Pan, EQ)
- Add, modify, and delete keyframes
- Interpolation control (Linear, Bezier, Ease-In/Out)
- Keyframe mode activation (All, Color, Sizing)
- Comprehensive keyframe inspection and management
- Render queue management (add, start, clear)
- Real-time render status monitoring
- Project export with media packaging
- Custom render preset creation
- Professional delivery workflows
- Cloud project creation and management
- Project import/export to cloud
- User permission management
- Collaborative workflow support
- Cache mode control (auto/on/off)
- Optimized media generation and deletion
- Proxy mode and quality settings
- Cache path configuration (local/network)
- UI layout preset save/load/export/import
- Interface customization and automation
- Workspace management
- Application quit and restart
- Settings and preferences dialogs
- System-level DaVinci Resolve control
- DaVinci Resolve API object help
- Custom object path inspection
- Advanced API debugging tools
- Audio track management and naming
- Audio transcription and clearing
- Advanced audio workflow automation
- Fusion tool management
- Advanced compositing operations
- Gallery still album management
- Advanced gallery workflow automation
- Project timeline management by index
- Current timeline operations
- Project naming and unique ID management
- Render job list and rendering control
- Project preset management
- Render format and codec control
- Render mode management
- Color groups management
- Tests: 43 comprehensive tests (100% passing)
- 12 Phase 3 API coverage tests
- 17 integration tests
- 6 unit tests
- 8 additional specialized tests
- Performance: O(log n) keyframe operations with binary search optimization
- Memory: Optimized bridge implementation with efficient state management
- Architecture: Professional-grade Rust implementation with Arc concurrency
- Code Quality: Formatted with rustfmt, linted with clippy, production-ready
β
test_phase3_api_coverage_summary
β
test_phase3_gallery_api_coverage
β
test_phase3_mediapool_api_coverage
β
test_phase3_comprehensive_performance
β
test_phase3_fairlight_api_coverage
β
test_phase3_mediapoolitem_api_coverage
β
test_phase3_fusion_api_coverage
β
test_tool_validation
β
test_phase3_project_api_coverage
β
test_single_tool_debug
β
test_performance_benchmark
β
test_comprehensive_tool_coverage
davinci-mcp-rs/
βββ src/
β βββ lib.rs # Library entry point
β βββ server.rs # Main MCP server implementation
β βββ error.rs # Error types and handling
β βββ tools/ # MCP tool implementations
β β βββ mod.rs # Tool definitions and handlers
β βββ bridge/ # DaVinci Resolve API bridge
β βββ config/ # Configuration management
β βββ bin/ # Binary executables
βββ tests/ # Test suites
β βββ integration_test.rs # Integration tests
β βββ unit_test.rs # Unit tests
βββ docs/ # Documentation
β βββ development/ # Development docs
β βββ phases/ # Project phase documentation
β βββ FEATURES.md # Feature documentation
β βββ USAGE_GUIDE.md # Usage guide
βββ Cargo.toml # Project configuration
βββ README.md # This file
- Rust 1.70+
- DaVinci Resolve installed and running
- Python 3.8+ (for DaVinci Resolve's scripting API)
# Clone the repository
git clone https://github.com/modelcontextprotocol/davinci-mcp-rs
cd davinci-mcp-rs
# Build the project
cargo build --release
# Run tests
cargo test
# Development mode
cargo run
# Production mode
cargo run --release
The server can be configured through environment variables or a configuration file. See docs/USAGE_GUIDE.md
for detailed configuration options.
# Run all tests
cargo test
# Run specific test suite
cargo test integration_test
cargo test unit_test
# Run with output
cargo test -- --nocapture
# Format code
cargo fmt
# Run linter
cargo clippy
# Check for security vulnerabilities
cargo audit
π Complete Documentation - Comprehensive documentation index
- Quick Start Guide - Get up and running in 5 minutes
- Usage Guide - Detailed usage instructions and examples
- Features Overview - Complete feature list and capabilities
- Project Reports - Development progress and achievement reports
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests for new functionality
- Run the test suite
- Submit a pull request
Non-Commercial License - Free for non-commercial use only.
This software is licensed under a custom non-commercial license that permits:
- β Personal use
- β Educational use
- β Research projects
- β Open-source development
- β Commercial use (requires separate commercial license)
See the LICENSE file for complete terms and conditions.
For commercial licensing inquiries, please contact the project maintainers.
This server implements the Model Context Protocol to provide seamless integration between AI assistants and DaVinci Resolve. The Rust implementation ensures:
- Performance: Native code execution with minimal overhead
- Safety: Memory safety and thread safety guaranteed by Rust
- Reliability: Comprehensive error handling and recovery
- Maintainability: Clean architecture with clear separation of concerns
The server communicates with DaVinci Resolve through its Python scripting API via a carefully designed bridge layer, providing type-safe access to all DaVinci Resolve functionality.