nanobanana-mcp-server
local MCP servernanobanana-mcp-server is a local MCP server: An MCP server that provides image generation and editing capabilities. Install it from pypi as nanobanana-mcp-server.
Installation
Terminal
claude mcp add nanobanana-mcp-server -e GEMINI_API_KEY=... -e IMAGE_OUTPUT_DIR=... -- uvx nanobanana-mcp-server
Run in your project folder. Add --scope user to use it everywhere.
Claude Desktop, Cursor & other clients
Add to claude_desktop_config.json or .cursor/mcp.json.
{
"mcpServers": {
"nanobanana-mcp-server": {
"command": "uvx",
"args": [
"nanobanana-mcp-server"
],
"env": {
"GEMINI_API_KEY": "...",
"IMAGE_OUTPUT_DIR": "..."
}
}
}
}Fill in the environment variables with your own credentials.
What you need
- Runtime: Python with uv (runs with uvx).
- MCP client: Claude Code, Codex, Antigravity, Claude Desktop, Cursor or any other client that speaks MCP over stdio.
- Environment variables:
GEMINI_API_KEY,IMAGE_OUTPUT_DIR
Summary
An MCP server that provides image generation and editing capabilities
nanobanana-mcp-server vs similar servers
| Server | Stars | Type | API key | Runtime |
|---|---|---|---|---|
| nanobanana-mcp-server | 400 | Local | Yes | pypi |
| mcp-image | 167 | Local | Yes | npm |
| Unraid MCP | 131 | Local | Yes | pypi |
| Unraid MCP | 131 | Local | Yes | pypi |
| Serena MCP: the IDE for your agent | 30K | Local | No | pypi |
Questions
It reads 2 environment variables: GEMINI_API_KEY, IMAGE_OUTPUT_DIR. Set them in your MCP config before starting the server.
Python with uv (runs with uvx), plus an MCP client such as Claude Code, Codex, Claude Desktop or Cursor.
nanobanana-mcp-server is a local MCP server distributed as the pypi package nanobanana-mcp-server.
Run: claude mcp add nanobanana-mcp-server -e GEMINI_API_KEY=... -e IMAGE_OUTPUT_DIR=... -- uvx nanobanana-mcp-server
Run: codex mcp add nanobanana-mcp-server --env GEMINI_API_KEY=... --env IMAGE_OUTPUT_DIR=... -- uvx nanobanana-mcp-server
Similar MCP servers
NameStars
- mcp-imageio.github.shinpr/mcp-image167
- Unraid MCPai.dinglebear/unraid-mcp131
- Unraid MCPtv.tootie/unraid-mcp131
- Serena MCP: the IDE for your agentio.github.oraios/serena30K
- DBHubio.github.bytebase/dbhub3,574
- browserbasehq-mcp-browserbaseai.smithery/browserbasehq-mcp-browserbase3,413
- Ui.Vision MCPio.github.A9T9/uivision-mcp2,042
- Hex Lineio.github.levnikolaevich/hex-line-mcp565