Skip to main content
Glama
theosera

claude-openai-image-mcp

by theosera

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoOpenAI API key. Required only when IMAGE_MCP_PROVIDER is 'openai'.
IMAGE_MCP_PROVIDERNoProvider: 'mock' (offline) or 'openai' (requires API key)mock
OPENAI_IMAGE_MODELNoServer-owned model name. Not settable by clients.gpt-image-2
IMAGE_MCP_TIMEOUT_MSNoPer-request upstream timeout in milliseconds.60000
IMAGE_MCP_MAX_RETRIESNoMaximum number of transient retries.0
IMAGE_MCP_DEFAULT_SIZENoDefault size when client omits it. Defaults to first allowed size.
IMAGE_MCP_ALLOWED_SIZESNoComma-separated list of allowed sizes (e.g., '1024x1024,1536x1024').1024x1024,1536x1024,1024x1536
IMAGE_MCP_DEFAULT_FORMATNoDefault output format when client omits it. Defaults to first allowed format.
IMAGE_MCP_ALLOWED_FORMATSNoComma-separated list of allowed output formats (e.g., 'png,webp,jpeg').png,webp,jpeg
IMAGE_MCP_DEFAULT_QUALITYNoDefault quality when client omits it. Defaults to first allowed quality.
IMAGE_MCP_MAX_CONCURRENCYNoMaximum concurrent generations.1
IMAGE_MCP_MAX_PROMPT_CHARSNoMaximum number of characters for the prompt.2000
IMAGE_MCP_ALLOWED_QUALITIESNoComma-separated list of allowed qualities ('low','medium', etc.).low,medium

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate an image from a text prompt using the configured OpenAI image model. Returns an image (base64) plus metadata. size/quality/output_format are optional and restricted to the server allowlist; the server picks the model.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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/theosera/claude_openai_image_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server