This MCP FFmpeg Video Processor is a Node.js server that leverages FFmpeg to manipulate video files. It provides APIs for resizing videos to different resolutions (360p, 480p, 720p, 1080p) and extracting audio from videos in various formats (MP3, AAC, WAV, OGG).
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 variablegit clone https://github.com/bitscorp-mcp/mcp-ffmpeg.git
cd mcp-ffmpeg
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
You can also run the server directly with npx:
npx /path/to/mcp-ffmpeg
Or if the package is published to npm:
npx mcp-ffmpeg
To add this server to Claude Desktop, update your Claude Desktop configuration file:
Locate your Claude Desktop config file:
~/.config/claude-desktop/config.json
or ~/Library/Application Support/Claude Desktop/config.json
%APPDATA%\Claude Desktop\config.json
~/.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"
]
}
}
}
To install mcp-ffmpeg for Cursor:
npx -y @smithery/cli@latest run @bitscorp/mcp-ffmpeg
Once configured, you can use the server through Claude Desktop with natural language requests like:
Using the ffmpeg MCP server, please resize the video at /path/to/video.mp4 to 720p resolution.
uploads
directoryoutput
directoryThere are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"cursor-rules-mcp": {
"command": "npx",
"args": [
"-y",
"cursor-rules-mcp"
]
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.