Image MCP Server

STDIO MCP server for OpenAI and Gemini image generation

Local serverstdioTypeScript

What is the Image MCP Server?

STDIO MCP server for OpenAI and Gemini image generation

What the server does

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
promptWhat the image should contain
filenameBase filename without an extension
generate_image_openaiGenerate one or more images with the OpenAI Image API
generate_image_geminiGenerate one or more images with the Gemini Interactions API

How to install the Image MCP Server

{
  "mcpServers": {
    "image-gen-mcp": {
      "command": "npx",
      "args": ["-y", "@s4shibam/image-gen-mcp"],
      "env": {
        "OPENAI_API_KEY": "your-openai-api-key",
        "GEMINI_API_KEY": "your-gemini-api-key"
      }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes
GEMINI_API_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Image to prompt.”
  • “Use Image to filename.”
  • “Use Image to generate image openai.”

Frequently asked questions

STDIO MCP server for OpenAI and Gemini image generation Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.