openai-images-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| OPENAI_ORG_ID | No | Optional organization ID for OpenAI. | |
| OPENAI_API_KEY | Yes | Your OpenAI API key. | |
| OPENAI_BASE_URL | No | Override OpenAI base URL. | |
| DALLE_OUTPUT_DIR | No | Default directory for saved images. Falls back to ~/dalle-mcp-output. | |
| OPENAI_PROJECT_ID | No | Optional project ID for OpenAI. | |
| DALLE_DEFAULT_MODEL | No | Model used when a tool call omits model. Default gpt-image-1.5. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_modelsA | List supported OpenAI image models with their capabilities (sizes, qualities, edit/variation support, etc.). Use this before calling generate_image or edit_image to check which options a model accepts. |
| generate_imageB | Create one or more images from a text prompt using OpenAI's image models (gpt-image-1.5, gpt-image-1, gpt-image-1-mini, dall-e-3, dall-e-2). Images are saved to disk and file paths are returned. |
| edit_imageC | Edit one or more existing images using a text prompt and optional mask. Supports gpt-image-1.5, gpt-image-1, gpt-image-1-mini, and dall-e-2. Results are saved to disk and file paths are returned. |
| create_variationA | Generate variations of an existing image using DALL·E 2 (the only model that supports variations). Results are saved to disk and file paths are returned. |
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
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/sam-david/openai-images-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server