Wraps FFmpeg in an MCP interface so Claude can manipulate video and audio files directly. You get six tools: cut_video for trimming segments by timestamp, convert for format changes between mp4/mp3/wav/mov, concat_videos for stitching files together, remove_silence that auto-detects quiet sections above 2 seconds at negative 30dB, image_to_video for static frame conversion, and ffmpeg_raw for passing through arbitrary commands when you need watermarks or rotation. Ships with ffmpeg-static bundled, so no system dependencies. Install globally via npm and point Claude Desktop at it with npx. Useful when you're already working with media files in a conversation and want to skip the manual command line round trip.
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.
ffmpeg-static, no system installation required| 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 | Execute raw FFmpeg commands for advanced operations |
npm install -g ffmpeg-mcp-server
git clone https://github.com/PedroMarianoAlmeida/ffmpeg-mcp
cd ffmpeg-mcp
npm install
npm run build
Add to your claude_desktop_config.json:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": ["ffmpeg-mcp-server"]
}
}
}
Add to your Claude Code MCP settings:
{
"mcpServers": {
"ffmpeg": {
"command": "npx",
"args": ["ffmpeg-mcp-server"]
}
}
}
"Cut the first 30 seconds from video.mp4"
→ Uses cut_video tool
"Convert video.mov to mp4"
"Extract audio from video.mp4 as mp3"
→ Uses convert tool
"Remove silent parts from my podcast recording"
→ Uses remove_silence tool (detects silence > 2s at -30dB by default)
"Add a watermark to my video"
"Speed up the video 2x"
"Rotate video 90 degrees"
→ Uses ffmpeg_raw tool with AI-constructed FFmpeg commands
# Install dependencies
npm install
# Build
npm run build
# Project structure
src/
index.ts # MCP server setup and tool registrations
lib.ts # FFmpeg operations
MIT
io.github.socialapishub/social-media-api
io.github.xpaysh/social-media
com.thenextgennexus/youtube-media-mcp-server
io.github.ludmila-omlopes/youtube-video-analyzer
csoai-org/social-media-ai-mcp
com.ezbizservices/social-media