documentation/docs/mcp/nano-banana-mcp.md
import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import YouTubeShortEmbed from '@site/src/components/YouTubeShortEmbed'; import CLIExtensionInstructions from '@site/src/components/CLIExtensionInstructions'; import GooseDesktopInstaller from '@site/src/components/GooseDesktopInstaller';
<!--<YouTubeShortEmbed videoUrl="https://www.youtube.com/embed/VIDEO_ID" />-->This tutorial covers how to add the Nano Banana MCP Server as a goose extension that provides AI image generation and editing capabilities using Google's Gemini Image API.
:::tip Quick Install <Tabs groupId="interface"> <TabItem value="ui" label="goose Desktop" default> Launch the installer </TabItem> <TabItem value="cli" label="goose CLI"> Command
npx nano-banana-mcp
:::info
Note that you'll need Node.js installed on your system to run this command, as it uses npx.
:::
With Nano Banana, you can generate new images and edit existing images in natural language. Simply describe what you want created or modified and goose will turn that into a detailed prompt to provide to Nano Banana.
Create images from scratch by describing what you want:
After generating or editing an image, you can keep refining it:
use nano banana to create an image of a fantasy ice mage crafting ice sculptures in a frozen workshop
:::note Desktop
🎨 Image generated with nano-banana (Gemini 2.5 Flash Image)!
Prompt: "A fantasy ice mage crafting ice sculptures in a frozen workshop. The mage wears flowing robes with frost patterns, their hands glowing with blue magical energy as they shape intricate ice sculptures. The workshop is filled with beautiful frozen creations - ice animals, crystalline flowers, and elaborate figurines. Icicles hang from the ceiling, frost covers the stone walls, and magical blue light illuminates the space. Snow gently drifts through the air. Detailed fantasy art style with magical atmosphere."
✨ Done! Here's your fantasy ice mage image!
The image turned out beautifully — it features:
The image has been saved to:
generated_imgs/generated-2025-12-04T04-15-47-907Z-3grhec.png
Would you like me to make any modifications to this image? I can adjust elements like the mage's appearance, add more sculptures, change the lighting, or tweak any other details using the continue_editing feature!
:::