Skip to main content

Image Gen

com.nuverlabs/image-gen

v0.2.1Updated Aug 13, 2026stdio · npm

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add image-gen -- npx -y @nuver-labs/[email protected]

Configuration

9 settings.

  • GEMINI_API_KEY
    Env var· optional· secret
    Google Gemini API key. Enables the Gemini provider. At least one provider key is required.
  • OPENAI_API_KEY
    Env var· optional· secret
    OpenAI API key. Enables the OpenAI provider. At least one provider key is required.
  • IMAGE_GEN_MCP_DEFAULT_PROVIDER
    Env var· optional
    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
    Env var· optional
    Default Gemini model. Defaults to gemini-3.1-flash-image.
  • IMAGE_GEN_MCP_OPENAI_MODEL
    Env var· optional
    Default OpenAI model. Defaults to gpt-image-2.
  • IMAGE_GEN_MCP_OUTPUT_DIR
    Env var· optional
    Directory used when a tool call passes no output_path.
Show 3 more
  • IMAGE_GEN_MCP_ALLOWED_DIRS
    Env var· optional
    Comma separated directories that file reads and writes are confined to. Unset means unrestricted.
  • IMAGE_GEN_MCP_TIMEOUT_MS
    Env var· optional
    Per-request timeout to the provider API in milliseconds. Defaults to 180000.
  • IMAGE_GEN_MCP_LOG_FILE
    Env var· optional
    Path of the JSONL image ledger. Defaults to ~/.image-gen-mcp/images.jsonl. Set to none to disable the file.

Listed in the official MCP Registry since Aug 13, 2026. Mirrored daily; last checked Nov 26, 2026.