Dev.to
7/14/2026

Practical Guide: Integrating Claude Code with NanoBanana MCP for Image Generation and Editing
Short summary
A practical guide for connecting Claude Code to NanoBanana MCP, enabling image generation and editing directly from the terminal. The MCP server exposes two tools—text-to-image generation and multi-image editing—powered by Google's Gemini for image understanding. Includes step-by-step setup with claude mcp add, scope configuration, and real-world developer workflows like creating UI assets and cleaning up screenshots.
- •Claude Code integrates with NanoBanana MCP for in-terminal image generation and editing
- •Two tools: nanobanana_generate_image and nanobanana_edit_image, powered by Gemini
- •Setup via claude mcp add with HTTP transport and Bearer token auth
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



