openai-gpt-image-mcp
If you are the rightful owner of openai-gpt-image-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) tool server for OpenAI's GPT-4o/gpt-image-1 image generation and editing APIs.
The openai-gpt-image-mcp is a server tool designed to leverage OpenAI's GPT-4o/gpt-image-1 APIs for generating and editing images. It allows users to create images from text prompts and perform advanced image editing tasks such as inpainting, outpainting, and compositing. The tool is compatible with various platforms including Claude Desktop, Cursor, VSCode, and Windsurf, making it versatile for different development environments. It supports both file path and base64 input/output, providing flexibility in how images are handled and stored. The server is built using the @modelcontextprotocol/sdk and the openai Node.js SDK, ensuring robust integration with OpenAI's services.
Features
- create-image: Generate images from a prompt with options for size, quality, and background.
- edit-image: Edit or extend images using a prompt and optional mask, supporting file paths and base64 input.
- File output: Save generated images directly to disk or receive them as base64.