{
  "markdown": "# FFmpeg MCP Server\n\nA 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.\n\n## Features\n\n- **Self-contained** - Includes bundled FFmpeg binary via `ffmpeg-static`, no system installation required\n- **Format conversion** - Convert between audio/video formats (mp4, mp3, wav, mov, etc.)\n- **Video editing** - Cut segments, concatenate multiple videos, convert images to video\n- **Audio processing** - Detect and remove silent segments automatically\n- **Flexible** - Raw FFmpeg command support for advanced operations\n\n## Available Tools\n\n| Tool | Description |\n|------|-------------|\n| `cut_video` | Extract a segment from a video using start time and duration |\n| `image_to_video` | Convert a static image to a video with fixed duration |\n| `concat_videos` | Join multiple videos into one |\n| `convert` | Convert between media formats (auto-detects from file extension) |\n| `remove_silence` | Detect and remove silent segments from video |\n| `ffmpeg_raw` | Execute raw FFmpeg commands for advanced operations |\n\n## Installation\n\n### From npm (recommended)\n\n```bash\nnpm install -g ffmpeg-mcp-server\n```\n\n### From source\n\n```bash\ngit clone https://github.com/PedroMarianoAlmeida/ffmpeg-mcp\ncd ffmpeg-mcp\nnpm install\nnpm run build\n```\n\n## Configuration\n\n### Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"ffmpeg\": {\n      \"command\": \"npx\",\n      \"args\": [\"ffmpeg-mcp-server\"]\n    }\n  }\n}\n```\n\n### Claude Code\n\nAdd to your Claude Code MCP settings:\n\n```json\n{\n  \"mcpServers\": {\n    \"ffmpeg\": {\n      \"command\": \"npx\",\n      \"args\": [\"ffmpeg-mcp-server\"]\n    }\n  }\n}\n```\n\n## Usage Examples\n\n### Cut a video segment\n```\n\"Cut the first 30 seconds from video.mp4\"\n→ Uses cut_video tool\n```\n\n### Convert formats\n```\n\"Convert video.mov to mp4\"\n\"Extract audio from video.mp4 as mp3\"\n→ Uses convert tool\n```\n\n### Remove silence\n```\n\"Remove silent parts from my podcast recording\"\n→ Uses remove_silence tool (detects silence > 2s at -30dB by default)\n```\n\n### Advanced operations\n```\n\"Add a watermark to my video\"\n\"Speed up the video 2x\"\n\"Rotate video 90 degrees\"\n→ Uses ffmpeg_raw tool with AI-constructed FFmpeg commands\n```\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Build\nnpm run build\n\n# Project structure\nsrc/\n  index.ts    # MCP server setup and tool registrations\n  lib.ts      # FFmpeg operations\n```\n\n## License\n\nMIT\n",
  "bytes": 2561,
  "sha": "051846f5ab94d215c4d023d8ee9c8bb507781335d2bf3343a6cb3a706b5a4243",
  "repo_slug": "pedromarianoalmeida/ffmpeg-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_pedromarianoalmeida_ffmpeg_mcp_f769b14f/readme"
}