Image Gen

by Cleveland-RD

592 downloads
Not rated
GitHub

About

Local stdio MCP server for generating and editing images via OpenAI gpt-image-2 or Google Gemini (Nano Banana / Pro image-preview). Saves PNGs to ~/Pictures/image-gen/ and returns inline JPEG thumbnails. Bring your own OpenAI and/or Gemini API key.

Details

Author
Cleveland-RD
Downloads
592
Categories
Media

- Supports OpenAI gpt-image-2 and Google Gemini image models
- Generates and edits images from text prompts
- Optionally includes reference images for edits
- Returns inline JPEG thumbnail for immediate display
- Saves full-resolution PNGs to ~/Pictures/image-gen/
- Provides check_image_job tool for polling long-running generations

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Image Gen
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via .mcpb (Claude Desktop), plugin zip (Claude Desktop or Claude Code), or manual configuration. Set at least one API key (OPENAI_API_KEY or GEMINI_API_KEY) as an environment variable. Invoke the generate_image tool with a prompt and optional parameters, or use check_image_job to poll an in-progress job.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "image gen": {
            "image-gen": {
                "command": "node",
                "args": [
                    "<HOME>/.image-gen-mcp/server/index.js"
                ],
                "env": {
                    "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
                    "GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
                }
            }
        }
    }
}

McpServers

{
    "image-gen": {
        "command": "node",
        "args": [
            "<HOME>/.image-gen-mcp/server/index.js"
        ],
        "env": {
            "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>",
            "GEMINI_API_KEY": "<YOUR_GEMINI_API_KEY>"
        }
    }
}

Image Gen

Open-source Claude plugin + stdio MCP server for generating and editing images via OpenAI gpt-image-2 and Google Gemini (gemini-3.1-flash-image-preview / gemini-3-pro-image-preview, aka Nano Banana / Pro). Bring your own OpenAI and/or Gemini API key.

Tools

- generate_image — Generate or edit an image via OpenAI gpt-image-2 or Google Gemini. Accepts a prompt plus optional reference images, model selection, size, and quality settings. - check_image_job — Poll a previously-started image generation job. PNGs land in ~/Pictures/image-gen/; the tool returns an inline JPEG thumbnail so the client can render the result immediately.

Install

Three install surfaces, depending on the client: | Artifact | Surface | What it gives you | |---|---|---| | image-gen-<os>-<arch>.mcpb | Claude Desktop (Install Extension) | MCP tools (generate_image, check_image_job) | | image-gen-plugin.zip | Claude Desktop or Claude Code | image-gen skill + /image-gpt + /image-gemini slash commands | | mcp/dist/index.js | Manual claude mcp add / claude_desktop_config.json | Same MCP, full manual control | Published .mcpb builds: darwin-arm64, darwin-x64, win32-x64. Linux users build from source via the Claude Code install guide.

Claude Code (quick path)

```bash
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.