Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Image Generation MCP Server

by pvliesdonkversion 1.12.1i★ –iRuns on your computer
Registry nameio.github.pvliesdonk/image-generation-mcp

Install

Overview

Description from the maker (original English)

MCP server for AI image generation via OpenAI, Stable Diffusion (SD WebUI), or placeholders.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio, Streamable HTTP
  • Category: Design, images & audio
  • You need to fill in: IMAGE_GENERATION_MCP_OPENAI_API_KEY, IMAGE_GENERATION_MCP_GOOGLE_API_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: IMAGE_GENERATION_MCP_KV_STORE_URL, IMAGE_GENERATION_MCP_TOOLS_ALLOW, IMAGE_GENERATION_MCP_TOOLS_DENY, IMAGE_GENERATION_MCP_SERVER_NAME, IMAGE_GENERATION_MCP_INSTRUCTIONS, FASTMCP_LOG_LEVEL, FASTMCP_ENABLE_RICH_LOGGING, IMAGE_GENERATION_MCP_A1111_HOST, IMAGE_GENERATION_MCP_A1111_MODEL, IMAGE_GENERATION_MCP_READ_ONLY, IMAGE_GENERATION_MCP_SCRATCH_DIR, IMAGE_GENERATION_MCP_OPENAI_API_KEY, IMAGE_GENERATION_MCP_GOOGLE_API_KEY, IMAGE_GENERATION_MCP_SD_WEBUI_HOST, IMAGE_GENERATION_MCP_SD_WEBUI_MODEL, IMAGE_GENERATION_MCP_DEFAULT_PROVIDER, IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE, IMAGE_GENERATION_MCP_PAID_PROVIDERS, IMAGE_GENERATION_MCP_STYLES_DIR, IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT, IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES, IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S, IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S, IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S, IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S, IMAGE_GENERATION_MCP_TRANSFER_LEASE_S, IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • PyPIPython’s uv installed (for the uvx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "image-generation": {
      "command": "uvx",
      "args": [
        "image-generation-mcp"
      ],
      "env": {
        "IMAGE_GENERATION_MCP_KV_STORE_URL": "your-value",
        "IMAGE_GENERATION_MCP_TOOLS_ALLOW": "your-value",
        "IMAGE_GENERATION_MCP_TOOLS_DENY": "your-value",
        "IMAGE_GENERATION_MCP_SERVER_NAME": "your-value",
        "IMAGE_GENERATION_MCP_INSTRUCTIONS": "your-value",
        "FASTMCP_LOG_LEVEL": "your-value",
        "FASTMCP_ENABLE_RICH_LOGGING": "your-value",
        "IMAGE_GENERATION_MCP_A1111_HOST": "your-value",
        "IMAGE_GENERATION_MCP_A1111_MODEL": "your-value",
        "IMAGE_GENERATION_MCP_READ_ONLY": "your-value",
        "IMAGE_GENERATION_MCP_SCRATCH_DIR": "your-value",
        "IMAGE_GENERATION_MCP_OPENAI_API_KEY": "your-value",
        "IMAGE_GENERATION_MCP_GOOGLE_API_KEY": "your-value",
        "IMAGE_GENERATION_MCP_SD_WEBUI_HOST": "your-value",
        "IMAGE_GENERATION_MCP_SD_WEBUI_MODEL": "your-value",
        "IMAGE_GENERATION_MCP_DEFAULT_PROVIDER": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE": "your-value",
        "IMAGE_GENERATION_MCP_PAID_PROVIDERS": "your-value",
        "IMAGE_GENERATION_MCP_STYLES_DIR": "your-value",
        "IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT": "your-value",
        "IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES": "your-value",
        "IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_LEASE_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add image-generation --env IMAGE_GENERATION_MCP_KV_STORE_URL=your-value --env IMAGE_GENERATION_MCP_TOOLS_ALLOW=your-value --env IMAGE_GENERATION_MCP_TOOLS_DENY=your-value --env IMAGE_GENERATION_MCP_SERVER_NAME=your-value --env IMAGE_GENERATION_MCP_INSTRUCTIONS=your-value --env FASTMCP_LOG_LEVEL=your-value --env FASTMCP_ENABLE_RICH_LOGGING=your-value --env IMAGE_GENERATION_MCP_A1111_HOST=your-value --env IMAGE_GENERATION_MCP_A1111_MODEL=your-value --env IMAGE_GENERATION_MCP_READ_ONLY=your-value --env IMAGE_GENERATION_MCP_SCRATCH_DIR=your-value --env IMAGE_GENERATION_MCP_OPENAI_API_KEY=your-value --env IMAGE_GENERATION_MCP_GOOGLE_API_KEY=your-value --env IMAGE_GENERATION_MCP_SD_WEBUI_HOST=your-value --env IMAGE_GENERATION_MCP_SD_WEBUI_MODEL=your-value --env IMAGE_GENERATION_MCP_DEFAULT_PROVIDER=your-value --env IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE=your-value --env IMAGE_GENERATION_MCP_PAID_PROVIDERS=your-value --env IMAGE_GENERATION_MCP_STYLES_DIR=your-value --env IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT=your-value --env IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES=your-value --env IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S=your-value --env IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S=your-value --env IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S=your-value --env IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S=your-value --env IMAGE_GENERATION_MCP_TRANSFER_LEASE_S=your-value --env IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES=your-value -- uvx image-generation-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "image-generation": {
      "command": "uvx",
      "args": [
        "image-generation-mcp"
      ],
      "env": {
        "IMAGE_GENERATION_MCP_KV_STORE_URL": "your-value",
        "IMAGE_GENERATION_MCP_TOOLS_ALLOW": "your-value",
        "IMAGE_GENERATION_MCP_TOOLS_DENY": "your-value",
        "IMAGE_GENERATION_MCP_SERVER_NAME": "your-value",
        "IMAGE_GENERATION_MCP_INSTRUCTIONS": "your-value",
        "FASTMCP_LOG_LEVEL": "your-value",
        "FASTMCP_ENABLE_RICH_LOGGING": "your-value",
        "IMAGE_GENERATION_MCP_A1111_HOST": "your-value",
        "IMAGE_GENERATION_MCP_A1111_MODEL": "your-value",
        "IMAGE_GENERATION_MCP_READ_ONLY": "your-value",
        "IMAGE_GENERATION_MCP_SCRATCH_DIR": "your-value",
        "IMAGE_GENERATION_MCP_OPENAI_API_KEY": "your-value",
        "IMAGE_GENERATION_MCP_GOOGLE_API_KEY": "your-value",
        "IMAGE_GENERATION_MCP_SD_WEBUI_HOST": "your-value",
        "IMAGE_GENERATION_MCP_SD_WEBUI_MODEL": "your-value",
        "IMAGE_GENERATION_MCP_DEFAULT_PROVIDER": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE": "your-value",
        "IMAGE_GENERATION_MCP_PAID_PROVIDERS": "your-value",
        "IMAGE_GENERATION_MCP_STYLES_DIR": "your-value",
        "IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT": "your-value",
        "IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES": "your-value",
        "IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_LEASE_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "image-generation": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "image-generation-mcp"
      ],
      "env": {
        "IMAGE_GENERATION_MCP_KV_STORE_URL": "your-value",
        "IMAGE_GENERATION_MCP_TOOLS_ALLOW": "your-value",
        "IMAGE_GENERATION_MCP_TOOLS_DENY": "your-value",
        "IMAGE_GENERATION_MCP_SERVER_NAME": "your-value",
        "IMAGE_GENERATION_MCP_INSTRUCTIONS": "your-value",
        "FASTMCP_LOG_LEVEL": "your-value",
        "FASTMCP_ENABLE_RICH_LOGGING": "your-value",
        "IMAGE_GENERATION_MCP_A1111_HOST": "your-value",
        "IMAGE_GENERATION_MCP_A1111_MODEL": "your-value",
        "IMAGE_GENERATION_MCP_READ_ONLY": "your-value",
        "IMAGE_GENERATION_MCP_SCRATCH_DIR": "your-value",
        "IMAGE_GENERATION_MCP_OPENAI_API_KEY": "your-value",
        "IMAGE_GENERATION_MCP_GOOGLE_API_KEY": "your-value",
        "IMAGE_GENERATION_MCP_SD_WEBUI_HOST": "your-value",
        "IMAGE_GENERATION_MCP_SD_WEBUI_MODEL": "your-value",
        "IMAGE_GENERATION_MCP_DEFAULT_PROVIDER": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE": "your-value",
        "IMAGE_GENERATION_MCP_PAID_PROVIDERS": "your-value",
        "IMAGE_GENERATION_MCP_STYLES_DIR": "your-value",
        "IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT": "your-value",
        "IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES": "your-value",
        "IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_LEASE_S": "your-value",
        "IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • IMAGE_GENERATION_MCP_KV_STORE_URL env
    Persistent-state backend URL shared by every pvl-core subsystem that needs state. `memory://` is in-process and lost on restart; `file:///path` persists on one server; `redis://`, `dynamodb://` and `…
  • IMAGE_GENERATION_MCP_TOOLS_ALLOW env
    Comma-separated explicit tool names this instance exposes; every other tool is hidden from listings and cannot be invoked. Names matching no registered tool are inert. Mutually exclusive with `tools_…
  • IMAGE_GENERATION_MCP_TOOLS_DENY env
    Comma-separated explicit tool names hidden from this instance (absent from listings, cannot be invoked). Names matching no registered tool are inert. Mutually exclusive with `tools_allow`. Takes effe…
  • IMAGE_GENERATION_MCP_SERVER_NAME env
    Rename this server instance; defaults to the project name.
  • IMAGE_GENERATION_MCP_INSTRUCTIONS env
    Replaces the default MCP instructions text sent to clients.
  • FASTMCP_LOG_LEVEL env
    Log level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG.
  • FASTMCP_ENABLE_RICH_LOGGING env
    Set false for plain or structured JSON log output.
  • IMAGE_GENERATION_MCP_A1111_HOST env
    Deprecated alias for IMAGE_GENERATION_MCP_SD_WEBUI_HOST; logs a warning when used.
  • IMAGE_GENERATION_MCP_A1111_MODEL env
    Deprecated alias for IMAGE_GENERATION_MCP_SD_WEBUI_MODEL; logs a warning when used.
  • IMAGE_GENERATION_MCP_READ_ONLY env
    When true, write-tagged tools (image generation, transforms, uploads) are hidden from clients. Set false to enable them.
  • IMAGE_GENERATION_MCP_SCRATCH_DIR env
    Directory where generated images are saved. Created automatically on first use.
  • IMAGE_GENERATION_MCP_OPENAI_API_KEY secret env
    OpenAI API key. Enables the OpenAI provider (gpt-image-2, gpt-image-1.5, dall-e-3) when set.
  • IMAGE_GENERATION_MCP_GOOGLE_API_KEY secret env
    Google API key. Enables the Gemini provider (gemini-3.1-flash-image and others) when set. Get a key at https://aistudio.google.com/apikey.
  • IMAGE_GENERATION_MCP_SD_WEBUI_HOST env
    SD WebUI base URL (such as http://localhost:7860). Enables the SD WebUI provider when set. Compatible with AUTOMATIC1111, Forge, reForge, and Forge-neo.
  • IMAGE_GENERATION_MCP_SD_WEBUI_MODEL env
    SD WebUI checkpoint name, used for model-aware preset detection (SD 1.5 / SDXL / Lightning) and checkpoint override. Unset uses the instance's current model.
  • IMAGE_GENERATION_MCP_DEFAULT_PROVIDER env
    Provider used when no keyword triggers auto-selection: auto, openai, gemini, sd_webui, or placeholder. auto picks the first configured provider.
  • IMAGE_GENERATION_MCP_TRANSFORM_CACHE_SIZE env
    Maximum number of transformed image results (resize, crop, convert) kept in memory. Set 0 to disable caching.
  • IMAGE_GENERATION_MCP_PAID_PROVIDERS env
    Comma-separated provider names that cost money; generate_image asks for confirmation (client elicitation) before using them. An empty value falls back to this default; to disable confirmation, set a…
  • IMAGE_GENERATION_MCP_STYLES_DIR env
    Directory for style preset files (Markdown with YAML front matter). Created automatically if it does not exist.
  • IMAGE_GENERATION_MCP_ALLOW_LOCAL_FILE_INPUT env
    Allow reading input images from local filesystem paths. Off by default: only URLs and uploads are accepted.
  • IMAGE_GENERATION_MCP_MAX_INPUT_IMAGE_BYTES env
    Maximum accepted input image size in bytes.
  • IMAGE_GENERATION_MCP_FETCH_TIMEOUT_S env
    HTTP timeout in seconds when fetching remote image URLs (fetch_image and URL inputs).
  • IMAGE_GENERATION_MCP_TRANSFER_TTL_DEFAULT_S env
    Link lifetime in seconds when the caller requests no explicit TTL.
  • IMAGE_GENERATION_MCP_TRANSFER_TTL_MAX_S env
    Ceiling in seconds a caller-requested link TTL is clamped to.
  • IMAGE_GENERATION_MCP_TRANSFER_GRACE_TTL_S env
    Post-success grace window in seconds: a served token's TTL shrinks to this so a stalled transfer can retry within it.
  • IMAGE_GENERATION_MCP_TRANSFER_LEASE_S env
    Crashed-handler reclaim window in seconds for an in-flight reservation.
  • IMAGE_GENERATION_MCP_TRANSFER_MAX_UPLOAD_BYTES env
    Maximum size in bytes of a single upload.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account pvliesdonk, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Design, images & audioi

  • More stars than 0% of the other 2800 servers in this category
  • Published to the registry more recently than 25% of the other 2800 servers in this category
  • Basic checks equal to or better than 100% of the other 2800 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Image Generation MCP Server safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: IMAGE_GENERATION_MCP_OPENAI_API_KEY, IMAGE_GENERATION_MCP_GOOGLE_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (1.12.1) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv), Docker on your computer.

What can I use instead?

In the same category: Figma Context MCP, Claude Real Video, Figma MCP Server

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

by GLipsWidely used↓ 161.2K/wk★ 16.2KUpdated 5 months ago

Runs on your computer

Claude Real Video

Let any LLM watch a video locally — and search everything it has ever watched.

by HUANGCHIHHUNGLeoWidely used↓ 1.1K/wk★ 2.3KUpdated 2 months ago

Runs on your computer

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Runs in the cloud✓ mcp.figma.com

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Image Generation MCP

Multi-provider image generation MCP server built on FastMCP. Generate images from Claude Desktop, Claude Code, or any MCP client using OpenAI, Google Gemini, Stable Diffusion (SD WebUI), or a zero-cost placeholder provider.

[Documentation](https://pvliesdonk.github.io/image-generation-mcp/) | [Config wizard](https://pvliesdonk.github.io/image-generation-mcp/latest/configuration-generator/) | [PyPI](https://pypi.org/project/image-generation-mcp/) | [Docker](https://github.com/pvliesdonk/image-generation-mcp/pkgs/container/image-generation-mcp)

Features

  • Multi-provider: OpenAI (gpt-image-2, gpt-image-1.5, dall-e-3), Google Gemini (gemini-3.1-flash-image, gemini-3-pro-image, gemini-3.1-flash-lite-image), SD WebUI (Stable Diffusion / Forge / reForge), and a zero-cost placeholder for testing.
  • Per-model style metadata: every model carries a style_profile (strengths, prompt grammar, lifecycle); list_providers includes a top-level warnings array for deprecated models. See Model Catalog.
  • Keyword-based auto-selection: provider="auto" routes by prompt content (text/logo → OpenAI, photoreal/anime → SD WebUI, draft → placeholder).
  • CDN-style image transforms: image://{id}/view?format=webp&width=512&crop_x=... resizes / re-encodes / crops on demand without re-generating.
  • Hybrid background tasks: long-running SD generations run with task=True (poll for status); short OpenAI calls stream progress in the foreground.
  • MCP Apps gallery + viewer: interactive UI surfaces (browse generated images, edit / crop / rotate) for clients that support app: resources.
  • Production deployment: Docker (multi-arch), .deb/.rpm with hardened systemd, OIDC + bearer auth, persistent EventStore for HTTP session resumability.

What you can do with it

With this server mounted in an MCP client, you can ask:

  • "Generate a coffee mug product photo on a worn oak table, 16:9, no text." Routes to gpt-image-1.5 for typography-aware photorealism.
  • "Create three concept-art variations of a cyberpunk alley at dusk." Composes generate_image with provider="sd_webui" and a stylised checkpoint like dreamshaperXL.
  • "Crop this image to a 1:1 square centred on the subject and resize to 512px." Uses image://{id}/view?width=512&height=512&crop_x=... resource transforms.
  • "Show me my recent generations." Browses the gallery via the image://list resource and the MCP Apps gallery viewer.
  • "Save this style as 'cyberpunk-night' so I can apply it to future requests." Uses the style library, whose markdown briefs the LLM interprets per-provider.
  • "Replace the background of my last photo with a sunset sky." Uses transform_image with the gallery image_id as a reference (image-to-image via Gemini).

Installation

From PyPI
pip install image-generation-mcp

If you add optional extras via the PROJECT-EXTRAS-START / PROJECT-EXTRAS-END sentinels in pyproject.toml, document them below:

ExtraIncludesUse when
mcpfastmcp[tasks]>=3.0,<4Background-task support (task=True), required for long SD generations.
openaiopenai>=1.0Enables the OpenAI provider.
google-genaigoogle-genai>=1.0Enables the Gemini provider.
allfastmcp[tasks] + openai + google-genaiEverything except SD WebUI (which is HTTP-only, no extra needed).

Example: pip install image-generation-mcp[all].

From source
git clone https://github.com/pvliesdonk/image-generation-mcp.git

cd image-generation-mcp uv sync --all-extras --all-groups

Docker
docker pull ghcr.io/pvliesdonk/image-generation-mcp:latest

To run the newest merged code instead of the newest release, use the rolling edge tag. It is rebuilt on every merge to main and carries no version identity. See Image tags for the full tag list.

docker pull ghcr.io/pvliesdonk/image-generation-mcp:edge

A compose.yml ships at the repo root as a starting point. Copy .env.example to .env, edit, and docker compose up -d.

To attach a remote Python debugger (development only; the protocol is unauthenticated), see Remote debugging.

Linux packages (.deb / .rpm)

Download .deb or .rpm packages from the GitHub Releases page. Both install a hardened systemd unit; env configuration is sourced from /etc/image-generation-mcp/env (copy from the shipped /etc/image-generation-mcp/env.example).

Claude Desktop (.mcpb bundle)

Download the .mcpb bundle from the GitHub Releases page and double-click to install, or run:

mcpb install image-generation-mcp-<version>.mcpb

Claude Desktop prompts for required env vars via a GUI wizard, with no manual JSON editing needed.

For manual Claude Desktop configuration and setup options, see Claude Desktop deployment.

Release channels

Artifacts ship on three channels. Each row lists exactly what that channel publishes.

ChannelVersion identityArtifacts
edge (rolling)None; the commit is the identityDocker image :edge rebuilt on every merge to main; .mcpb bundle as the mcpb-bundle-edge workflow artifact; Claude Code plugin .zip as the plugin-zip-edge artifact; rolling unstable docs version. It leaves no git tag, GitHub release, or PyPI entry behind.
Pre-releasevX.Y.Z-rc.N, computed and reviewed in its release pull requestPyPI (as the pre-release X.Y.ZrcN); GitHub release with wheels, sdist, .deb/.rpm packages, .mcpb bundle, plugin .zip, and SBOM attached; Docker image under its immutable vX.Y.Z-rc.N tag plus the ordering-aware rolling rc tag. Skips the plugin marketplace, the MCP registry, and the docs deploy.
StablevX.Y.ZEverything: PyPI, Docker (version tag plus ordering-aware latest / vX / vX.Y), .deb/.rpm, GitHub release assets (wheels, sdist, .mcpb bundle, plugin .zip, SBOM), plugin marketplace and MCP registry entries (when the release is the newest stable), versioned docs with an ordering-aware latest alias.

Pre-releases reach PyPI so that a candidate's .mcpb bundle installs: the bundle points at PyPI rather than carrying the code. Ordinary installers never see them, because a PEP 440 resolver skips pre-releases unless the requirement pins one or you pass --pre. Ask for a candidate by name with pip install image-generation-mcp==X.Y.ZrcN. PyPI spells it in the PEP 440 canonical form, while tags use SemVer. Rolling pointers are ordering-aware, so a patch release cut from an old release/X.Y branch never moves latest-style tags back to older content, and a candidate for an already-released version never moves rc. See Release process for the full model.

Quick start

image-generation-mcp serve                                # stdio transport

image-generation-mcp serve --transport http --port 8000 # streamable HTTP

For library usage (embedding the domain logic without the MCP transport), import from the image_generation_mcp package directly. See the project's domain modules under src/image_generation_mcp/ for entry points.

Server info

The server registers a built-in get_server_info tool (via fastmcp_pvl_core.register_server_info_tool) so operators can confirm the deployed version with a single MCP call. The default response carries server_name, server_version, and core_version. Servers that talk to a remote upstream wire upstream version reporting inside the DOMAIN-UPSTREAM-START / DOMAIN-UPSTREAM-END sentinel in src/image_generation_mcp/server.py; see CLAUDE.md for the wiring pattern.

Configuration

Core environment variables shared across all fastmcp-pvl-core-based services:

VariableDefaultDescription
IMAGE_GENERATION_MCP_KV_STORE_URLfile:///data/statePersistent-state backend URL shared by every pvl-core subsystem that needs state. memory:// is in-process and lost on restart; file:///path persists on one server; redis://, dynamodb:// and mongodb:// each need their matching extra. When unset, defaults to file:///data/state (the volume family Docker images mount), or to memory://; with a warning; on a host where that directory is not usable.
FASTMCP_LOG_LEVELINFOLog level for FastMCP internals and app loggers (DEBUG / INFO / WARNING / ERROR / CRITICAL). The -v CLI flag overrides to DEBUG.
FASTMCP_ENABLE_RICH_LOGGINGtrueSet false for plain or structured JSON log output.

Domain-specific variables go below under Domain configuration.

Authentication

Callers authenticate via a bearer token or OIDC (mutually exclusive). See the Authentication guide for setup, mapped multi-subject tokens, OIDC, and troubleshooting.

Post-scaffold checklist

After copier copy and gh repo create --push:

  1. Fill in the DOMAIN blocks (every section marked with a DOMAIN sentinel comment) in this README and in CLAUDE.md. The GENERATED-ENV-TABLE-* regions are not DOMAIN blocks; the config generator owns them and rewrites them on every run.
  2. Configure GitHub secrets (see below).
  3. Install dev + docs tooling: uv sync --all-extras --all-groups.
  4. Install pre-commit hooks: uv run pre-commit install.
  5. Run the gate locally: uv run pytest -x -q && uv run ruff check --fix . && uv run ruff format . && uv run mypy src/ tests/.
  6. Push the first commit. CI should be green.

GitHub secrets

CI workfl

Only the beginning is shown; read the rest in the repo

Ask PopNx