FFmpeg Video Processor

by bitscorp-mcp

11 stars
Not rated
GitHub

About

Enables video manipulation through FFmpeg, offering capabilities to resize videos to different resolutions and extract audio in various formats without leaving the conversation interface.

Details

Author
bitscorp-mcp
Repository
bitscorp-mcp/mcp-ffmpeg
GitHub stars
11
Categories
Productivity, Developer Tools, Design, File Management, AI, Media, Frontend, Infrastructure

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name FFmpeg Video Processor
    Command (node, npx, python, etc.) npx
    Arguments
    • Argument 1 --yes
    • Argument 2 /absolute/path/to/mcp-ffmpeg

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

1. Clone this repository:

git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg

2. Install dependencies:

npm install

To install mcp-ffmpeg for Claude Desktop automatically via Smithery:

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

To install mcp-ffmpeg for Cursor, go to Settings -> Cursor Settings -> Features -> MCP Servers -> + Add

Select Type: command and paste the below, using your API key from Adjust

npx -y @smithery/cli@latest run @bitscorp/mcp-ffmpeg

Start the server with:

npm start

For development with auto-restart on file changes:

npm run dev

You can run the server directly with npx:

npx /path/to/mcp-ffmpeg

Or if you've published the package to npm:

npx mcp-ffmpeg

To add this server to Claude Desktop, update your Claude Desktop configuration file:

1. Locate your Claude Desktop config file:
- macOS: ~/.config/claude-desktop/config.json or ~/Library/Application Support/Claude Desktop/config.json
- Windows: %APPDATA%\Claude Desktop\config.json
- Linux: ~/.config/claude-desktop/config.json

2. Add the FFmpeg MCP server to the mcpServers section:

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

If you've published the package to npm:

{
    "mcpServers": {
        "ffmpeg": {
            "command": "npx",
            "args": [
                "--yes",
                "mcp-ffmpeg"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "ffmpeg video processor": {
            "cwd": "string",
            "env": {},
            "args": [
                "--yes",
                "/absolute/path/to/mcp-ffmpeg"
            ],
            "shell": false,
            "command": "npx"
        }
    }
}

Linux

{
    "cwd": "string",
    "env": [],
    "args": [
        "--yes",
        "/absolute/path/to/mcp-ffmpeg"
    ],
    "shell": false,
    "command": "npx"
}

Macos

{
    "cwd": "string",
    "env": [],
    "args": [
        "--yes",
        "/absolute/path/to/mcp-ffmpeg"
    ],
    "shell": false,
    "command": "npx"
}

Windows

{
    "cwd": "string",
    "env": [],
    "args": [
        "--yes",
        "mcp-ffmpeg"
    ],
    "shell": false,
    "command": "npx"
}

MCP FFmpeg Video Processor

smithery badge

A Node.js server that uses FFmpeg to manipulate video files. This server provides APIs to:

- Resize videos to different resolutions (360p, 480p, 720p, 1080p)
- Extract audio from videos in various formats (MP3, AAC, WAV, OGG)

Prerequisites

Before running this application, you need to have the following installed:

1. Node.js (v14 or higher)
2. FFmpeg - This is required for video processing

Installing FFmpeg

On macOS:

brew install ffmpeg

On Ubuntu/Debian:

sudo apt update
sudo apt install ffmpeg

On Windows:

1. Download FFmpeg from the official website 2. Extract the files to a folder (e.g., C:\ffmpeg) 3. Add the bin folder to your PATH environment variable

Installation

1. Clone this repository:

git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg

2. Install dependencies:

npm install

Installing via Smithery

To install mcp-ffmpeg for Claude Desktop automatically via Smithery:

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

Running the Server

Start the server with:

npm start

For development with auto-restart on file changes:

npm run dev

Installing via Smithery

To install mcp-ffmpeg for Claude Desktop automatically via Smithery:

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

To install mcp-ffmpeg for Cursor, go to Settings -> Cursor Settings -> Features -> MCP Servers -> + Add

Select Type: command and paste the below, using your API key from Adjust

npx -y @smithery/cli@latest run @bitscorp/mcp-ffmpeg

Using with Claude Desktop

This MCP FFmpeg server can be integrated with Claude Desktop to process videos through natural language requests.

Running with npx

You can run the server directly with npx:

npx /path/to/mcp-ffmpeg

Or if you've published the package to npm:

npx mcp-ffmpeg

Configuring Claude Desktop

To add this server to Claude Desktop, update your Claude Desktop configuration file:

1. Locate your Claude Desktop config file:
- macOS: ~/.config/claude-desktop/config.json or ~/Library/Application Support/Claude Desktop/config.json
- Windows: %APPDATA%\Claude Desktop\config.json
- Linux: ~/.config/claude-desktop/config.json

2. Add the FFmpeg MCP server to the mcpServers section:

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

If you've published the package to npm:

{
    "mcpServers": {
        "ffmpeg": {
            "command": "npx",
            "args": [
                "--yes",
                "mcp-ffmpeg"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect.

Example Prompts for Claude

Once configured, you can use prompts like:

Using the ffmpeg MCP server, please resize the video at /path/to/video.mp4 to 720p resolution.

Notes

- Uploaded videos are stored temporarily in the uploads directory
- Processed videos and audio files are stored in the output directory
- The server has a file size limit of 500MB for uploads

License

MIT

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.