mcp ffmpeg
A Node.js server that enables video manipulation through natural language requests, including resizing videos to different resolutions (360p to 1080p) and extracting audio in various formats (MP3, AAC, WAV, OGG).
A Node.js server that enables video manipulation through natural language requests, including resizing videos to different resolutions (360p to 1080p) and extracting audio in various formats (MP3, AAC, WAV, OGG).
A Node.js server that uses FFmpeg to manipulate video files. This server provides APIs to:
Before running this application, you need to have the following installed:
brew install ffmpeg
sudo apt update
sudo apt install ffmpeg
C:ffmpeg
)bin
folder to your PATH environment variableClone this repository:
git clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg
Install dependencies:
npm install
To install mcp-ffmpeg for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude
Start the server with:
npm start
For development with auto-restart on file changes:
npm run dev
To install mcp-ffmpeg for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @bitscorp-mcp/mcp-ffmpeg --client claude
To 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-ffmpeg
This MCP FFmpeg server can be integrated with Claude Desktop to process videos through natural language requests.
You can run the server directly with npx:
npx /path/to/mcp-ffmpeg
Or if you've published the package to npm:
npx mcp-ffmpeg
To add this server to Claude Desktop, update your Claude Desktop configuration file:
~/.config/claude-desktop/config.json
or ~/Library/Application Support/Claude Desktop/config.json
%APPDATA%Claude Desktopconfig.json
Linux: ~/.config/claude-desktop/config.json
Add the FFmpeg MCP server to the mcpServers
section:
{
"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"
]
}
}
}
Once configured, you can use prompts like:
Using the ffmpeg MCP server, please resize the video at /path/to/video.mp4 to 720p resolution.
uploads
directoryoutput
directoryMIT