Media_MCP
A modular MCP-style server for image and video processing, offering commands for tasks like background removal, resizing, compression, OCR, video trimming, GIF creation, and subtitle extraction via simple CLI tools.
README
Modular MCP Media Project
This project has been refactored into two independent local MCP-style CLI servers:
image_mcp/for image processingvideo_mcp/for video processing
Each server is modularized into a main.py plus a services/ package so you can add new capabilities without mixing concerns.
Project structure
mcp_server/
├── image_mcp/
│ ├── __init__.py
│ ├── main.py
│ └── services/
│ ├── __init__.py
│ ├── bg_removal.py
│ ├── compress.py
│ ├── resize.py
│ ├── upscale.py
│ ├── convert.py
│ ├── crop.py
│ ├── watermark.py
│ ├── face_blur.py
│ ├── ocr.py
│ └── common.py
├── video_mcp/
│ ├── __init__.py
│ ├── main.py
│ └── services/
│ ├── __init__.py
│ ├── compress.py
│ ├── trim.py
│ ├── gif.py
│ ├── merge.py
│ ├── audio.py
│ ├── thumbnail.py
│ ├── subtitle.py
│ └── common.py
├── app.py
├── requirements.txt
├── README.md
├── input/
├── output/
Install dependencies
pip install -r requirements.txt
Install FFmpeg on the machine and ensure it is available in PATH.
Image MCP usage
python image_mcp/main.py bg --input input/in.png --output output/out.png
python image_mcp/main.py resize --input input/in.jpg --output output/out.jpg --width 800 --height 600
python image_mcp/main.py upscale --input input/in.jpg --output output/out.jpg
python image_mcp/main.py compress --input input/in.jpg --output output/out.jpg --quality 60
python image_mcp/main.py convert --input input/in.png --output output/out.jpg
python image_mcp/main.py crop --input input/in.jpg --output output/out.jpg --x1 10 --y1 10 --x2 200 --y2 200
python image_mcp/main.py watermark --input input/in.jpg --output output/out.jpg --text "Demo"
python image_mcp/main.py faceblur --input input/in.jpg --output output/out.jpg
python image_mcp/main.py ocr --input input/in.jpg
Video MCP usage
python video_mcp/main.py compress --input input/in.mp4 --output output/out.mp4
python video_mcp/main.py trim --input input/in.mp4 --output output/out.mp4 --start 00:00:05 --end 00:00:10
python video_mcp/main.py gif --input input/in.mp4 --output output/out.gif
python video_mcp/main.py merge --inputs input/v1.mp4 input/v2.mp4 --output output/out.mp4
python video_mcp/main.py audio --input input/in.mp4 --output output/out.mp3
python video_mcp/main.py thumbnail --input input/in.mp4 --output output/thumb.jpg
python video_mcp/main.py subtitle --input input/in.mp4 --output output/out.srt
Design notes
- Each command is implemented in a dedicated service module.
- Shared validation and file-size logging is centralized in the service common files.
- Both servers expose a simple argparse CLI and can be adapted into HTTP APIs later.
- The architecture is intentionally local-first and easy to extend.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.