MCP-OpenAI-ImageAPI
A Model Context Protocol (MCP) server for generating and editing images using OpenAI’s GPT-Image-1 API. This project provides an API interface to generate or edit images based on text prompts and input images, with results stored and served via an S3-compatible object storage server.
Features
- Generate images from text prompts using OpenAI’s GPT-Image-1
- Edit images based on prompts and input images
- Asynchronous FastAPI-based MCP server
- Automatic upload and retrieval of images from object storage
Requirements
- Python 3.8+
- OpenAI API key
- Access to an S3-compatible object storage server (e.g., MinIO, AWS S3, or self-hosted)
Note: You must provide your own S3-compatible object storage server. This project include an very simple object storage backend.
The server exposes a tool gpt-image-generator for generating or editing images. See the code for API details.
Configuration
- Set your OpenAI API key as an environment variable:
OPENAI_API_KEY - Configure your S3-compatible object storage credentials as required by your storage server implementation.
License
MIT
Disclaimer
This project requires an external or self-hosted S3-compatible object storage server. Please ensure you have access to such a service before using this project.
OpenAI Image API Server
Project Details
- GaussianGuaicai/MCP-OpenAI-ImageAPI
- Last Updated: 5/3/2025
Recomended MCP Servers
根据网易云音乐的歌单, 下载flac无损音乐到本地. Download the FLAC music from Internet according to your NeteaseCloudMusic playlist.
Deploy a Gemini multimodal chat website in 10 seconds, Severless! 只需准备一个Gemini API Key,10秒即可部署一个Gemini多模态对话的网站。
A Model Context Protocol server that allows AI agents to play a notification sound via a tool when...
MCP server for FindMine's product styling AI
MCP to integrate with JIRA & CONFLUENCE
Model Context Protocol server for Google Analytics, enabling LLMs to fetch and analyze web analytics data
SushiMCP is a dev tools MCP that serves context on a roll.





