A powerful Model Context Protocol (MCP) server designed for advanced video and audio editing operations. This server enables MCP clientsβsuch as Claude Desktop, Cursor, and othersβto perform comprehensive multimedia editing tasks through a standardized and unified interface. - Basic Editing: Trim, merge, resize, crop, rotate videos - Effects: Speed control, fade in/out, grayscale, mirror - Overlay
Add this skill
npx mdskills install Aditya2755/video-edit-mcpComprehensive video/audio editing MCP server with extensive features and clear setup
1# Video Edit MCP Server π¬23A powerful **Model Context Protocol (MCP)** server designed for advanced video and audio editing operations. This server enables MCP clientsβsuch as Claude Desktop, Cursor, and othersβto perform comprehensive multimedia editing tasks through a standardized and unified interface.45678910https://github.com/user-attachments/assets/134b8b82-80b1-4678-8930-ab53121b121f111213141516## β¨ Key Features1718### π₯ Video Operations19- **Basic Editing**: Trim, merge, resize, crop, rotate videos20- **Effects**: Speed control, fade in/out, grayscale, mirror21- **Overlays**: Add text, images, or video overlays with transparency22- **Format Conversion**: Convert between formats with codec control23- **Frame Operations**: Extract frames, create videos from images2425### π΅ Audio Operations26- **Audio Processing**: Extract, trim, loop, concatenate audio27- **Volume Control**: Adjust levels, fade in/out effects28- **Audio Mixing**: Mix multiple tracks together29- **Integration**: Add audio to videos, replace soundtracks3031### π₯ Download & Utilities32- **Video Download**: Download from YouTube and other platforms33- **File Management**: Directory operations, file listing34- **Path Suggestions**: Get recommended download locations3536### π§Ή Memory & Cleanup37- **Smart Memory**: Chain operations without saving intermediate files38- **Resource Management**: Clear memory, check stored objects39- **Efficient Processing**: Keep objects in memory for complex workflows4041### π Operation Chaining42Seamlessly chain multiple operations together without creating intermediate files. Process your video through multiple steps (trim β add audio β apply effects β add text) while keeping everything in memory for optimal performance.4344## π Requirements4546- **Python 3.10 or higher**47- **moviepy==1.0.3**48- **yt-dlp>=2023.1.6**49- **mcp>=1.12.2**50- **typing-extensions>=4.0.0**5152## βοΈ Installation & Setup53545556### For Claude Desktop / Cursor MCP Integration5758**Ensure that `uv` is installed.**59If not, install it using the following PowerShell command:6061```powershell62powershell -ExecutionPolicy Bypass -Command "irm https://astral.sh/uv/install.ps1 | iex"63```6465Add this configuration to your MCP configuration file:6667```json68{69 "mcpServers": {70 "video_editing": {71 "command": "uvx",72 "args": [73 "--python",74 "3.11",75 "video-edit-mcp"76 ]77 }78 }79}80```8182**Configuration file locations:**83- **Claude Desktop (Windows)**: `%APPDATA%/Claude/claude_desktop_config.json`84- **Claude Desktop (macOS)**: `~/Library/Application Support/Claude/claude_desktop_config.json`85- **Cursor**: `.cursor/mcp.json` in your project root8687### Manual Installation8889```bash90git clone https://github.com/Aditya2755/video-edit-mcp.git91cd video-edit-mcp92pip install -r requirements.txt93pip install -e .94```9596## ποΈ Project Structure9798```99video_edit_mcp/100βββ src/101β βββ video_edit_mcp/102β βββ __init__.py103β βββ main.py # MCP server implementation104β βββ video_operations.py # Video editing tools105β βββ audio_operations.py # Audio processing tools106β βββ download_utils.py # Download functionality107β βββ util_tools.py # Memory & utility tools108β βββ utils.py # Utility functions109β110βββ pyproject.toml # Project configuration111βββ requirements.txt # Dependencies112βββ uv.lock # Lock file113βββ LICENSE # MIT License114βββ MANIFEST.in # Manifest file115βββ README.md116```117118## π― Example Usage119120```python121# Chain operations without intermediate files122video_info = get_video_info("input.mp4")123trimmed = trim_video("input.mp4", 10, 60, return_path=False) # Keep in memory124with_audio = add_audio(trimmed, "background.mp3", return_path=False)125final = add_text_overlay(with_audio, "Hello World", x=100, y=50, return_path=True)126```127128## π Future Enhancements & Contributions129130We welcome contributions in these exciting areas:131132### π€ AI-Powered Features133- **Speech-to-Text (STT)**: Automatic subtitle generation and transcription134- **Text-to-Speech (TTS)**: AI voice synthesis for narration135- **Audio Enhancement**: AI-based noise reduction and audio quality improvement136- **Smart Timestamps**: Automatic scene detection and chapter generation137- **Face Tracking**: Advanced face detection and tracking for automatic editing138- **Object Recognition**: Track and edit based on detected objects139- **Content Analysis**: AI-powered content categorization and tagging140141## π€ Contributing1421431. Fork the repository1442. Create a feature branch: `git checkout -b feature/amazing-feature`1453. Commit your changes: `git commit -m 'Add amazing feature'`1464. Push to the branch: `git push origin feature/amazing-feature`1475. Open a Pull Request148149## π License150151This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.152153---154155<div align="center">156157**Made with β€οΈ for the AI and multimedia editing community**158159[β Star this project](https://github.com/Aditya2755/video-edit-mcp) | [π€ Contribute](https://github.com/Aditya2755/video-edit-mcp/contribute) | [π Documentation](https://github.com/Aditya2755/video-edit-mcp#readme)160161</div>
Full transparency β inspect the skill content before installing.