MCP FFmpeg Video Processor
MCP FFmpeg ビデオプロセッサ
FFmpegを使用してビデオファイルを操作するNode.jsサーバー。このサーバーは以下のAPIを提供します。
動画をさまざまな解像度(360p、480p、720p、1080p)にサイズ変更します
さまざまな形式(MP3、AAC、WAV、OGG)でビデオからオーディオを抽出します
前提条件
このアプリケーションを実行する前に、以下がインストールされている必要があります。
Node.js (v14以上)
FFmpeg - ビデオ処理に必要です
FFmpegのインストール
macOSの場合:
brew install ffmpegUbuntu/Debianの場合:
sudo apt update
sudo apt install ffmpegWindowsの場合:
公式サイトからFFmpegをダウンロードする
ファイルをフォルダに抽出します(例:
C:\ffmpeg)PATH環境変数に
binフォルダを追加します
Related MCP server: mcp-ffmpeg
インストール
このリポジトリをクローンします:
git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg依存関係をインストールします:
npm installSmithery経由でインストール
Smithery経由で Claude Desktop 用の mcp-ffmpeg を自動的にインストールするには:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claudeサーバーの実行
次のコマンドでサーバーを起動します。
npm startファイルの変更時に自動的に再起動する開発の場合:
npm run devSmithery経由でインストール
Smithery経由で Claude Desktop 用の mcp-ffmpeg を自動的にインストールするには:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claudeカーソル用のmcp-ffmpegをインストールするには、「設定」->「カーソル設定」->「機能」->「MCPサーバー」->「+追加」に進みます。
タイプ: コマンドを選択し、AdjustのAPIキーを使用して以下を貼り付けます。
npx -y @smithery/cli@latest run @bitscorp/mcp-ffmpegClaude Desktopでの使用
この MCP FFmpeg サーバーは、Claude Desktop と統合して、自然言語リクエストを通じてビデオを処理できます。
npxで実行
npx を使用してサーバーを直接実行できます。
npx /path/to/mcp-ffmpegまたは、パッケージを npm に公開した場合:
npx mcp-ffmpegClaudeデスクトップの設定
このサーバーを Claude Desktop に追加するには、Claude Desktop 構成ファイルを更新します。
Claude Desktop の構成ファイルを見つけます。
macOS:
~/.config/claude-desktop/config.jsonまたは~/Library/Application Support/Claude Desktop/config.jsonWindows:
%APPDATA%\Claude Desktop\config.jsonLinux:
~/.config/claude-desktop/config.json
FFmpeg MCP サーバーを
mcpServersセクションに追加します。
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"/absolute/path/to/mcp-ffmpeg"
]
}
}
}パッケージを npm に公開した場合:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": [
"--yes",
"mcp-ffmpeg"
]
}
}
}変更を有効にするには、Claude Desktop を再起動してください。
クロードの例題
設定が完了すると、次のようなプロンプトが使用できるようになります。
Using the ffmpeg MCP server, please resize the video at /path/to/video.mp4 to 720p resolution.注記
アップロードされた動画は
uploadsディレクトリに一時的に保存されます処理されたビデオとオーディオファイルは
outputディレクトリに保存されますサーバーのアップロードファイルサイズは500MBに制限されています
ライセンス
マサチューセッツ工科大学
Available Tools
4 toolsextract-audioC
Extract audio from a video file
Inputs: videoPath (required), format, outputDir.
get-ffmpeg-versionA
Get the version of FFmpeg installed on the system
Inputs: no named parameters.
get-video-infoC
Get detailed information about a video file
Inputs: videoPath (required).
resize-videoB
Resize a video to one or more standard resolutions
Inputs: videoPath (required), resolutions (required), outputDir.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: extract-audio handles audio extraction, get-ffmpeg-version checks system version, get-video-info provides metadata, and resize-video adjusts video dimensions. There is no overlap in functionality, making tool selection unambiguous.
The tools follow a consistent verb-noun pattern with hyphens (e.g., extract-audio, resize-video), except for get-ffmpeg-version which includes an extra noun. This minor deviation does not significantly impact readability or predictability.
With only 4 tools, the set feels thin for a video processing domain. While the tools cover basic operations, there are likely gaps for common tasks like format conversion, trimming, or adding effects, which might limit agent effectiveness.
The tool set is severely incomplete for video processing. It lacks essential operations such as format conversion, trimming/cutting, merging videos, adding subtitles, or applying filters. This will cause frequent agent failures when handling typical video editing workflows.
Maintenance
Related MCP Connectors
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
Video, audio, and image processing for AI agents: convert, transcribe, upscale - 150+ operations.
FFmpeg as a service for AI agents: typed video editing tools, async jobs, downloadable outputs.
FFmpeg Micro - The FFmpeg Api - www.ffmpeg-micro.com Transcode videos from n8n or Make using FFmpeg in the cloud. MCP Server: https://github.com/ffmpeg-micro/ffmpeg-micro-mcp/
Related MCP Servers
- AlicenseBqualityDmaintenanceA Node.js server that provides advanced video and image processing capabilities through the Model Context Protocol, enabling operations like conversion, compression, editing, and effects application.1029ISC
- AlicenseAqualityDmaintenanceA job queue-based FFmpeg wrapper enabling AI assistants to perform video processing tasks such as trimming, format conversion, resolution change, and subtitle conversion through natural language.8MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for programmatic video editing using ffmpeg, enabling draft creation and refinement via natural language.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables natural language video editing using FFmpeg, supporting operations like trimming, merging, format conversion, and more with real-time progress tracking.-