# Image Generation MCP Server [Health: Active]

**Category:** 🎥 Multimedia Process  
**Repository:** https://github.com/pvliesdonk/image-generation-mcp  
**GitHub Stars:** 1  
**Views:** 8  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/image-generation-mcp-server

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

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "image-generation-mcp-server": {
    "command": "uvx",
    "args": ["image-generation-mcp"]
  }
}
```

## Documentation

## 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.

_Full upstream README: https://allmcps.com/mcp/image-generation-mcp-server/readme_

