Skip to main content
Glama

Video Edit MCP Server

by Aditya2755

Video Edit MCP Server ๐ŸŽฌ

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.

Python MCP License

https://github.com/user-attachments/assets/134b8b82-80b1-4678-8930-ab53121b121f

โœจ Key Features

๐ŸŽฅ Video Operations

  • Basic Editing: Trim, merge, resize, crop, rotate videos

  • Effects: Speed control, fade in/out, grayscale, mirror

  • Overlays: Add text, images, or video overlays with transparency

  • Format Conversion: Convert between formats with codec control

  • Frame Operations: Extract frames, create videos from images

๐ŸŽต Audio Operations

  • Audio Processing: Extract, trim, loop, concatenate audio

  • Volume Control: Adjust levels, fade in/out effects

  • Audio Mixing: Mix multiple tracks together

  • Integration: Add audio to videos, replace soundtracks

๐Ÿ“ฅ Download & Utilities

  • Video Download: Download from YouTube and other platforms

  • File Management: Directory operations, file listing

  • Path Suggestions: Get recommended download locations

๐Ÿงน Memory & Cleanup

  • Smart Memory: Chain operations without saving intermediate files

  • Resource Management: Clear memory, check stored objects

  • Efficient Processing: Keep objects in memory for complex workflows

๐Ÿ”— Operation Chaining

Seamlessly 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.

๐Ÿ“‹ Requirements

  • Python 3.10 or higher

  • moviepy==1.0.3

  • yt-dlp>=2023.1.6

  • mcp>=1.12.2

  • typing-extensions>=4.0.0

โš™๏ธ Installation & Setup

For Claude Desktop / Cursor MCP Integration

Ensure that
If not, install it using the following PowerShell command:

powershell -ExecutionPolicy Bypass -Command "irm https://astral.sh/uv/install.ps1 | iex"

Add this configuration to your MCP configuration file:

{ "mcpServers": { "video_editing": { "command": "uvx", "args": [ "--python", "3.11", "video-edit-mcp" ] } } }

Configuration file locations:

  • Claude Desktop (Windows): %APPDATA%/Claude/claude_desktop_config.json

  • Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json

  • Cursor: .cursor/mcp.json in your project root

Manual Installation

git clone https://github.com/Aditya2755/video-edit-mcp.git cd video-edit-mcp pip install -r requirements.txt pip install -e .

๐Ÿ—๏ธ Project Structure

video_edit_mcp/ โ”œโ”€โ”€ src/ โ”‚ โ””โ”€โ”€ video_edit_mcp/ โ”‚ โ”œโ”€โ”€ __init__.py โ”‚ โ”œโ”€โ”€ main.py # MCP server implementation โ”‚ โ”œโ”€โ”€ video_operations.py # Video editing tools โ”‚ โ”œโ”€โ”€ audio_operations.py # Audio processing tools โ”‚ โ”œโ”€โ”€ download_utils.py # Download functionality โ”‚ โ”œโ”€โ”€ util_tools.py # Memory & utility tools โ”‚ โ”œโ”€โ”€ utils.py # Utility functions โ”‚ โ”œโ”€โ”€ pyproject.toml # Project configuration โ”œโ”€โ”€ requirements.txt # Dependencies โ”œโ”€โ”€ uv.lock # Lock file โ”œโ”€โ”€ LICENSE # MIT License โ”œโ”€โ”€ MANIFEST.in # Manifest file โ””โ”€โ”€ README.md

๐ŸŽฏ Example Usage

# Chain operations without intermediate files video_info = get_video_info("input.mp4") trimmed = trim_video("input.mp4", 10, 60, return_path=False) # Keep in memory with_audio = add_audio(trimmed, "background.mp3", return_path=False) final = add_text_overlay(with_audio, "Hello World", x=100, y=50, return_path=True)

๐Ÿš€ Future Enhancements & Contributions

We welcome contributions in these exciting areas:

๐Ÿค– AI-Powered Features

  • Speech-to-Text (STT): Automatic subtitle generation and transcription

  • Text-to-Speech (TTS): AI voice synthesis for narration

  • Audio Enhancement: AI-based noise reduction and audio quality improvement

  • Smart Timestamps: Automatic scene detection and chapter generation

  • Face Tracking: Advanced face detection and tracking for automatic editing

  • Object Recognition: Track and edit based on detected objects

  • Content Analysis: AI-powered content categorization and tagging

๐Ÿค 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.


Made with โค๏ธ for the AI and multimedia editing community

โญ Star this project | ๐Ÿค Contribute | ๐Ÿ“– Documentation

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A Model Context Protocol server that enables AI assistants to perform comprehensive video and audio editing operations including trimming, effects, overlays, audio processing, and YouTube downloads.

  1. โœจ Key Features
    1. ๐ŸŽฅ Video Operations
    2. ๐ŸŽต Audio Operations
    3. ๐Ÿ“ฅ Download & Utilities
    4. ๐Ÿงน Memory & Cleanup
    5. ๐Ÿ”— Operation Chaining
  2. ๐Ÿ“‹ Requirements
    1. โš™๏ธ Installation & Setup
      1. For Claude Desktop / Cursor MCP Integration
      2. Manual Installation
    2. ๐Ÿ—๏ธ Project Structure
      1. ๐ŸŽฏ Example Usage
        1. ๐Ÿš€ Future Enhancements & Contributions
          1. ๐Ÿค– AI-Powered Features
        2. ๐Ÿค Contributing
          1. ๐Ÿ“„ License

            Related MCP Servers

            • A
              security
              F
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants to extract transcripts from YouTube videos, allowing AI to analyze and work with video content directly.
              Last updated -
              1
              6
              1
            • -
              security
              F
              license
              -
              quality
              A comprehensive Model Context Protocol server implementation that enables AI assistants to interact with file systems, databases, GitHub repositories, web resources, and system tools while maintaining security and control.
              Last updated -
              36
              1
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI assistants like Claude to manage song requests, monitor queues, and interact with streaming platforms' song request systems.
              Last updated -
              11
              39
              1
              MIT License
              • Apple
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to access YouTube data in real-time, with capabilities for searching videos, analyzing channels, retrieving video details, and extracting transcripts.
              Last updated -
              4
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/Aditya2755/video-edit-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server