What is the Image Gen MCP server?
Generate and edit images from your coding agent with Gemini and OpenAI, using your own API keys.
How to install Image Gen
Copy-paste configuration for popular MCP clients.
GEMINI_API_KEYsecretGoogle Gemini API key. Enables the Gemini provider. At least one provider key is required.
OPENAI_API_KEYsecretOpenAI API key. Enables the OpenAI provider. At least one provider key is required.
IMAGE_GEN_MCP_DEFAULT_PROVIDERProvider used when a tool call does not name one: gemini or openai. Defaults to whichever key is set, preferring gemini.
IMAGE_GEN_MCP_GEMINI_MODELDefault Gemini model. Defaults to gemini-3.1-flash-image.
IMAGE_GEN_MCP_OPENAI_MODELDefault OpenAI model. Defaults to gpt-image-2.
IMAGE_GEN_MCP_OUTPUT_DIRDirectory used when a tool call passes no output_path.
IMAGE_GEN_MCP_ALLOWED_DIRSComma separated directories that file reads and writes are confined to. Unset means unrestricted.
IMAGE_GEN_MCP_TIMEOUT_MSPer-request timeout to the provider API in milliseconds. Defaults to 180000.
IMAGE_GEN_MCP_LOG_FILEPath of the JSONL image ledger. Defaults to ~/.image-gen-mcp/images.jsonl. Set to none to disable the file.
Related MCP servers
Search NVIDIA CUDA documentation and code samples from AI coding agents.

com.nyx-intelligence/val
QA agent for vibecoded apps. Real browser checks, your AI fixes them. Ship to green.
Agent-to-agent cloud service: deploys and runs your apps and services — domains, logs, real status.

com.o11r/daleel
Halal stock screening with receipts: every Sharia verdict cites its SEC filing. 5 methodologies.
Website security ratings, token verification, and tamper-evident ledger heads from Obelisk Gate.

AGTS MCP Server
Sovereign MCP Gateway — 64 governed tools with Merkle transparency log. EU AI Act ready.