Image Generation MCP Server logo

Image Generation MCP Server

Generate and transform images through OpenAI, Gemini, Stable Diffusion WebUI, or a placeholder provider over MCP.

Install Image Generation MCP Server

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "image-generation-mcp-server": {
      "command": "uvx",
      "args": [
        "image-generation-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx image-generation-mcp

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Image Generation MCP Server MCP server exposes image generation and transformation workflows through OpenAI, Google Gemini, Stable Diffusion WebUI, and a placeholder provider. It runs through FastMCP and can be installed from PyPI, Docker, Linux packages, or a Claude Desktop bundle. Use it when an MCP client needs prompt-based image creation, provider selection, image-to-image transformation, gallery access, or on-demand resizing and cropping. Long Stable Diffusion jobs can run as background tasks, while shorter OpenAI calls report progress in the foreground.

Use cases

  • Generate product images from text prompts
  • Create concept-art variations with Stable Diffusion
  • Transform gallery images with Gemini
  • Crop and resize generated images on demand
  • Browse and reuse generated image styles

Key features

  • OpenAI, Gemini, SD WebUI, and placeholder providers
  • Keyword-based automatic provider selection
  • Background tasks for long Stable Diffusion jobs
  • On-demand image cropping, resizing, and re-encoding
  • Gallery and viewer resources for supported MCP Apps clients
  • Reusable per-provider style metadata and briefs

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 84d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · image-generation-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
Last commit7d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Image Generation MCP Server works

What Image Generation MCP Server MCP server does

Image Generation MCP Server MCP server connects MCP clients to several image-generation backends. It supports OpenAI models including gpt-image-2, gpt-image-1.5, and dall-e-3; Google Gemini image models; Stable Diffusion-compatible SD WebUI, Forge, and reForge deployments; and a zero-cost placeholder provider for testing.

The server exposes image creation, image transformation, provider discovery, gallery browsing, and style-library workflows. A client can request a new image, transform an existing gallery image, inspect recent generations, or save a reusable style brief. Transformations can include background replacement through Gemini, resizing, re-encoding, and cropping.

How it works

Requests reach the server through MCP and are routed to a selected provider. The provider="auto" option chooses a backend using prompt keywords: text or logo requests go toward OpenAI, photorealistic or anime prompts toward SD WebUI, and draft requests toward the placeholder provider. Clients can also name a provider directly, such as sd_webui.

Each model includes style metadata describing its strengths, prompt grammar, and lifecycle. Provider listings also expose warnings for deprecated models, helping clients inspect the available catalog before generating.

Long SD WebUI generations can use task=True, allowing the client to poll for status. Short OpenAI requests run in the foreground and stream progress. Generated images can be addressed through resources such as image://list and image://{id}/view. The view resource accepts transformation parameters for output format, dimensions, and crop coordinates without generating the image again.

Setup and configuration

Install the base package with pip install image-generation-mcp. Optional extras add background-task support, OpenAI support, and Google’s GenAI client. The all extra installs those components together; SD WebUI uses HTTP and does not require an additional provider package.

For source-based setup, clone the repository and run uv sync --all-extras --all-groups. Docker users can pull the published image from GHCR, copy .env.example to .env, edit it, and start the supplied Compose configuration. Debian and RPM packages are available from GitHub Releases and install a hardened systemd unit. Claude Desktop users can install the released .mcpb bundle; its setup wizard requests required environment values.

Tools and capabilities

  • Generate images with generate_image using a selected provider or automatic routing.
  • Transform a gallery image with transform_image, including image-to-image background replacement through Gemini.
  • Browse generated content through the image://list resource and supported MCP Apps gallery interfaces.
  • Resize, crop, or re-encode images through image://{id}/view parameters.
  • Inspect providers, model metadata, and deprecation warnings with list_providers.
  • Save and reuse named style briefs interpreted for the selected provider.

Limitations and notes

Provider availability depends on the corresponding backend and optional package. The placeholder provider is intended for testing and does not provide a paid image-generation backend. Stable Diffusion jobs may require background-task support because generation can be long-running, while provider-specific model behavior is described through each model’s style metadata.

The interactive gallery and viewer require a client that supports app: resources. Docker remote debugging is described as development-only and unauthenticated, so it should not be treated as a production access method.

Image Generation MCP Server MCP server is distributed through multiple release channels. Stable releases publish packages and container tags, while pre-releases and the rolling edge channel follow separate versioning and artifact rules.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Image Generation MCP Server

Image Generation MCP Server is an MCP server that connects clients to OpenAI, Google Gemini, Stable Diffusion WebUI, and a placeholder provider. Its main tools and resources support image generation, image transformation, provider listing, gallery browsing, style reuse, and on-demand cropping, resizing, or re-encoding of generated images.

Install it from PyPI with `pip install image-generation-mcp`, or use the Docker image, Linux packages, source checkout, or Claude Desktop `.mcpb` bundle. The `all` extra adds OpenAI, Google GenAI, and background-task support.

It supports OpenAI, Google Gemini, Stable Diffusion WebUI-compatible deployments, and a zero-cost placeholder provider. OpenAI and Gemini require their corresponding optional Python extras, while SD WebUI is accessed over HTTP.

Yes. Its `image://{id}/view` resource can resize, crop, and re-encode a generated image without generating it again. The resource accepts parameters for format, dimensions, and crop coordinates.

Yes. Claude Desktop is supported through a released `.mcpb` bundle or manual configuration. The bundle can prompt for required environment values through a setup wizard.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewImage Generation MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/image-generation-mcp-server?style=directory)](https://allmcps.com/mcp/image-generation-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/image-generation-mcp-server"><img src="https://allmcps.com/api/badge/image-generation-mcp-server?style=directory" alt="Image Generation MCP Server on AllMCPs" /></a>