Skip to main content

OpenAI Image

io.github.mindstone/mcp-server-openai-image

v0.5.0Updated Nov 11, 2026stdio · npm

OpenAI image generation MCP server for Model Context Protocol hosts

Install

Needs 1 secret. Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add mcp-server-openai-image -e 'OPENAI_API_KEY=<your-openai-api-key>' -e OPENAI_IMAGE_MODEL=gpt-image-2.6-sunburst -e OPENAI_IMAGE_REQUEST_TIMEOUT_MS=180000 -- npx -y @mindstone/[email protected]

Configuration

6 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • OPENAI_API_KEY
    Env var· required· secret
    OpenAI API key with image generation access
  • MCP_WORKSPACE_PATH
    Env var· optional
    Workspace directory for saving generated images
  • OPENAI_IMAGE_MODEL
    Env var· optional
    Override the default OpenAI image model identifierDefault: gpt-image-2.6-sunburst
  • OPENAI_IMAGE_REQUEST_TIMEOUT_MS
    Env var· optional
    Outbound HTTP request timeout in milliseconds (max 1800000)Default: 180000
  • MCP_ALLOWED_SYMLINK_ROOTS
    Env var· optional
    JSON array of absolute paths the connector may read through (and write generated images through) in-workspace symlinks that resolve into them. Mirrors the host's built-in file-tool declared-Space roots. Malformed or partially-malformed values fail closed to workspace-only. Optional; standalone users omit it.
  • MCP_HTTP_PORT
    Env var· optional
    When set, serve MCP over HTTP on this port bound to 127.0.0.1 (loopback only) instead of stdio. Intended for host-managed local deployments; stdio hosts omit it.

Listed in the official MCP Registry since Nov 11, 2026. Mirrored daily; last checked Nov 26, 2026.