GPT Image MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| LOG_LEVEL | No | Logging level | INFO |
| IMAGE_MODEL | No | Direct image model | gpt-image-1 |
| DEFAULT_MODEL | No | Primary model (OpenAI's best) | gpt-image-1 |
| FALLBACK_MODEL | No | Fallback option | dall-e-3 |
| OPENAI_API_KEY | Yes | Your OpenAI API key. | |
| DEFAULT_QUALITY | No | Image quality | auto |
| TIMEOUT_SECONDS | No | Request timeout | 120 |
| MAX_IMAGE_SIZE_MB | No | Size limits | 10.0 |
| ENABLE_COMPRESSION | No | File size optimization | true |
| RATE_LIMIT_PER_MINUTE | No | API rate limiting | 30 |
| ENABLE_DETAILED_LOGGING | No | Request/response logging | false |
| MAX_CONCURRENT_GENERATIONS | No | Batch processing limit | 5 |
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
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | Generate images using OpenAI gpt-image-1 for YouTube thumbnails, blog images, and social media content. This tool generates completely new images from text descriptions. For incorporating reference images (especially for YouTube thumbnails with people), use generate_reference_thumbnail instead. Args: prompt: Description of the image to generate content_type: Type of content (youtube_thumbnail, blog_header, blog_featured, social_media, general) size: Image dimensions (auto-selected based on content_type if not provided) quality: Image quality level (low, medium, high, auto) style: Visual style (professional, casual, dramatic, minimalist, educational, entertainment) emotional_tone: Emotional tone (excited, curious, confident, surprised, serious, friendly, dramatic) include_text_overlay: Whether to include text overlay on the image text_overlay: Text to overlay on the image brand_colors: Brand colors to use (hex codes) topic: Topic or subject matter for the image target_audience: Target audience for the content avoid_elements: Elements to avoid in the generated image emphasis_elements: Elements to emphasize in the generated image reference_image: Reference image - must be either a file path (e.g., "/path/to/image.jpg") or base64 encoded image data. Claude's "[Image #1]" format is not supported - save the image to a file first. creative_mode: Enable creative freedom vs. structured layouts (default: False for consistent branding) composition_style: Composition approach (centered, left, right, dynamic, creative, or None for auto) layout_freedom: Layout constraints (standard=consistent branding, flexible=some creativity, experimental=full freedom) |
| optimize_for_platformA | Optimize an existing image for a specific platform. Args: image_data: Base64 encoded image data target_platform: Target platform (youtube, instagram, twitter, facebook, blog) content_type: Type of content (e.g., tutorial, entertainment, news) optimization_focus: Areas to focus optimization on |
| analyze_thumbnailA | Analyze a thumbnail's effectiveness and provide improvement suggestions. Args: image_data: Base64 encoded image data platform: Platform for analysis (youtube, instagram, twitter, facebook, blog) content_category: Content category (e.g., education, entertainment, tech) |
| generate_batchA | Generate multiple images at once with different parameters. Args: requests: List of image generation requests (each with prompt, content_type, etc.) max_concurrent: Maximum number of concurrent generations (1-10) |
| get_prompt_suggestionsB | Get suggestions for improving image generation prompts. Args: content_type: Type of content (youtube_thumbnail, blog_header, blog_featured, social_media, general) current_prompt: Current prompt to analyze and improve (optional) |
| cleanup_temp_filesB | Clean up old temporary files. |
| generate_reference_thumbnailA | SPECIALIZED tool for YouTube thumbnails using reference images with predefined layouts. Use this tool specifically for YouTube thumbnails when you want the standard thumbnail layout (person on right, text on left, red banner) with a reference image. For other content types or custom layouts with reference images, use the general generate_image tool instead. Args: reference_image: Reference image - must be either a file path (e.g., "/path/to/image.jpg") or base64 encoded image data. Claude's "[Image #1]" format is not supported - save the image to a file first. main_text: Main headline text for the thumbnail secondary_text: Optional secondary text for the red banner topic: Topic or subject matter (e.g., 'tech side hustles', 'AWS certification') style_override: Optional style override for different thumbnail types creative_mode: Enable creative freedom vs. consistent branding (default: False) composition_style: Composition approach (centered, left, right, dynamic, creative) layout_freedom: Layout constraints (standard=branding, flexible=some creativity, experimental=full freedom) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| get_templates | Get image generation templates for different content types. |
| get_best_practices | Get best practices for different platforms and content types. |
| get_examples | Get example prompts and generated images. |
| get_temp_files_info | Get information about temporary files storage. |
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/labeveryday/gpt-image-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server