What API key is required and where do I get it?
You need a Google AI Studio API key. Get one free at [Google AI Studio](https://aistudio.google.com/apikey) by signing in with your Google account.
@Junhan2
Basic information
MCP server for Google Gemini 2.5 Flash Image preview (text-to-image, editing, composition)
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"gemini-nanobanana-mcp": {
"command": "npx",
"args": [
"gemini-nanobanana-mcp@latest"
],
"env": {
"GEMINI_API_KEY": "your-api-key",
"AUTO_SAVE": "true",
"DEFAULT_SAVE_DIR": "~/Pictures/AI-Images",
"LOG_LEVEL": "debug"
}
}
}
}Generate an image from a text prompt using Gemini 2.5 Flash Image
Edit an image using a prompt. Provide one input image via base64 or file path.
Compose a new image using multiple input images and a guiding prompt.
Transfer style from a style image to a base image, guided by an optional prompt.
Gemini Nanobanana Mcp is a beginner-friendly Model Context Protocol (MCP) server that brings Google’s Gemini 2.5 Flash image generation directly into Claude conversations. It enables text-to-image generation, image editing, multi-image composition, and style transfer—all through natural language prompts.
Configure the server in Claude Desktop, Claude Code, or Cursor by adding a JSON entry with the npx command and your GEMINI_API_KEY environment variable. After restarting your client, simply ask Claude to generate, edit, or compose images. Images are auto-saved to ~/Downloads/gemini-images/ by default, and you can specify a custom path in your prompt.
AUTO_SAVE=falseYou need a Google AI Studio API key. Get one free at [Google AI Studio](https://aistudio.google.com/apikey) by signing in with your Google account.
Open Terminal and run the one‑line command provided in the README that writes the configuration JSON to `~/Library/Application Support/Claude/claude_desktop_config.json`, replacing `YOUR_API_KEY` with your actual key.
The API key is missing or incorrectly set. Double‑check your config file or environment variable, ensure there are no extra spaces, and restart your Claude client.
Yes. Set `DEFAULT_SAVE_DIR` to a custom path, or set `AUTO_SAVE` to `false` to only save images when you explicitly request a path.
Supported formats: PNG, JPEG, WebP, and GIF. For instant preview in Claude Code, install the provided hooks from the repository—generated images will open automatically in Quick Look.
Official MCP server for BlazingCDN - AI agents (Claude, Cursor, Windsurf) manage CDN resources, purge cache, query metrics, domains, Anycast CDN, Video CDN and Media CDN
MCP-native LLM councils for debates, juries, blind panels, voting, refinement, and custom multi-model deliberation.

A record of what an agent did that the agent cannot quietly rewrite, and a way for anyone to check.
HeyLead: AI agent for LinkedIn outreach. Finds the right people, writes in your voice, follows up and handles replies, from Claude Code, Cursor, any MCP client or a web dashboard.
28-tool MCP server for web scraping, crawling, deep research & autonomous extraction — clean Markdown & structured JSON for Claude, Cursor & any MCP client. 1,000 free one-time credits, local-Ollama LLM support.
Comments