NotFair
MCPShips with notfair: Open-source SEO, GEO, and marketing skills for AI agents. The NotFair Plugin gives Claude Code, Codex,โฆ
Turns natural language prompts into new or edited images with Google's Gemini image model.
Claude Code
> /plugin marketplace add ZachArticulateV/designer-pro-and-seo> /plugin install designer-pro-and-seo@designer-pro-and-seo
Codex
$ codex mcp add nanobanana --env GEMINI_API_KEY=YOUR_VALUE -- npx -y nano-banana-mcp@1.0.3
Cursor
{ "mcpServers": { "nanobanana": { "command": "npx", "args": [ "-y", "nano-banana-mcp@1.0.3" ], "env": { "GEMINI_API_KEY": "YOUR_VALUE" } } } }
Add it to mcp.json.
Gemini CLI
{ "mcpServers": { "nanobanana": { "command": "npx", "args": [ "-y", "nano-banana-mcp@1.0.3" ], "env": { "GEMINI_API_KEY": "YOUR_VALUE" } } } }
Add it to settings.json.
GitHub Copilot
$ copilot mcp add nanobanana --env GEMINI_API_KEY=YOUR_VALUE -- npx -y nano-banana-mcp@1.0.3
OpenCode
{ "mcp": { "nanobanana": { "type": "local", "command": [ "npx", "-y", "nano-banana-mcp@1.0.3" ], "environment": { "GEMINI_API_KEY": "YOUR_VALUE" } } } }
Add it to opencode.json.
Windsurf
{ "mcpServers": { "nanobanana": { "command": "npx", "args": [ "-y", "nano-banana-mcp@1.0.3" ], "env": { "GEMINI_API_KEY": "YOUR_VALUE" } } } }
Add it to mcp_config.json.
From the README
๐จ Generate Images
Create new images from text descriptions
โ๏ธ Edit Images
Modify existing images with text prompts
๐ Iterative Editing
Continue editing the last generated/edited image
๐ผ๏ธ Multiple Reference Images
Use reference images for style transfer and guidance
๐ Cross-Platform
Smart file paths for Windows, macOS, and Linux
๐ง Easy Setup
Simple configuration with API key
๐ Auto File Management
Automatic image saving with organized naming
Security report
Low risk
Known flaws
None known
Signed build
No
No build provenance published
Maintained
Oct 19, 2026
Last push
Licence
MIT
Runs as
npx
On your machine
Deprecated
No
Signals from public registries, not an audit. Checked Nov 12, 2026.
๐ค This project was entirely generated by Claude Code - an AI coding assistant that can create complete, production-ready applications from scratch.
A Model Context Protocol (MCP) server that provides AI image generation and editing capabilities using Google's Gemini 2.5 Flash Image API. Generate stunning images, edit existing ones, and iterate on your creations with simple text prompts.
Get your Gemini API key:
Configure the MCP server: See configuration examples for your specific client below (Claude Code, Cursor, or other MCP clients).
Add this to your Claude Code MCP settings:
Option A: With environment variable (Recommended - Most Secure)
{
"mcpServers": {
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
}
Option B: Without environment variable
{
"mcpServers": {
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"]
}
}
}
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
Add to your Cursor MCP configuration:
Option A: With environment variable (Recommended)
{
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
Option B: Without environment variable
{
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"]
}
}
If you're using a different MCP client, you can configure nano-banana-mcp using any of these methods:
Method A: Environment Variable in MCP Config (Recommended)
{
"nano-banana": {
"command": "npx",
"args": ["nano-banana-mcp"],
"env": {
"GEMINI_API_KEY": "your-gemini-api-key-here"
}
}
}
Method B: System Environment Variable
export GEMINI_API_KEY="your-gemini-api-key-here"
npx nano-banana-mcp
Method C: Using the Configure Tool
npx nano-banana-mcp
# The server will prompt you to configure when first used
# This creates a local .nano-banana-config.json file
generate_imageCreate a new image from a text prompt.
generate_image({
prompt: "A futuristic city at night with neon lights"
})
edit_imageEdit a specific image file.
edit_image({
imagePath: "/path/to/image.png",
prompt: "Add a rainbow in the sky",
referenceImages?: ["/path/to/reference.jpg"] // optional
})
continue_editingContinue editing the last generated/edited image.
continue_editing({
prompt: "Make it more colorful",
referenceImages?: ["/path/to/style.jpg"] // optional
})
get_last_image_infoGet information about the last generated image.
get_last_image_info()
configure_gemini_tokenConfigure your Gemini API key.
configure_gemini_token({
apiKey: "your-gemini-api-key"
})
get_configuration_statusCheck if the API key is configured.
get_configuration_status()
The MCP server loads your API key in the following priority order:
๐ฅ MCP Configuration Environment Variables (Highest Priority)
claude_desktop_config.json or MCP client config"env": { "GEMINI_API_KEY": "your-key" }๐ฅ System Environment Variables
export GEMINI_API_KEY="your-key"๐ฅ Local Configuration File (Lowest Priority)
configure_gemini_token tool.nano-banana-config.json in current directory๐ก Recommendation: Use Method 1 (MCP config env variables) for the best security and convenience.
Images are automatically saved to platform-appropriate locations:
%USERPROFILE%\\Documents\\nano-banana-images\\./generated_imgs/ (in current directory)~/nano-banana-images/ (when run from system paths)File naming convention:
generated-[timestamp]-[id].pngedited-[timestamp]-[id].pnggenerate_image - Create your base imagecontinue_editing - Refine and improvecontinue_editing - Add final touchesgenerate_image - Create base contentedit_image - Use reference images for stylecontinue_editing - Fine-tune the resultgenerate_image - Start with a conceptget_last_image_info - Check current statecontinue_editing - Make adjustmentsThis project was created with Claude Code and follows these technologies:
# Clone the repository
git clone https://github.com/claude-code/nano-banana-mcp.git
cd nano-banana-mcp
# Install dependencies
npm install
# Run in development mode
npm run dev
# Build for production
npm run build
# Run tests
npm test
This project was generated by Claude Code, but contributions are welcome! Please feel free to:
MIT License - see LICENSE file for details.
โจ Generated with love by Claude Code - The future of AI-powered development is here!
A Claude Code plugin for the web-design + SEO workflow: research a niche, generate a coherent design system, write a complete build brief, build, run a pre-delivery QA gate, port the result into any CMS, and review on-page SEO.
Ships with notfair: Open-source SEO, GEO, and marketing skills for AI agents. The NotFair Plugin gives Claude Code, Codex,โฆ
Ships with notfair: Open-source SEO, GEO, and marketing skills for AI agents. The NotFair Plugin gives Claude Code, Codex,โฆ
Retrieves keyword rankings, click and impression data, and indexing status from Google Search Console.