Image Gen MCP Server

Generate and edit images from your coding agent with Gemini and OpenAI, using your own API keys.

Local serverstdio

What is the Image Gen MCP Server?

Image Gen is an MCP integration. Generate and edit images from your coding agent with Gemini and OpenAI, using your own API keys.

Packages and local setup

The published npm package is @nuver-labs/image-gen-mcp, version 0.2.1. Its declared MCP transport is stdio.

The package declares GEMINI_API_KEY: Google Gemini API key. Enables the Gemini provider. At least one provider key is required.; OPENAI_API_KEY: OpenAI API key. Enables the OpenAI provider. At least one provider key is required.; IMAGE_GEN_MCP_DEFAULT_PROVIDER: Provider used when a tool call does not name one: gemini or openai. Defaults to whichever key is set, preferring gemini.; IMAGE_GEN_MCP_GEMINI_MODEL: Default Gemini model. Defaults to gemini-3.1-flash-image.; IMAGE_GEN_MCP_OPENAI_MODEL: Default OpenAI model. Defaults to gpt-image-2.; IMAGE_GEN_MCP_OUTPUT_DIR: Directory used when a tool call passes no output_path.; IMAGE_GEN_MCP_ALLOWED_DIRS: Comma separated directories that file reads and writes are confined to. Unset means unrestricted.; IMAGE_GEN_MCP_TIMEOUT_MS: Per-request timeout to the provider API in milliseconds. Defaults to 180000.; IMAGE_GEN_MCP_LOG_FILE: Path of the JSONL image ledger. Defaults to ~/.image-gen-mcp/images.jsonl. Set to none to disable the file..

Before connecting

Check the maintainer’s instructions for account access, authentication and the supported client configuration. Once connected, inspect the tools your client receives and try a small task that matches the server’s stated purpose. The registry description does not include a verified, complete tool list.

Project and source

View the publisher’s registry entry · Project repository. This profile uses version 0.2.1 from the registry. Registration identifies the publisher namespace; it does not establish that this is a first-party integration for every service it connects.

Browse related developer tools MCP servers for tools that cover the same kind of work.

Configuration

VariableDescriptionRequired
GEMINI_API_KEYGoogle Gemini API key. Enables the Gemini provider. At least one provider key is required.Optional
OPENAI_API_KEYOpenAI API key. Enables the OpenAI provider. At least one provider key is required.Optional
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.Optional
IMAGE_GEN_MCP_GEMINI_MODELDefault Gemini model. Defaults to gemini-3.1-flash-image.Optional
IMAGE_GEN_MCP_OPENAI_MODELDefault OpenAI model. Defaults to gpt-image-2.Optional
IMAGE_GEN_MCP_OUTPUT_DIRDirectory used when a tool call passes no output_path.Optional
IMAGE_GEN_MCP_ALLOWED_DIRSComma separated directories that file reads and writes are confined to. Unset means unrestricted.Optional
IMAGE_GEN_MCP_TIMEOUT_MSPer-request timeout to the provider API in milliseconds. Defaults to 180000.Optional
IMAGE_GEN_MCP_LOG_FILEPath of the JSONL image ledger. Defaults to ~/.image-gen-mcp/images.jsonl. Set to none to disable the file.Optional