Server data from the Official MCP Registry
FFmpeg video/audio tools: cut, convert, concat, remove silence, and raw commands.
About
FFmpeg video/audio tools: cut, convert, concat, remove silence, and raw commands.
Security Report
Valid MCP server (2 strong, 3 medium validity signals). 2 known CVEs in dependencies (0 critical, 2 high severity) Package registry verified. Imported from the Official MCP Registry.
4 files analyzed · 3 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-pedromarianoalmeida-ffmpeg-mcp": {
"args": [
"-y",
"ffmpeg-mcp-server"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
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
Reviews
No reviews yet
Be the first to review this server!
More Content & Media MCP Servers
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
by Lharries · Communication
Read, search, and send WhatsApp messages through your AI assistant
Memory
Freeby Modelcontextprotocol · Productivity
Knowledge graph-based persistent memory across sessions
