mcp-nano-banana
v1.2.2MCP server for Google Nano Banana (Gemini) image generation
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
generate_image
Generate an image using Google Nano Banana (Gemini) AI model. Can generate from text only, or use one or more reference images (up to 14) to guide generation.
| Parameter | Type | Description |
|---|---|---|
prompt * | string | Text description of the image to generate or instructions for editing/combining reference images |
aspectRatio | string | Aspect ratio of the generated image. Additional ratios (1:4, 4:1, 1:8, 8:1) available on gemini-3.1-flash-image-preview. |
imagePaths | array | Optional array of file paths to reference images (up to 14). Supports png, jpg, jpeg, webp, gif. |
model | string | Model to use: gemini-2.5-flash-image (fast) or gemini-3-pro-image-preview (high quality, default) |
outputFormat | string | Output image format |
outputPath | string | File path to save the generated image. If not provided, image data is returned inline. |
resolution | string | Resolution of the generated image. 512 only on gemini-3.1-flash-image-preview. Nano Banana Pro supports 1K, 2K, 4K. |
generate_favicons
Generate a full favicon package from a prompt or an existing image. Creates PNG sizes, a web manifest, and optional README, then writes files and/or a ZIP bundle.
| Parameter | Type | Description |
|---|---|---|
appName | string | Manifest app name. Default: My App. |
backgroundColor | string | Manifest background color. Default: #ffffff. |
imagePath | string | Path to an existing master icon image. If provided, prompt is optional. |
includeReadme | boolean | Include README.md in the package. |
model | string | Model to use when generating the master icon from a prompt. |
outputDir | string | Directory to write individual favicon files. |
outputPath | string | File path to save the favicon ZIP package. |
prompt | string | Text description for generating a master icon (square). Required if imagePath is not provided. |
returnZipBase64 | boolean | When true and outputPath is not provided, return the ZIP as base64 text. |
shortName | string | Manifest short name. Default: App. |
themeColor | string | Manifest theme color. Default: #ffffff. |