Cover image
Try Now
2025-03-17

3 years

Works with Finder

1

Github Watches

2

Github Forks

8

Github Stars

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

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • ANGEL LEON
  • A world class elite tech co-founder entrepreneur, expert in software development, entrepreneurship, marketing, coaching style leadership and aligned with ambition for excellence, global market penetration and worldy perspectives.

  • INFOLAB OPERATIONS 2
  • A medical specialist offering assistance grounded in clinical guidelines. Disclaimer: This is intended for research and is NOT safe for clinical use!

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

  • zhaoyunxing92
  • 本项目是一个钉钉 MCP (Protocole de connecteur de message) 服务 , 提供了与钉钉企业应用交互的 API 接口。项目基于 Go 语言开发 , 支持员工信息查询和消息发送等功能。

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

    Reviews

    3 (1)
    Avatar
    user_ChYVvtYi
    2025-04-15

    Demo MCP Basic by bertrandgressier is an excellent introduction to MCP applications. The user-friendly interface and seamless navigation make it perfect for beginners. The welcoming information and easy-to-follow starting URL enhance the user experience. Access the product through the provided link for a streamlined MCP client-server interaction. Highly recommended!