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 | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ChristophLabestin/image-generator-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server