Generate images using Automatic1111/ForgeUI API
Most developer tooling work still happens through a UI a human drives. Image Gen MCP MCP server moves it into the conversation instead. Generate images using Automatic1111/ForgeUI API.
A MCP server that provides text-to-image generation capabilities using Stable Diffusion WebUI API (ForgeUI/AUTOMATIC-1111).
The server publishes 14 tools. What each one is for:
generate_image — Generate images using Stable DiffusionParameters — - prompt (required): Text description of the desired imagenegative_prompt — Things to exclude from the imagesteps — Number of sampling steps (default: 4, range: 1-150)width — Image width (default: 1024, range: 512-2048)height — Image height (default: 1024, range: 512-2048)cfg_scale — CFG scale (default: 1, range: 1-30)sampler_name — Sampling algorithm (default: "Euler")scheduler_name — Scheduler algorithm (default: "Simple")seed — Random seed (-1 for random)batch_size — Number of images to generate (default: 1, max: 4)restore_faces — Enable face restorationConfiguration is passed through the environment: SD_WEBUI_URL, SD_AUTH_USER, SD_AUTH_PASS, SD_OUTPUT_DIR, SD_RESIZE_MODE, SD_UPSCALE_MULTIPLIER, SD_UPSCALE_WIDTH, SD_UPSCALE_HEIGHT. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.
--api flag enabled when startingSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Image Gen MCP's toolset — generate_image, Parameters, negative_prompt and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Ichigo3766; worth a glance at recent repository activity before you build anything load-bearing on it.
SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.
| Tool | What it does |
|---|---|
| generate_image | Generate images using Stable Diffusion |
| Parameters | - prompt (required): Text description of the desired image |
| negative_prompt | Things to exclude from the image |
| steps | Number of sampling steps (default: 4, range: 1-150) |
| width | Image width (default: 1024, range: 512-2048) |
| height | Image height (default: 1024, range: 512-2048) |
| cfg_scale | CFG scale (default: 1, range: 1-30) |
| sampler_name | Sampling algorithm (default: "Euler") |
| scheduler_name | Scheduler algorithm (default: "Simple") |
| seed | Random seed (-1 for random) |
| batch_size | Number of images to generate (default: 1, max: 4) |
| restore_faces | Enable face restoration |
| tiling | Generate tileable images |
| output_path | Custom output path for the generated image |
--api flag enabled when starting| Variable | Description | Required |
|---|---|---|
| SD_WEBUI_URL | Endpoint or connection string the server talks to. | Yes |
| SD_AUTH_USER | Configuration value read at startup. | Optional |
| SD_AUTH_PASS | Configuration value read at startup. | Optional |
| SD_OUTPUT_DIR | Filesystem location the server is allowed to use. | Optional |
| SD_RESIZE_MODE | Configuration value read at startup. | Optional |
| SD_UPSCALE_MULTIPLIER | Configuration value read at startup. | Optional |
| SD_UPSCALE_WIDTH | Configuration value read at startup. | Optional |
| SD_UPSCALE_HEIGHT | Configuration value read at startup. | Optional |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.