image-gen-mcp

MCP.Pizza Chef: Ichigo3766

image-gen-mcp is an MCP server that enables text-to-image generation by interfacing with the Stable Diffusion WebUI API, including ForgeUI and AUTOMATIC-1111. It requires a running Stable Diffusion WebUI instance with API access enabled and provides seamless integration for generating images from textual prompts within MCP-enabled environments.

Unmaintained · No commits in 14 months.

Use This MCP server To

Generate images from text prompts using Stable Diffusion API Integrate AI image generation into MCP workflows Automate creative image creation in development pipelines Enable real-time image generation in chat or IDE environments Create visual content for marketing or design projects Prototype visual concepts from natural language descriptions

README

image-gen MCP Server

A MCP server that provides text-to-image generation capabilities using Stable Diffusion WebUI API (ForgeUI/AUTOMATIC-1111).

Image Generation Server MCP server

Installation

Prerequisites

  • Node.js
  • Access to a Stable Diffusion WebUI instance with API enabled
  • The WebUI must have --api flag enabled when starting

Setup

  1. Clone the repository:
git clone https://github.com/Ichigo3766/image-gen-mcp.git
cd image-gen-mcp
  1. Install dependencies:
npm install
  1. Build the server:
npm run build
  1. Add the server configuration to your environment:

image-gen-mcp FAQ

How do I set up the image-gen-mcp server?
Clone the repo, install dependencies with npm, build the server, and configure it to connect to a Stable Diffusion WebUI instance with API enabled.
What prerequisites are needed to run image-gen-mcp?
You need Node.js and access to a Stable Diffusion WebUI instance running with the --api flag enabled.
Can image-gen-mcp work with different Stable Diffusion WebUI variants?
Yes, it supports ForgeUI and AUTOMATIC-1111 variants of the Stable Diffusion WebUI API.
Is it possible to customize the image generation parameters?
Yes, you can configure parameters through the API calls to tailor image outputs.
How does image-gen-mcp integrate with other MCP components?
It acts as a server exposing image generation capabilities that MCP clients can call to embed images in workflows.
What LLM providers can I use with image-gen-mcp?
While image-gen-mcp focuses on image generation, it can be combined with LLMs like OpenAI, Claude, and Gemini for multimodal workflows.
Is the image generation process synchronous or asynchronous?
The server handles requests asynchronously, allowing efficient processing of multiple image generation tasks.
Can I run image-gen-mcp on any platform?
It requires Node.js and network access to a Stable Diffusion WebUI instance, so it can run on most platforms supporting these.