image-video-mcp
An MCP server that enables generating images via OpenAI and images/videos via Google Gemini (including Veo video generation), saving outputs to local asset folders. It integrates with Claude Code and any MCP client using your own API keys.
README
image-video-mcp
One MCP server that adds OpenAI image generation and Google Gemini image + video generation to Claude Code — and any MCP client. Bring your own API keys.
| Tool | Provider | Default model |
|---|---|---|
openai_generate_image |
OpenAI Images API | gpt-image-2 |
gemini_generate_image |
Gemini (Nano Banana) | gemini-2.5-flash-image |
gemini_generate_video |
Veo via Gemini API | veo-3.1-generate-001 |
Images save to assets/images/, videos to assets/videos/. Every model is
overridable with an env var, so it keeps working as models roll over.
Quick install (one command)
Run this — it installs everything, asks for your two API keys, and registers the tools in both Claude Code and the Claude desktop app:
bash <(curl -fsSL https://raw.githubusercontent.com/eracom-technologies/image-video-mcp/main/setup.sh)
That's it. Restart the Claude desktop app when it finishes, and the image/video
tools are ready in both places. (Prefer to set keys inline? OPENAI_API_KEY=sk-... GEMINI_API_KEY=... bash <(curl -fsSL .../setup.sh).)
The manual steps below are only if you'd rather do it yourself.
Manual install
One-line, straight from git:
pip install "git+https://github.com/eracom-technologies/image-video-mcp.git"
Or from a local clone:
git clone https://github.com/eracom-technologies/image-video-mcp.git
cd image-video-mcp && pip install .
Both create the image-video-mcp command. Prefer isolation? pipx install .
or uv tool install ..
Register in Claude Code
claude mcp add-json image-video '{
"command": "image-video-mcp",
"args": [],
"env": { "OPENAI_API_KEY": "sk-...", "GEMINI_API_KEY": "..." }
}'
claude mcp list # confirm it shows "image-video"
Or drop the included .mcp.json into a project folder (Claude Code auto-detects
it). Get keys at platform.openai.com and
aistudio.google.com/apikey.
Use
Ask Claude Code:
"Use gemini_generate_video: a slow drone shot over a misty forest, 16:9."
Verify
PYTHONPATH=src python scripts/smoke_test.py # offline: tools register
PYTHONPATH=src python scripts/smoke_test.py --live # real generations (uses credits)
Full docs
See README-MCP.md for OS-specific config locations, all environment variables, model/deprecation notes, sharing, and troubleshooting.
License
MIT — see LICENSE.
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.