io.github.shinpr
mcp-image
AI image generation and editing with prompt optimization and quality presets. Powered by Nano Banana
stdiocommunityservice
Package Details
mcp-image
Transportstdio
Environment Variables
GEMINI_API_KEY(str)
RequiredSecret
Google Gemini API key for image generation (get from https://aistudio.google.com/apikey)
IMAGE_OUTPUT_DIR(str)
Absolute path to directory where generated images will be saved (defaults to ./output)
IMAGE_QUALITY(str)
Default quality preset: 'fast' (Nano Banana 2, default), 'balanced' (Nano Banana 2 + thinking), 'quality' (Nano Banana Pro)
SKIP_PROMPT_ENHANCEMENT(bool)
Set to 'true' to disable automatic prompt optimization and use direct prompts