openai-image-gen-mcp

openai-image-gen-mcp

3.3

If you are the rightful owner of openai-image-gen-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) server for OpenAI image generation API, enabling AI assistants to generate and edit images using OpenAI's GPT-image-1 model.

The OpenAI Image Generation MCP server is designed to facilitate image creation and editing through OpenAI's GPT-image-1 model. It provides a robust interface for AI assistants like Claude to interact with image generation capabilities. The server supports generating new images from text prompts, editing existing images with optional masks, and saving or uploading images to cloud storage. It includes a health check endpoint to ensure the server is running smoothly and offers multiple methods for API key integration, enhancing flexibility and security. The server is built with TypeScript and can be easily configured and deployed for both testing and production environments.

Features

  • Generate images using OpenAI's image generation models
  • Edit existing images with text prompts and optional masks
  • Automatically save generated images to local storage
  • Optionally upload generated images to Cloudflare ImgBed
  • Health check endpoint to verify server status

Tools

  1. oai_generate_image

    Generate images from text prompts

  2. oai_edit_image

    Edit existing images with text prompts

  3. health_check

    Verify the server's health status