Sponsored by Deepsite.site

mcp-ffmpeg

Created By
bitscorp-mcp9 months ago
mcp-ffmpeg: resize videos, extract audio.
Content

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

```bash brew install ffmpeg ```

On Ubuntu/Debian:

```bash sudo apt update sudo apt install ffmpeg ```

On Windows:

  1. Download FFmpeg from the [official website](https://ffmpeg.org/download.html)
  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: ```bash git clone https://github.com/yourusername/mcp-ffmpeg.git cd mcp-ffmpeg ```

  2. Install dependencies: ```bash npm install ```

Running the Server

Start the server with:

```bash npm start ```

For development with auto-restart on file changes:

```bash npm run dev ```

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:

```bash npx /path/to/mcp-ffmpeg ```

Or if you've published the package to npm:

```bash 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:

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

If you've published the package to npm:

```json { "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

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
WindsurfThe new purpose-built IDE to harness magic
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Tavily Mcp
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
ChatWiseThe second fastest AI chatbot™
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Amap Maps高德地图官方 MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
DeepChatYour AI Partner on Desktop