Tools Overview
The VFX MCP Server provides 35+ professional video editing tools organized into logical categories. Each tool is designed for specific video manipulation tasks and can be used individually or combined for complex workflows.
🎯 Tool Categories
Section titled “🎯 Tool Categories”Basic Operations 4 tools
Essential video manipulation functions for common editing tasks.
trim_video
- Extract video segmentsget_video_info
- Retrieve video metadataresize_video
- Change video resolutionconcatenate_videos
- Join multiple videos
Audio Processing 4 tools
Complete audio manipulation and visualization capabilities.
extract_audio
- Extract audio tracksadd_audio
- Add or replace audioextract_audio_spectrum
- Audio visualizationmerge_audio_tracks
- Merge multiple audio tracks
Effects & Filters 5 tools
Professional-grade enhancement and visual effects.
apply_filter
- Custom FFmpeg filterschange_speed
- Speed adjustmentapply_color_grading
- Color correctionapply_motion_blur
- Motion blur effectsapply_video_stabilization
- Stabilization
Format Conversion 2 tools
File format and media conversion utilities.
generate_thumbnail
- Extract video framesconvert_format
- Format conversion
Advanced Operations 10 tools
Sophisticated video production and composition tools.
create_video_slideshow
- Image slideshowscreate_video_mosaic
- Multi-video layoutscreate_picture_in_picture
- PiP overlayscreate_time_lapse
- Time-lapse effectscreate_video_transitions
- Smooth transitions- + 5 more advanced tools
Analysis & Extraction 4 tools
Video analysis and content extraction capabilities.
extract_frames
- Frame extractiondetect_scene_changes
- Scene detectionextract_video_statistics
- Technical analysisextract_dominant_colors
- Color analysis
Text & Graphics 2 tools
Text overlay and animation capabilities.
add_text_overlay
- Text overlayscreate_animated_text
- Animated text
Specialized Effects 4 tools
Professional VFX and cinematic effects.
create_green_screen_effect
- Chroma keycreate_particle_system
- Particle effectsapply_3d_transforms
- 3D transformsapply_lens_effects
- Lens simulation
🔧 Common Tool Patterns
Section titled “🔧 Common Tool Patterns”Input/Output Pattern
Section titled “Input/Output Pattern”All tools follow a consistent pattern:
tool_name( input_path: str, # Source video file output_path: str, # Destination file # Tool-specific parameters... ctx: Context = None # Optional progress reporting)
Progress Reporting
Section titled “Progress Reporting”Tools support optional context for progress updates:
await session.call_tool("trim_video", { "input_path": "long_video.mp4", "output_path": "trimmed.mp4", "start_time": 0, "duration": 60 # Progress updates will be streamed back})
Error Handling
Section titled “Error Handling”All tools provide comprehensive error handling:
- Input validation: File existence and format checks
- FFmpeg errors: Detailed error messages with suggestions
- Resource management: Automatic cleanup of temporary files
📊 Resource Endpoints
Section titled “📊 Resource Endpoints”In addition to tools, the server provides resource endpoints for file discovery:
videos://list
Section titled “videos://list”Lists all video files in the current working directory:
{ "videos": [ { "name": "sample.mp4", "size": "15.2 MB", "duration": 45.3, "resolution": "1920x1080" } ]}
videos://{filename}/metadata
Section titled “videos://{filename}/metadata”Returns detailed metadata for a specific video:
{ "format": "mp4", "duration": 45.3, "width": 1920, "height": 1080, "fps": 30.0, "video_codec": "h264", "audio_codec": "aac", "bitrate": 2500000, "file_size": "15.2 MB"}
tools://advanced
Section titled “tools://advanced”Provides information about advanced tool capabilities and usage patterns.
🎬 Tool Usage Philosophy
Section titled “🎬 Tool Usage Philosophy”Single Responsibility
Section titled “Single Responsibility”Each tool has a focused purpose:
- Basic tools handle fundamental operations
- Advanced tools combine multiple operations
- Analysis tools extract information without modification
Composability
Section titled “Composability”Tools are designed to work together:
# Extract → Process → Combine workflowextract_frames("video.mp4", "frames/")# Process frames individuallycreate_video_slideshow("frames/", "processed.mp4")
Performance Optimization
Section titled “Performance Optimization”- Copy mode: Tools use FFmpeg copy when possible (no re-encoding)
- Chunked processing: Large files are processed in manageable chunks
- Concurrent operations: Multi-threaded processing where applicable
🚀 Getting Started with Tools
Section titled “🚀 Getting Started with Tools”1. Basic Video Info
Section titled “1. Basic Video Info”# Always start by understanding your videoinfo = await session.call_tool("get_video_info", { "video_path": "input.mp4"})
2. Simple Edits
Section titled “2. Simple Edits”# Trim to essential contentresult = await session.call_tool("trim_video", { "input_path": "input.mp4", "output_path": "trimmed.mp4", "start_time": 10, "duration": 60})
3. Enhancement
Section titled “3. Enhancement”# Apply color grading for better visualsresult = await session.call_tool("apply_color_grading", { "input_path": "trimmed.mp4", "output_path": "enhanced.mp4", "brightness": 0.1, "contrast": 1.2, "saturation": 1.1})
4. Advanced Composition
Section titled “4. Advanced Composition”# Create picture-in-picture effectresult = await session.call_tool("create_picture_in_picture", { "main_video": "enhanced.mp4", "overlay_video": "webcam.mp4", "output_path": "final.mp4", "position": "top-right", "scale": 0.3})
📚 Next Steps
Section titled “📚 Next Steps”Ready to dive deeper? Explore the detailed documentation for each tool category:
Basic Operations
Start with essential video editing functions
Advanced Operations
Complex video composition and effects
Common Workflows
Learn typical video editing patterns
API Reference
Complete technical documentation
Questions about specific tools? Each category page includes detailed examples, parameter references, and use case scenarios.