OpenAI Image MCP Server

MCPReference

by aleslanger

Indexed by Glama. No runnable package is published via Glama's API — open the repository for install instructions.

mcpremote-capable

MCP configuration

stdio

Environment

  • LOG_LEVEL

    debug | info | warn | error

  • DEFAULT_MODEL

    gpt-image-1 / gpt-image-1-mini / gpt-image-2

  • OPENAI_API_KEYrequiredsecret

    OpenAI API key

  • PROMPT_ENHANCE

    locally augment short prompts

  • SPEND_LOG_PATH

    append per-call cost records as JSONL

  • ALLOW_URL_INPUT

    allow image inputs given as URLs

  • CONFIRM_ABOVE_N

    require confirm:true when generating more than N images

  • OPENAI_BASE_URL

    override API base URL

  • IMAGE_OUTPUT_DIR

    where images are saved

  • DEFAULT_OUTPUT_MODE

    path | base64 | both

  • MAX_COST_PER_CALL_USD

    reject a call whose estimate exceeds this

Install in one click with Zurek

Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.