ffmpeg-mcp MCP Server
FFmpeg video/audio tools: cut, convert, concat, remove silence, and raw commands.
ffmpeg-mcp scores 68 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 5 tools. Filed under Media. GitHub shows 2 stars. Package registries report about 550 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
68 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
85/100 for listing completeness. Lost points: short README, short summary, no docs link.
How quality is graded
Where the 68 comes from
22 + 20 + 2 + 10 + 4 + 10 = 68. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 2 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "pedromarianoalmeida-ffmpeg-mcp": { "command": "npx", "args": [ "-y", "ffmpeg-mcp-server@1.0.2" ] } }}
Environment variables
This server does not declare environment variables.
Tools5Tool docs quality grade C
All capabilitiesconcat_videostoolJoin multiple videos into one
cut_videotoolExtract a segment from a video using start time and duration
ffmpeg_rawtoolRun a restricted local FFmpeg command
image_to_videotoolConvert a static image to a video with fixed duration
remove_silencetoolDetect and remove silent segments from video
About
FFmpeg MCP Server
A Model Context Protocol (MCP) server that provides video and audio manipulation tools powered by FFmpeg. This server enables AI assistants to perform media operations like cutting videos, converting formats, removing silence, and more.
Features
- Self-contained - Includes bundled FFmpeg binary via
ffmpeg-static, no system installation required - Format conversion - Convert between audio/video formats (mp4, mp3, wav, mov, etc.)
- Video editing - Cut segments, concatenate multiple videos, convert images to video
- Audio processing - Detect and remove silent segments automatically
- Local by default - Inputs and outputs stay inside a configured workspace
Available Tools
| Tool | Description |
|---|---|
cut_video | Extract a segment from a video using start time and duration |
image_to_video | Convert a static image to a video with fixed duration |
concat_videos | Join multiple videos into one |
convert | Convert between media formats (auto-detects from file extension) |
remove_silence | Detect and remove silent segments from video |
ffmpeg_raw | Run a restricted local FFmpeg command |
Installation
From npm (recommended)
npm install -g ffmpeg-mcp-server
From source
git clone https://github.com/PedroMarianoAlmeida/ffmpeg-mcp
cd ffmpeg-mcp
npm install
npm run build
Configuration
Workspace and safety
Every input and output must be inside FFMPEG_MCP_WORKSPACE. If it is unset, the server's current working directory is used. The server resolves symlinks before reading and rejects URL schemes, traversal outside the workspace, and symlink outputs. Create output directories before running a tool.
ffmpeg_raw is deliberately restricted. It accepts local -i inputs, one final local output path, and a small set of codec and timing options. It does not accept filters, forced formats, or arbitrary FFmpeg flags because those options can load extra files or use network protocols.
For example, set a dedicated media directory in your MCP configuration:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": ["ffmpeg-mcp-server"],
"env": {
"FFMPEG_MCP_WORKSPACE": "/absolute/path/to/media-workspace"
}
}
}
}
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": ["ffmpeg-mcp-server"]
}
}
}
Claude Code
Add to your Claude Code MCP settings:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": ["ffmpeg-mcp-server"]
}
}
}
Usage Examples
Cut a video segment
"Cut the first 30 seconds from video.mp4"
→ Uses cut_video tool
Convert formats
"Convert video.mov to mp4"
"Extract audio from video.mp4 as mp3"
→ Uses convert tool
Remove silence
"Remove silent parts from my podcast recording"
→ Uses remove_silence tool (detects silence > 2s at -30dB by default)
Restricted raw operations
"Convert input.mp4 to output.mp4 using libx264"
→ Uses ffmpeg_raw with local paths and supported codec options
Development
# Install dependencies
npm install
# Build
npm run build
# Project structure
src/
index.ts # MCP server setup and tool registrations
lib.ts # FFmpeg operations
License
MIT
Listed at
Frequently asked questions
What is ffmpeg-mcp MCP Server?
FFmpeg video/audio tools: cut, convert, concat, remove silence, and raw commands.
How do I install ffmpeg-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. ffmpeg-mcp MCP Server runs locally from the npm package ffmpeg-mcp-server with the command npx -y ffmpeg-mcp-server@1.0.2.
Is ffmpeg-mcp MCP Server free and open source?
Yes. ffmpeg-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does ffmpeg-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for ffmpeg-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does ffmpeg-mcp MCP Server provide?
ffmpeg-mcp MCP Server provides 5 tools, including concat_videos, cut_video, ffmpeg_raw, and image_to_video. See the full tool list for descriptions and parameters.
How is ffmpeg-mcp MCP Server's trust score calculated?
ffmpeg-mcp MCP Server scores 68 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.