media-gen-mcp
Enables AI clients like Claude and ChatGPT to generate images and videos, animate images, create lip-synced videos, list TTS voices, and manage media via remote MCP tools.
README
media-gen-mcp
A remote MCP server that lets Claude / ChatGPT generate images (meta.ai) and videos (vibes.ai). Hosted on Render, kept alive 24/7 by UptimeRobot.
Tools
| Tool | Backend | Returns |
|---|---|---|
generate_image(prompt) |
meta.ai | inline image + CDN URL(s) |
edit_image(image_url, instruction) |
meta.ai | edited image inline + URL |
transparent_image(prompt) |
meta.ai | transparent PNG asset |
make_gif(prompt) |
meta.ai | animated GIF |
meta_chat(message) |
meta.ai | full suite: sandbox files, docs, conversions |
web_search(query) |
meta.ai | cited web answer |
deep_research(topic) |
meta.ai | structured report |
social_search(query) |
meta.ai | IG/FB/Threads summary |
places_search(query) |
meta.ai | places w/ address/hours/price |
generate_video(prompt, ..., reference_image_url) |
vibes.ai | video URL(s) + poster preview |
animate_image(image_url, prompt) |
vibes.ai i2v | video URL |
create_lipsync(source_url, audio_url, prompt) |
vibes.ai | lip-synced video URL |
list_voices() |
vibes.ai | TTS voice IDs |
media_library(media_type, limit) |
vibes.ai | past media + IDs |
favorite_media(item_id, is_favorited) |
vibes.ai | ok |
delete_media(item_id) |
vibes.ai | ok |
media_status() |
both | session health |
Media delivery: images are embedded inline in the chat (MCP image content blocks) and returned as public CDN URLs for download. A hourly janitor purges stray temp files so Render's free disk never fills.
Endpoints
GET /health— keep-alive probe (UptimeRobot: HTTP monitor, every 5 min)GET /— info JSONPOST /mcp— MCP Streamable HTTP transport (stateless)
Run locally
pip install -r requirements.txt
python -m uvicorn server:app --host 0.0.0.0 --port 8000
Deploy on Render
- Push this repo to GitHub.
- Render → New → Web Service → connect the repo.
It reads
render.yaml, or manually:- Build:
pip install -r requirements.txt - Start:
uvicorn server:app --host 0.0.0.0 --port $PORT - Health check path:
/health
- Build:
- Optional env var:
META_TOKEN(overrides embedded token). - Free plan sleeps after ~15 min idle → UptimeRobot pings
/health.
Connect clients
- Claude: Settings → Connectors → Add custom connector →
https://<your-app>.onrender.com/mcp - ChatGPT: Settings → Apps & Connectors → Create (Developer mode) →
MCP Server URL:
https://<your-app>.onrender.com/mcp(no auth)
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.