ffmpeg-mcp
Provides video and audio manipulation tools using FFmpeg, enabling format conversion, video editing, audio processing, and raw FFmpeg command execution.
Click on "Install 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., "@ffmpeg-mcpCut the first 30 seconds from video.mp4"
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.
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 requiredFormat 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
Flexible - Raw FFmpeg command support for advanced operations
Related MCP server: FFmpeg MCP
Available Tools
Tool | Description |
| Extract a segment from a video using start time and duration |
| Convert a static image to a video with fixed duration |
| Join multiple videos into one |
| Convert between media formats (auto-detects from file extension) |
| Detect and remove silent segments from video |
| Execute raw FFmpeg commands for advanced operations |
Installation
From npm (recommended)
npm install -g ffmpeg-mcp-serverFrom source
git clone https://github.com/PedroMarianoAlmeida/ffmpeg-mcp
cd ffmpeg-mcp
npm install
npm run buildConfiguration
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 toolConvert formats
"Convert video.mov to mp4"
"Extract audio from video.mp4 as mp3"
→ Uses convert toolRemove silence
"Remove silent parts from my podcast recording"
→ Uses remove_silence tool (detects silence > 2s at -30dB by default)Advanced operations
"Add a watermark to my video"
"Speed up the video 2x"
"Rotate video 90 degrees"
→ Uses ffmpeg_raw tool with AI-constructed FFmpeg commandsDevelopment
# Install dependencies
npm install
# Build
npm run build
# Project structure
src/
index.ts # MCP server setup and tool registrations
lib.ts # FFmpeg operationsLicense
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceProvides powerful video and audio editing capabilities through FFmpeg, enabling AI assistants to perform professional-grade operations including format conversion, trimming, overlays, transitions, and advanced audio processing.Last updated2782MIT
- AlicenseAqualityCmaintenanceEnables video and audio processing through FFmpeg, supporting format conversion, compression, trimming, audio extraction, frame extraction, video merging, and subtitle burning through natural language commands.Last updated826MIT
- FlicenseBqualityDmaintenanceEnables AI assistants to perform video and audio processing tasks such as format conversion, cutting, merging, and adding effects via FFmpeg, with hardware acceleration support.Last updated193
- Flicense-qualityFmaintenanceEnables comprehensive video/audio processing, analysis, and streaming via natural language by exposing 40+ FFmpeg tools as MCP tools.Last updated19
Related MCP Connectors
Transform video, audio and images, and generate media from prompts. FFmpeg, captions, models.
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
A real timeline video editor for AI agents: journaled edits, FFmpeg/MLT rendering, exports
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/PedroMarianoAlmeida/ffmpeg-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server