KV

kush36agrawal/video_editor_mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

52 stars 13 forks 품질 53 트렌드 0

kush36agrawal/video editor mcp는 MCP 서버 후보로 수입 https://github.com/kush36agrawal/video_editor_mcp.]

개요

kush36agrawal/video editor mcp는 MCP 서버 후보로 수입 https://github.com/kush36agrawal/video_editor_mcp.]

개요(AI 번역)

강력한 비디오 편집 MCP 서버는 FFmpeg를 활용하여 자연 언어 명령을 통해 비디오 편집 작업을 수행합니다.

부품

도구

서버는 1개의 주요 도구를 실행합니다:

  • execute_ffmpeg: FFmpeg 명령어를 실행
  • 입력으로 명령 문자열을 가져옵니다.
  • FFmpeg 작업 수행
  • 처리 중 실시간 진행 상황을 보고
  • 핸들 오류 및 상세한 피드백 제공
  • 모든 FFmpeg 운영 지원:
  • 트리밍 / 절단
  • 동영상
  • 변환 형식
  • 조정 속도
  • 오디오 트랙 추가
  • 추출 오디오
  • 자막 추가
  • 기본 필터 (밝기, 대비 등)

구성

# 필수품

  1. FFmpeg는 당신의 체계 PATH에서 설치되고 접근되어야 합니다
  2. 파이썬 3.9 이상
  3. 필요한 파이썬 패키지:

설치

  1. 이미 설치되지 않은 경우 FFmpeg 설치 :

  2. 비디오 편집기 패키지 설치 :

Claude 데스크탑 통합

Claude Desktop config 파일 구성:

MacOS에서: ~/Library/Application Support/Claude/claude_desktop_config.json Windows에서: %APPDATA%/Claude/claude_desktop_config.json

개발

건물 및 출판

  1. 명세.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Video Editor MCP Server

A powerful video editing MCP server that leverages FFmpeg to perform video editing operations through natural language commands.

Components

Tools

The server implements one main tool:

  • execute_ffmpeg: Executes FFmpeg commands with progress tracking
    • Takes a command string as input
    • Validates and executes FFmpeg operations
    • Reports real-time progress during processing
    • Handles errors and provides detailed feedback
    • Supports all FFmpeg operations including:
      • Trimming/cutting
      • Merging videos
      • Converting formats
      • Adjusting speed
      • Adding audio tracks
      • Extracting audio
      • Adding subtitles
      • Basic filters (brightness, contrast, etc.)

Configuration

Prerequisites

  1. FFmpeg must be installed and accessible in your system PATH
  2. Python 3.9 or higher
  3. Required Python packages:
    mcp
    httpx
    

Installation

  1. Install FFmpeg if not already installed:

    # On macOS with Homebrew
    brew install ffmpeg
    
    # On Windows with Chocolatey
    choco install ffmpeg
    
    # On Ubuntu/Debian
    sudo apt install ffmpeg
    
  2. Install the video editor package:

    uv add video-editor
    

Claude Desktop Integration

Configure in your Claude Desktop config file:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "video-editor": {
      "command": "uv",
      "args": ["run", "video-editor"]
    }
  }
}

Development

Building and Publishing

  1. Sync dependencies:

    uv sync
    
  2. Build package:

    uv build
    
  3. Publish to PyPI:

    uv publish
    

Note: Set PyPI credentials via:

  • Token: --token or UV_PUBLISH_TOKEN
  • Or username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

Debugging

For the best debugging experience, use the MCP Inspector:

npx @modelcontextprotocol/inspector uv --directory /path/to/video_editor run video-editor

Example Usage

Once connected to Claude Desktop, you can make natural language requests like:

  1. “Trim video.mp4 from 1:30 to 2:45”
  2. “Convert input.mp4 to WebM format”
  3. “Speed up video.mp4 by 2x”
  4. “Merge video1.mp4 and video2.mp4”
  5. “Extract audio from video.mp4”
  6. “Add subtitles.srt to video.mp4”

The server will:

  1. Parse your request
  2. Generate the appropriate FFmpeg command
  3. Execute it with progress tracking
  4. Provide feedback on completion

Error Handling

The server includes robust error handling for:

  • Invalid input files
  • Malformed FFmpeg commands
  • Runtime execution errors
  • Progress tracking issues

All errors are reported back to the client with detailed messages for debugging.

Security Considerations

  • Only processes files in explicitly allowed directories
  • Validates FFmpeg commands before execution
GitHub에서 전체 README 보기

설치

npx @modelcontextprotocol/inspector uv --directory /path/to/video_editor run video-editor
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "video-editor": { "command": "uv", "args": ["run", "video-editor"] } } }