Skip to main content
Glama
MCP FFmpeg Video Processor

MCP FFmpeg Video Processor

by bitscorp-mcp

MCP FFmpeg ビデオプロセッサ

鍛冶屋のバッジ

FFmpegを使用してビデオファイルを操作するNode.jsサーバー。このサーバーは以下のAPIを提供します。

  • 動画をさまざまな解像度(360p、480p、720p、1080p)にサイズ変更します

  • さまざまな形式(MP3、AAC、WAV、OGG)でビデオからオーディオを抽出します

前提条件

このアプリケーションを実行する前に、以下がインストールされている必要があります。

  1. Node.js (v14以上)

  2. FFmpeg - ビデオ処理に必要です

FFmpegのインストール

macOSの場合:

brew install ffmpeg

Ubuntu/Debianの場合:

sudo apt update
sudo apt install ffmpeg

Windowsの場合:

  1. 公式サイトからFFmpegをダウンロードする

  2. ファイルをフォルダに抽出します(例: C:\ffmpeg )

  3. PATH環境変数にbinフォルダを追加します

Related MCP server: mcp-ffmpeg

インストール

  1. このリポジトリをクローンします:

git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg
  1. 依存関係をインストールします:

npm install

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-ffmpeg を自動的にインストールするには:

npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude

サーバーの実行

次のコマンドでサーバーを起動します。

npm start

ファイルの変更時に自動的に再起動する開発の場合:

npm run dev

Smithery経由でインストール

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-ffmpeg

Claude Desktopでの使用

この MCP FFmpeg サーバーは、Claude Desktop と統合して、自然言語リクエストを通じてビデオを処理できます。

npxで実行

npx を使用してサーバーを直接実行できます。

npx /path/to/mcp-ffmpeg

または、パッケージを npm に公開した場合:

npx mcp-ffmpeg

Claudeデスクトップの設定

このサーバーを Claude Desktop に追加するには、Claude Desktop 構成ファイルを更新します。

  1. Claude Desktop の構成ファイルを見つけます。

    • macOS: ~/.config/claude-desktop/config.jsonまたは~/Library/Application Support/Claude Desktop/config.json

    • Windows: %APPDATA%\Claude Desktop\config.json

    • Linux: ~/.config/claude-desktop/config.json

  2. FFmpeg MCP サーバーをmcpServersセクションに追加します。

{
    "mcpServers": {
        "ffmpeg": {
            "command": "npx",
            "args": [
                "--yes",
                "/absolute/path/to/mcp-ffmpeg"
            ]
        }
    }
}

パッケージを npm に公開した場合:

{
    "mcpServers": {
        "ffmpeg": {
            "command": "npx",
            "args": [
                "--yes",
                "mcp-ffmpeg"
            ]
        }
    }
}
  1. 変更を有効にするには、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 tools
extract-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

    B3.1/5.0

    Scored across 4 tools

    Disambiguation5/5

    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.

    Naming Consistency4/5

    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.

    Tool Count3/5

    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.

    Completeness2/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers