openai-image-gen-mcp
2
The OpenAI Image Generation MCP server allows AI assistants like Claude to generate and edit images using OpenAI's GPT-image-1 model. It supports various tools to create and modify images efficiently and provides health checks to ensure server stability.
OpenAI Image Generation MCP
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
- Multiple ways to provide API key (env var, command line, direct)
Available Tools
- oai_generate_image - Generate images from text prompts
- oai_edit_image - Edit existing images with text prompts
- health_check - Verify the server's health status
Troubleshooting
- Check that your API key is valid and properly formatted
- Ensure the output directory exists and is writable
- Run the health check to verify server status
- Check logs for detailed error information
- Try the simplified version to isolate issues