Back to Apps

MCP Image Generator
by shinpr
AI image generation and editing MCP server with automatic prompt optimization, powered by Gemini and OpenAI.
0 stars
Works in:CursorCodex
Exposes:Tools
What it does
Connects AI assistants to high-quality image generation models. It transforms simple text descriptions into professional visuals by automatically enhancing prompts using a Subject–Context–Style framework, eliminating the need for manual prompt engineering.
Tools
generate_image: Creates high-resolution images from text, supporting various aspect ratios, quality tiers, and 4K output.edit_image: Performs image-to-image transformations using natural language instructions while preserving visual consistency.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-image": {
"command": "npx",
"args": ["-y", "mcp-image"],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key_here",
"IMAGE_OUTPUT_DIR": "/absolute/path/to/images"
}
}
}
}
Supported hosts
Confirmed for Cursor, Claude Code, and Codex.
Quick install
npx -y mcp-imageInformation
- Pricing
- free
- Published
- 5/5/2026
- stars
- 0
Categories
Choose your AI client and follow the steps below.
Codex
Add to ~/.codex/config.toml: [mcp_servers.mcp-image] command = "npx" args = ["-y", "mcp-image"]Cursor
Add to ~/.cursor/mcp.json: { "mcp-image": { "command": "npx", "args": ["-y", "mcp-image"], "env": { "GEMINI_API_KEY": "..." } }Claude Desktop
{
"mcpServers": {
"mcp-image": {
"command": "npx",
"args": ["-y", "mcp-image"],
"env": {
"GEMINI_API_KEY": "your_gemini_api_key_here",
"IMAGE_OUTPUT_DIR": "/absolute/path/to/images"
}
}
}
}





