media-mcp (media-mcp-server) is an MCP server for AI assistants, focused on local image and video processing. It connects media processing tools to AI clients through the Model Context Protocol, allowing users to complete common image and video operations with natural language instructions.
In terms of purpose, this project is used to give AI assistants the ability to process image and video files, covering scaling, format conversion, compression, cropping, filters, metadata extraction, rotation, flipping, thumbnail generation, and ffmpeg-based video operations. All processing is done locally, with no API keys, accounts, or environment variable configuration required.
Main capabilities include: image processing tools, supporting scaling, conversion, compression, cropping, filters, metadata extraction, rotation, flipping, and thumbnail generation; video processing tools (require ffmpeg installed on the system), supporting video-related operations. In terms of supported formats, images include PNG, JPEG, WebP, GIF, BMP, TIFF, ICO, and AVIF; videos include MP4, WebM, MOV, AVI, GIF, and MKV (require ffmpeg).
In terms of usage, the server can be added to the MCP client configuration, supporting Claude Desktop, Claude Code, Cursor, VS Code, Windsurf, and any MCP-compatible client. The official recommendation is to use uvx for zero-install operation, and video support can also be configured. Regarding configuration locations, on macOS it is ~/Library/Application Support/Claude/claude_desktop_config.json, on Windows it is %APPDATA%\Claude\claude_desktop_config.json; for VS Code it can be added to .vscode/mcp.json. The project is built on FastMCP and Pillow, and provides MCP Inspector for testing.
Typical usage scenarios include: asking the AI to resize an image to a specified width, batch-convert PNGs in a folder to WebP, remove EXIF data from photos to protect privacy, compress images below a specified size, extract frames from a video at intervals, query image dimensions, generate a grayscale version, or create a thumbnail of a specified size.
Limitations and notes: video tools require ffmpeg to already be installed on the system, which can be installed from ffmpeg.org or through a package manager; the project uses the MIT license; contributions are welcome, but it is recommended to submit an issue for discussion first. Items marked in the materials as future features include batch operations (processing an entire directory), image watermarking, PDF to image, OCR (extracting text from images), audio extraction from video, image collage/montage, smart cropping (content-aware), and SVG rasterization; the specific implementation status is not provided. The project itself does not involve pricing information, prices, or platform restrictions, and related materials are not provided.