@zyx1121/google-nanobanana-mcp
v0.2.0
Published
MCP server for Google Nano Banana 2 — generate and edit images via Claude Code
Maintainers
Readme
@zyx1121/google-nanobanana-mcp
MCP server for Google Nano Banana 2 — generate and edit images via Claude Code.
Install
claude mcp add google-nanobanana-mcp -e GEMINI_API_KEY=your-api-key -- npx -y @zyx1121/google-nanobanana-mcpPrerequisites
- Node.js >= 18
- Google Gemini API key (Get one here)
Tools
| Tool | Description |
|------|-------------|
| generate_image | Generate an image from a text description |
| edit_image | Edit an existing image with text instructions |
Examples
"Generate a cat sleeping on a windowsill" → generate_image { prompt: "A cat sleeping on a windowsill in warm sunlight" }
"Make it nighttime" → edit_image { prompt: "Change the scene to nighttime with moonlight", image_path: "/path/to/cat.png" }
"Wide landscape of mountains" → generate_image { prompt: "Mountain landscape at sunset", aspect_ratio: "16:9" }
"Save to desktop" → generate_image { prompt: "...", output_path: "~/Desktop/image.png" }License
MIT
