Skip to main content
Glama
meet30997

codex-openai-image-mcp

by meet30997

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYNoRequired when IMAGEGEN_PROVIDER is 'openai-api'. API keys are read from the environment only.
IMAGEGEN_OUT_DIRNoOutput directory for generated images, relative to the working folder.generated-images
IMAGEGEN_PROVIDERNoSelects the image backend. Defaults to 'mock'; set 'codex-cli' for Codex CLI or 'openai-api' for the OpenAI Images API.mock
IMAGEGEN_CODEX_BINNoPath or command name for the Codex CLI binary.codex
IMAGEGEN_READ_ROOTNoRoot folder that input images must be inside. Defaults to the working folder.
IMAGEGEN_TIMEOUT_SECNoTimeout in seconds per requested image.300
IMAGEGEN_MAX_PER_CALLNoMaximum number of images one call can generate.8
IMAGEGEN_OPENAI_MODELNoOpenAI image model to use for the openai-api backend.gpt-image-2.5-sunburst
IMAGEGEN_PREVIEW_SIZENoPreview size in pixels for returned image previews.512

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources