MCP.so
Sign In

MCP Ffmpeg Tools

@gamhoi

Basic information

Category

Other

License

MIT

Transports

stdio

Author

gamhoi

Submitted by

JINKAI CHEN

About MCP Ffmpeg Tools

An open-source Python MCP (Model-Command Protocol) server designed to enable Large Language Models (LLMs) to execute FFmpeg commands, receive execution results, and validate commands against FFmpeg source code.

MCP Ffmpeg Tools config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "mcp-ffmpeg-tools": {
      "command": "uv",
      "args": [
        "--directory",
        "PATH_TO/mcp-ffmpeg-tools",
        "run",
        "ffmpeg-tools"
      ]
    }
  }
}

MCP Ffmpeg Tools tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is mcp-ffmpeg-tools?

mcp-ffmpeg-tools is an open-source Python MCP (Model-Command Protocol) server that enables Large Language Models (LLMs) to execute FFmpeg commands, receive execution results, and validate commands against FFmpeg source code for accurate media processing.

How to use mcp-ffmpeg-tools?

Install FFmpeg, then clone the repository, create a virtual environment with uv venv, and install with uv pip install -e .. For Claude Desktop, add the provided JSON configuration specifying the uv command and path. Alternatively, run via Docker with docker pull gamhoi/mcp-ffmpeg-tools:latest and configure the HTTP endpoint.

Key features of mcp-ffmpeg-tools

  • Execute FFmpeg commands through an MCP interface
  • Receive detailed execution results and error messages
  • Validate commands using FFmpeg source code
  • Cross-platform support (Windows, macOS, Linux)
  • Environment management using uv
  • Docker support with HTTP mode and file mounting

Use cases of mcp-ffmpeg-tools

  • Extract all media streams from a video file
  • Overlay two videos with scaling and positioning
  • Inspect media properties using ffprobe
  • Capture screenshots to verify video layout and quality
  • Automate media conversion tasks via LLM assistance

Frequently asked questions

1

What is mcp-ffmpeg-tools for?

It allows LLMs to run FFmpeg commands, get results, and validate commands against FFmpeg source code, enabling automated media processing.

2

What are the prerequisites?

FFmpeg must be installed on your system and accessible in the PATH. Instructions for Windows, macOS, and Linux are provided.

3

How do I install mcp-ffmpeg-tools?

Clone the repository, then run `uv venv` and `uv pip install -e .` in the project directory. The installer verifies FFmpeg and downloads the corresponding source code.

4

Can I use mcp-ffmpeg-tools with Docker?

Yes. Pull the image from Docker Hub (`gamhoi/mcp-ffmpeg-tools:latest`) and run it on port 8000. Mount host directories with `-v` to access local files.

5

How do I configure it with Claude Desktop?

Add a JSON entry to your Claude Desktop settings with `command: "uv"`, arguments pointing to the project directory, and `"run", "ffmpeg-tools"`. For Docker, use `type: "streamableHttp"` and the server URL.

Comments

More Other MCP servers