image-generator-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_API_KEY | No | Your OpenAI API key with access to image models. If not provided, the server reads it from ~/.config/image-generator-mcp/.env. | |
| OPENAI_BASE_URL | No | Base URL for the OpenAI-compatible API endpoint. Defaults to https://api.openai.com/v1. | https://api.openai.com/v1 |
| IMAGE_OUTPUT_DIR | No | Default directory for saving generated images. Defaults to ~/Pictures/claude-images. | ~/Pictures/claude-images |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | Generate one or more images from a text prompt using OpenAI's GPT Image models, save them to disk, and return the file paths plus an inline preview. Prompt style: these models follow long, specific prose well. Describe subject, composition, lighting, medium/style, colour palette and mood. Any text that should appear inside the image must be given verbatim in quotes. Cost control: use quality "low" (or gpt-image-1-mini) while iterating on composition, then re-render the winner at quality "high". |
| edit_imageA | Edit existing image(s) with a text instruction. Covers three jobs:
Input images must be png, jpg or webp. dall-e-3 cannot edit; use a gpt-image model. |
| list_image_modelsA | Show the image models this API key can use, with guidance on which to pick. Call this when you are unsure whether a model is available, when a generation failed with a model error, or when the user asks what is possible. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
The three tools have clearly separated concerns: generate_image creates new images, edit_image modifies existing ones, and list_image_models provides model metadata. There is no overlap in purpose or expected inputs.
All tool names follow a consistent verb_noun snake_case pattern: generate_image, edit_image, list_image_models. The slight pluralization in list_image_models is natural and does not create inconsistency.
Three tools is a tight, well-scoped set for an image generation server. Each tool addresses a distinct workflow step without redundancy.
The server covers the core workflow fully: generating images, editing them via text, mask, or reference, and checking available models. No critical gaps exist for the stated domain.