Chatgpt Native Image Gen MCP Server

This project implements an MCP (Model Context Protocol) server that provides tools for generating and editing images using OpenAI's `gpt-image-1`

Local serverstdioPython

What is the Chatgpt Native Image Gen MCP Server?

Chatgpt Native Image Gen MCP becomes available to MCP clients through the Chatgpt Native Image Gen MCP. This project implements an MCP (Model Context Protocol) server that provides tools for generating and editing images using OpenAI's gpt-image-1 model via the official Python SDK.

What Chatgpt Native Image Gen MCP does

This project implements an MCP (Model Context Protocol) server that provides tools for generating and editing images using OpenAI's gpt-image-1 model via the official Python SDK.

Key capabilities

  • generate_image — Generates an image using OpenAI's gpt-image-1 model based on a text prompt and saves it
  • Input Schema: —
  • Output: — {"status": "success", "saved_path": "path/to/image.png"} or error dictionary
  • edit_image — Edits an image or creates variations using OpenAI's gpt-image-1 model and saves it. Can use multiple input images as reference or perform inpainting with a mask
  • Input Schema: —
  • Output: — {"status": "success", "saved_path": "path/to/image.png"} or error dictionary

Requirements

  • Python (3.8 or later recommended) * pip (Python package installer) * An OpenAI API Key (set directly in the script or via the OPENAI_API_KEY environment variable - using environment variables is strongly recommended for security). * An MCP client environment (like the one used by Cline) capable of managing and launching MCP servers.

Practical notes

  • Maintained by IncomeStreamSurfer, written in Python.

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.

Configuration

  • Python (3.8 or later recommended) * pip (Python package installer) * An OpenAI API Key (set directly in the script or via the OPENAI_API_KEY environment variable - using environment variables is strongly recommended for security). * An MCP client environment (like the one used by Cline) capable of managing and launching MCP servers.
VariableDescriptionRequired
OPENAI_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

This project implements an MCP (Model Context Protocol) server that provides tools for generating and editing images using OpenAI's `gpt-image-1` model via the Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.