The image-generation-mcp is a multi-provider image generation server that allows users to generate images using various providers like OpenAI and Stable Diffusion. It supports both standard and background task execution for image generation.
From the registry: MCP server for AI image generation via OpenAI, Stable Diffusion (SD WebUI), or placeholders.
$ pip install image-generation-mcp[all]Please install the `image-generation-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install image-generation-mcp** — Install from PyPI (use [all] for OpenAI support) Run: `pip install image-generation-mcp[all]`
Canonical MCP server config (stdio transport):
- command: `image-generation-mcp`
- args: ["serve"]
- required environment variables:
- `IMAGE_GENERATION_MCP_READ_ONLY`: Set to 'false' to enable write tools (generate_image). Defaults to 'true' (read-only). (example: `false`)
- optional environment variables:
- `IMAGE_GENERATION_MCP_OPENAI_API_KEY`: OpenAI API key — enables OpenAI provider (example: `<your-openai-api-key>`)
- `IMAGE_GENERATION_MCP_SD_WEBUI_HOST`: Stable Diffusion WebUI base URL — enables SD WebUI provider (example: `<your-sd-webui-host>`)
- `IMAGE_GENERATION_MCP_SCRATCH_DIR`: Directory for saved generated images (example: `~/.image-generation-mcp/images/`)
- `IMAGE_GENERATION_MCP_DEFAULT_PROVIDER`: Default provider (auto|openai|sd_webui|placeholder) (example: `auto`)
- `IMAGE_GENERATION_MCP_BEARER_TOKEN`: Static bearer token for HTTP transport auth
Note: Multi-provider (OpenAI, SD WebUI, placeholder) image generation. READ_ONLY=true by default hides the generate_image tool; explicitly disable it. Also supports HTTP/SSE transport with bearer/OIDC auth.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.IMAGE_GENERATION_MCP_OPENAI_API_KEYrequiredOpenAI API key; enables OpenAI provider when set.IMAGE_GENERATION_MCP_OIDC_JWT_SIGNING_KEYrequiredJWT signing key; required on Linux/Docker.Make 3D games in Unity Engine with AI. MCP Server + Plugin for Unity Editor and Unity games.