Skip to content
MCP server

gen-image MCP

Local stdio MCP for OpenAI-compatible and Gemini image generation, editing, and model…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.2.3
Listing updated
5 days ago

About gen-image MCP

gen-image MCP is an open-source MCP server for design and media. It runs locally on your machine and is started by your AI client.

Local stdio MCP for OpenAI-compatible and Gemini image generation, editing, and model fallback.

Install

Run in a terminal

claude mcp add gen-image-mcp --env GEN_IMAGE_BASE_URL='<GEN_IMAGE_BASE_URL>' --env GEN_IMAGE_API_KEY='<GEN_IMAGE_API_KEY>' -- npx -y gen-image-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<GEN_IMAGE_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<GEN_IMAGE_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "gen-image-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<GEN_IMAGE_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<GEN_IMAGE_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "gen-image-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gen-image-mcp"
      ],
      "env": {
        "GEN_IMAGE_BASE_URL": "<GEN_IMAGE_BASE_URL>",
        "GEN_IMAGE_API_KEY": "<GEN_IMAGE_API_KEY>"
      }
    }
  }
}

Configuration

  • GEN_IMAGE_BASE_URLFull HTTP/HTTPS base URL for the configured image API provider.Required
  • GEN_IMAGE_API_KEYAPI key for the configured image API provider.Required
  • GEN_IMAGE_MODELOptional comma-separated OpenAI Images API model list. Configure this or GEN_IMAGE_GEMINI_MODEL.
  • GEN_IMAGE_GEMINI_MODELOptional comma-separated Gemini image model list. Configure this or GEN_IMAGE_MODEL.
  • GEN_IMAGE_AUTO_FALLBACKOptional true/false switch for sequential model fallback.
  • GEN_IMAGE_TIMEOUT_MSOptional per-request upstream timeout in milliseconds; defaults to 120000. Positive integer, maximum 2147483647.

Pricing

Open source

gen-image MCP FAQ

Is gen-image MCP free?

Yes. gen-image MCP is open source, so you can use and self-host it for free.

How do I add gen-image MCP to Claude Code?

Run this command in your terminal: claude mcp add gen-image-mcp --env GEN_IMAGE_BASE_URL='<GEN_IMAGE_BASE_URL>' --env GEN_IMAGE_API_KEY='<GEN_IMAGE_API_KEY>' -- npx -y gen-image-mcp

What are the best alternatives to gen-image MCP?

The closest alternatives to gen-image MCP are HyperFrames by HeyGen, ffmpeg-skill, Claude Code Ultimate Guide, AvatarSay — Fictional Character & Talking Video MCP and ChartAnt.

Alternatives to gen-image MCP

  1. Hosted MCP connector for creating and rendering videos from HTML through AI chat

    • Remote
    • Freemium
    • 85.3K GitHub stars
    • Design and media
  2. ffmpeg-skill

    MCP server

    Local FFmpeg video and audio editing tools for coding agents over MCP

    Runs locally
    • Open source
    • 6.9K GitHub stars
    • Design and media
  3. MCP server for searching the Claude Code Ultimate Guide from any MCP client

    Runs locally
    • Open source
    • 6.5K GitHub stars
    • AI models and LLM tooling
  4. ChartAnt

    MCP server

    Remote MCP server returning charts, maps and dashboards as hosted PNG links

    • 51 tools
    • Remote
    • Freemium
    • Design and media
  5. VfxSmith

    MCP server

    Search, generate, refine and export pixel art game effects from Claude Code or Codex

    Not checked yet
    • Remote
    • Freemium
    • Design and media