MCP FFmpeg Video Processor
Leverages FFmpeg's video processing capabilities to resize videos and extract audio in different formats
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP FFmpeg Video Processor resize my video to 720p"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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:
Node.js (v14 or higher)
FFmpeg - This is required for video processing
Installing FFmpeg
On macOS:
brew install ffmpegOn Ubuntu/Debian:
sudo apt update
sudo apt install ffmpegOn Windows:
Download FFmpeg from the official website
Extract the files to a folder (e.g.,
C:\ffmpeg)Add the
binfolder to your PATH environment variable
Related MCP server: mcp-ffmpeg
Installation
Clone this repository:
git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpegInstall dependencies:
npm installInstalling via Smithery
To install mcp-ffmpeg for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claudeRunning the Server
Start the server with:
npm startFor development with auto-restart on file changes:
npm run devInstalling via Smithery
To install mcp-ffmpeg for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claudeTo 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-ffmpegUsing 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-ffmpegOr if you've published the package to npm:
npx mcp-ffmpegConfiguring Claude Desktop
To add this server to Claude Desktop, update your Claude Desktop configuration file:
Locate your Claude Desktop config file:
macOS:
~/.config/claude-desktop/config.jsonor~/Library/Application Support/Claude Desktop/config.jsonWindows:
%APPDATA%\Claude Desktop\config.jsonLinux:
~/.config/claude-desktop/config.json
Add the FFmpeg MCP server to the
mcpServerssection:
{
"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"
]
}
}
}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
uploadsdirectoryProcessed videos and audio files are stored in the
outputdirectoryThe server has a file size limit of 500MB for uploads
License
MIT
Available Tools
4 toolsextract-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
Scored across 4 tools
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.
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.
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.
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
Related MCP Connectors
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
Video, audio, and image processing for AI agents: convert, transcribe, upscale - 150+ operations.
FFmpeg as a service for AI agents: typed video editing tools, async jobs, downloadable outputs.
FFmpeg Micro - The FFmpeg Api - www.ffmpeg-micro.com Transcode videos from n8n or Make using FFmpeg in the cloud. MCP Server: https://github.com/ffmpeg-micro/ffmpeg-micro-mcp/
Related MCP Servers
- AlicenseBqualityDmaintenanceA 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.1016 npm29ISC
- AlicenseAqualityDmaintenanceA job queue-based FFmpeg wrapper enabling AI assistants to perform video processing tasks such as trimming, format conversion, resolution change, and subtitle conversion through natural language.833 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server for programmatic video editing using ffmpeg, enabling draft creation and refinement via natural language.11 npmISC
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables natural language video editing using FFmpeg, supporting operations like trimming, merging, format conversion, and more with real-time progress tracking.-