Back to MCP Directory
Connections & Capabilities
Connects To
GitHubAzure
Capabilities
writeexec
Quickstart
Config
{
"mcpServers": {
"openai-gpt-image-mcp": {
"command": "node",
"args": ["/absolute/path/to/dist/index.js"],
"env": { "OPENAI_API_KEY": "sk-..." }
}
}
}Exposed MCP Tools (2)
moderate
create-imageGenerates images from a text prompt using OpenAI's image models.
Generates images, potentially consuming significant API credits and disk space.
moderate
edit-imageEdits or extends images using a prompt and optional mask, supporting file paths and base64 input.
Modifies existing images, with potential for unintended alterations and API usage.
Safety Assessment
This server is relatively safe for image generation and editing, but it requires careful management of the OpenAI API key and attention to file system permissions. The automatic file output feature enhances safety by preventing large payloads. Risky scenarios involve unmanaged API key exposure or generation of harmful content.
- Limited to image generation and editing tasks.
- Automatic file output for large images mitigates payload size risks.
- Requires OpenAI API key for authentication.
- Supports Azure deployment with specific API version control.
- Requires write access to the file system for image output.
- Exposure of OpenAI API key if not managed securely.
- Potential for generating inappropriate content if prompt filtering is insufficient.
- No built-in rate limiting; susceptible to API abuse if not implemented by the client.
