
kush36agrawal/video_editor_mcp
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
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 운영 지원:
- 트리밍 / 절단
- 동영상
- 변환 형식
- 조정 속도
- 오디오 트랙 추가
- 추출 오디오
- 자막 추가
- 기본 필터 (밝기, 대비 등)
구성
# 필수품
- FFmpeg는 당신의 체계 PATH에서 설치되고 접근되어야 합니다
- 파이썬 3.9 이상
- 필요한 파이썬 패키지:
설치
-
이미 설치되지 않은 경우 FFmpeg 설치 :
-
비디오 편집기 패키지 설치 :
Claude 데스크탑 통합
Claude Desktop config 파일 구성:
MacOS에서: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows에서: %APPDATA%/Claude/claude_desktop_config.json
개발
건물 및 출판
- 명세.
이 페이지는 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
- FFmpeg must be installed and accessible in your system PATH
- Python 3.9 or higher
- Required Python packages:
mcp httpx
Installation
-
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 -
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
-
Sync dependencies:
uv sync -
Build package:
uv build -
Publish to PyPI:
uv publish
Note: Set PyPI credentials via:
- Token:
--tokenorUV_PUBLISH_TOKEN - Or username/password:
--username/UV_PUBLISH_USERNAMEand--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:
- “Trim video.mp4 from 1:30 to 2:45”
- “Convert input.mp4 to WebM format”
- “Speed up video.mp4 by 2x”
- “Merge video1.mp4 and video2.mp4”
- “Extract audio from video.mp4”
- “Add subtitles.srt to video.mp4”
The server will:
- Parse your request
- Generate the appropriate FFmpeg command
- Execute it with progress tracking
- 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
설치
npx @modelcontextprotocol/inspector uv --directory /path/to/video_editor run video-editor설정
{
"mcpServers": {
"video-editor": {
"command": "uv",
"args": ["run", "video-editor"]
}
}
}