An MCP server that provides image generation and editing capabilities
nanobanana MCP Server
Published by getjoystickLean MCP server for Google's Nano Banana (Gemini) image models. Returns file paths, not base64.
- CATEGORY
- More to explore
- DEPLOYMENT
- Local package
- LATEST SOURCE VERSION
- 0.1.2
- SOURCE CHECKED
- Dec 1, 2026
Quick answers
How do I add nanobanana MCP Server to Claude Code, Cursor or Codex?
Claude CodeCommand
Run this in your terminal:
claude mcp add --env 'GEMINI_API_KEY=<your-gemini-api-key>' --transport stdio nanobanana -- npx -y @nanobanana/mcpReplace the <your-…> placeholder with your own GEMINI_API_KEY.
CursorConfig
Add this to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project:
{
"mcpServers": {
"nanobanana": {
"command": "npx",
"args": [
"-y",
"@nanobanana/mcp"
],
"env": {
"GEMINI_API_KEY": "<your-gemini-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own GEMINI_API_KEY.
CodexCommand
Run this in your terminal:
codex mcp add nanobanana --env 'GEMINI_API_KEY=<your-gemini-api-key>' -- npx -y @nanobanana/mcpReplace the <your-…> placeholder with your own GEMINI_API_KEY.
VS CodeConfig
Add this to .mcp.json at the root of your workspace:
{
"mcpServers": {
"nanobanana": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@nanobanana/mcp"
],
"env": {
"GEMINI_API_KEY": "<your-gemini-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own GEMINI_API_KEY.
Claude DesktopConfig
Add this to claude_desktop_config.json, then restart Claude:
{
"mcpServers": {
"nanobanana": {
"command": "npx",
"args": [
"-y",
"@nanobanana/mcp"
],
"env": {
"GEMINI_API_KEY": "<your-gemini-api-key>"
}
}
}
}Replace the <your-…> placeholder with your own GEMINI_API_KEY.
ChatGPTNot available
ChatGPT can't add it from its published details: it connects from the cloud and needs a public address, and this server runs on your computer.
ChatGPT setup guideWhich apps can use nanobanana MCP Server?
Claude Code, Cursor, Codex, VS Code and Claude Desktop can add it from its published details. ChatGPT can't: it connects from the cloud and needs a public address, and this server runs on your computer.
Does nanobanana MCP Server need an API key?
To run it on your computer, set GEMINI_API_KEY first, with values from the publisher.
Is nanobanana MCP Server official?
It's published by getjoystick. The Official MCP Registry accepts names under io.github.getjoystick only from the GitHub account or organisation getjoystick. We last checked its listing on Dec 1, 2026. A listing shows where a server comes from; it isn't a security review.
Published packages
npm · @nanobanana/mcp@0.1.2