Skip to main content
Glama

MCP FFmpeg Video Processor

by bitscorp-mcp

MCP FFmpeg Video Processor

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
  1. 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" ] } } }
  1. 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

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

local-only server

The server can only run on the client's local machine because it depends on local resources.

A Node.js server that enables video manipulation through natural language requests, including resizing videos to different resolutions (360p to 1080p) and extracting audio in various formats (MP3, AAC, WAV, OGG).

  1. Prerequisites
    1. Installing FFmpeg
  2. Installation
    1. Installing via Smithery
  3. Running the Server
    1. Installing via Smithery
  4. Using with Claude Desktop
    1. Running with npx
    2. Configuring Claude Desktop
    3. Example Prompts for Claude
  5. Notes
    1. License

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        Enables video editing using natural language commands powered by FFmpeg, supporting operations like trimming, merging, format conversion, and more with real-time progress tracking and error handling.
        Last updated -
        34
        Python
        • Apple
        • Linux
      • A
        security
        F
        license
        A
        quality
        A 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.
        Last updated -
        10
        9
        20
        JavaScript
        • Apple
        • Linux
      • -
        security
        F
        license
        -
        quality
        A server for downloading, processing, and managing YouTube content with features like video quality selection, format conversion, and metadata extraction.
        Last updated -
        JavaScript
      • A
        security
        A
        license
        A
        quality
        An MCP server providing video processing capabilities through FFmpeg, enabling dialog-based local video search, trimming, concatenation, and playback functionalities.
        Last updated -
        7
        65
        Python
        MIT License
        • Apple

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/bitscorp-mcp/mcp-ffmpeg'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server