MCP directory
OI

OpenAI Image

by github.com/mindstone · v0.5.0 · updated Nov 11, 2026

OpenAI image generation MCP server for Model Context Protocol hosts

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @mindstone/[email protected]

Environment variables

  • OPENAI_API_KEYrequiredsecret

    OpenAI API key with image generation access

  • MCP_WORKSPACE_PATH

    Workspace directory for saving generated images

  • OPENAI_IMAGE_MODEL

    Override the default OpenAI image model identifier

  • OPENAI_IMAGE_REQUEST_TIMEOUT_MS

    Outbound HTTP request timeout in milliseconds (max 1800000)

  • MCP_ALLOWED_SYMLINK_ROOTS

    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...

  • MCP_HTTP_PORT

    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.

More from github.com/mindstone

More MCP servers