Server data from the Official MCP Registry
AI image generation and editing with Google Gemini: Nano Banana 2.1, Pro and Lite models
About
AI image generation and editing with Google Gemini: Nano Banana 2.1, Pro and Lite models
Security Report
Valid MCP server (2 strong, 3 medium validity signals). 1 code issue detected. No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
5 files analyzed · 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
What You'll Need
Set these up before or after installing:
Environment variable: GEMINI_API_KEY
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-fjacquet-nano-banana-mcp": {
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
},
"args": [
"-y",
"@fjacquet/nano-banana-mcp"
],
"command": "npx"
}
}
}Documentation
View on GitHubFrom the project's GitHub README.
Nano-Banana MCP Server
An MCP server for AI image generation and editing using Google Gemini. Works with Claude Code, Cursor, and other MCP clients.
Models supported:
| Brand name | Model ID | Notes |
|---|---|---|
| Nano Banana 2.1 | gemini-nano-banana-2.1 | Default — pro quality at Flash speed |
| Nano Banana Pro | gemini-3-pro-image | Highest quality, advanced reasoning |
| Nano Banana 2 | gemini-3.1-flash-image | Previous default |
| Nano Banana 2 Lite | gemini-3.1-flash-lite-image | Fastest and cheapest — 1K output only |
| Nano Banana | gemini-2.5-flash-image | Legacy — shut down by Google on 2027-03-15 |
Quick Start
-
Get a Gemini API key from Google AI Studio
-
Add to your MCP client config (Claude Code example):
{
"mcpServers": {
"nano-banana": {
"command": "npx",
"args": ["-y", "github:fjacquet/Nano-Banana-MCP"],
"env": {
"GEMINI_API_KEY": "your-key-here"
}
}
}
}
See docs/configuration.md for Cursor and other MCP clients.
- Use the tools:
Generate an image of a sunset over mountains
Edit this image to add some birds in the sky
Continue editing to make it more dramatic
Tools
| Tool | Description |
|---|---|
generate_image | Create new images from text prompts |
edit_image | Modify existing images with optional reference images |
continue_editing | Iteratively edit the last image |
get_last_image_info | Get info about the last image |
configure_gemini_token | Set API key |
get_configuration_status | Check configuration |
All generation/editing tools accept an optional model parameter to choose between the two models.
See docs/tools.md for full API reference, docs/configuration.md for setup details, and docs/workflows.md for usage patterns.
Development
npm install
npm run dev # Run with tsx
npm run build # Compile TypeScript
npm test # Run tests
npm run lint # Lint
npm run typecheck # Type-check
Requires Node.js >= 18.0.0.
License
MIT — see LICENSE.
Fork of ConechoAI/Nano-Banana-MCP.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Fetch
Freeby Modelcontextprotocol · Developer Tools
Web content fetching and conversion for efficient LLM usage
Git
Freeby Modelcontextprotocol · Developer Tools
Read, search, and manipulate Git repositories programmatically
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
mcp-creator-python
Freeby mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
FinAgent
Freeby mcp-marketplace · Finance
Free stock data and market news for any MCP-compatible AI assistant.
