Nanobanana MCP Server
Nanobanana MCP Server is an MCP server that provides image generation and editing capabilities. It has 402 GitHub stars, is released under the MIT license and runs locally with uvx nanobanana-mcp-server. It works with Claude Desktop, Claude Code, Cursor and VS Code and needs an API key.
github.com/zhongweili/nanobanana-mcp-server (opens in a new tab)
Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error
- Needs API key
- AI & search
- MIT
- Active
Install Nanobanana MCP Server
Generated from the server's MCP registry entry. Replace your-value with your own values.
Claude Desktop
{
"mcpServers": {
"nanobanana-mcp-server": {
"command": "uvx",
"args": [
"nanobanana-mcp-server"
],
"env": {
"GEMINI_API_KEY": "your-value"
}
}
}
}Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.
Claude Code
claude mcp add --env GEMINI_API_KEY=your-value --transport stdio nanobanana-mcp-server -- uvx nanobanana-mcp-serverCursor
{
"mcpServers": {
"nanobanana-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"nanobanana-mcp-server"
],
"env": {
"GEMINI_API_KEY": "your-value"
}
}
}
}Project file; use ~/.cursor/mcp.json to enable it in every project.
VS Code
{
"inputs": [
{
"type": "promptString",
"id": "gemini_api_key",
"description": "GEMINI_API_KEY",
"password": true
}
],
"servers": {
"nanobanana-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"nanobanana-mcp-server"
],
"env": {
"GEMINI_API_KEY": "${input:gemini_api_key}"
}
}
}
}Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).
Environment variables
Variables the server reads at startup.
| Name | Required | Description |
|---|---|---|
GEMINI_API_KEYsecret | Yes | Your Gemini API key |
IMAGE_OUTPUT_DIR | No | The image output directory |
About Nanobanana MCP Server
A production-ready Model Context Protocol (MCP) server that provides AI-powered image generation capabilities through Google's Gemini models with intelligent model selection.
Similar MCP servers
More ai & search MCP servers
PageIndex MCP
VectifyAI/pageindex-mcp
Reasoning-based RAG system for chatting with long PDFs.
Maintained · last commit Jul 25, 2026
AI & searchTypeScriptKindly Web Search MCP Server
Shelpuk-AI-Technology-Consulting/kindly-web-search-mcp-server
Kindly Web Search MCP Server: Web search + robust content retrieval for AI coding tools (Claude Code, Codex, Cursor, GitHub Copilot, Gemini, etc.) and AI agents (Claude Desktop, OpenClaw, Hermes…
Maintained · last commit Oct 10, 2026
AI & searchPythonMCP Server Odoo
ivnvxd/mcp-server-odoo
Model Context Protocol (MCP) server that enables AI assistants to securely interact with Odoo ERP systems through standardized resources and tools for data retrieval and manipulation.
Active · last commit Oct 10, 2026
AI & searchPythonBlockrun MCP
BlockRunAI/blockrun-mcp
Web search, deep research, prediction markets & crypto data for AI agents.
Active · last commit Oct 20, 2026
AI & searchTypeScriptMCP Local RAG
shinpr/mcp-local-rag
Easy-to-setup local RAG server with minimal configuration.
Active · last commit Oct 22, 2026
AI & searchTypeScriptTrueMemory
buildingjoshbetter/TrueMemory
The memory your AI should have had from the start.
Active · last commit Aug 29, 2026
AI & searchPython
How do I install the Nanobanana MCP Server MCP server?
Add the command uvx nanobanana-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.
Is Nanobanana MCP Server free?
The server is open source under the MIT license, so running it is free. It needs credentials (GEMINI_API_KEY) for the service it connects to, which may require a paid account.
Is Nanobanana MCP Server actively maintained?
The most recent commit was on Oct 2, 2026. The latest release is v0.4.6, published Sep 27, 2026. appsgit only lists MCP servers with a commit in the last six months.