Nano Banana Remote MCP Server
Allows generating and editing images using Google's Gemini models.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Nano Banana Remote MCP Servergenerate an image of a banana on a surfboard"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Nano Banana — Remote MCP Server
A small remote MCP server that exposes Gemini image generation/editing as a custom connector you can add to Claude on web, mobile, and desktop — so it works in every chat, not just on one PC.
Tools:
generate_image(prompt)— returns a new image inline in the chat.edit_image(imageUrl, prompt)— edits an image from a public URL, returns it inline.
How it differs from the local setup
The local nano-banana server runs node on your PC and only works in Claude
Desktop / Claude Code on that machine. This remote version runs on an always-on
host at a public URL, which is what claude.ai (web + mobile) requires.
Related MCP server: gemini-nano-banana-mcp
Environment variables
Var | Required | Purpose |
| yes | Your Google Gemini API key (kept server-side) |
| recommended | Shared secret. If set, requests must include it (see below) |
| no | Defaults to |
| no | Host sets this automatically |
How auth works
If MCP_AUTH_TOKEN is set, the token must be supplied one of three ways. For
the claude.ai connector dialog (URL only), put it in the path:
https://YOUR-APP-URL/mcp/YOUR_TOKEN(Also accepted: ?t=YOUR_TOKEN, or header Authorization: Bearer YOUR_TOKEN.)
Deploy — Render (free, recommended for simplicity)
Put this
remote-server/folder in a GitHub repo.Go to https://render.com → New → Web Service → connect the repo.
Render auto-detects
render.yaml. Settings if asked: Runtime Node, Buildnpm install, Startnpm start.Under Environment, add secrets:
GEMINI_API_KEY= your keyMCP_AUTH_TOKEN= a long random string (your choice)
Deploy. You get a URL like
https://nano-banana-remote-mcp.onrender.com.Your connector URL is:
https://nano-banana-remote-mcp.onrender.com/mcp/YOUR_TOKEN
Render's free tier sleeps after ~15 min idle, so the first call after a nap takes ~30–50s (it may need a retry). The $7/mo Starter tier stays always-on. Fly.io and Railway are alternatives if you prefer.
Verify it's live
Open https://YOUR-APP-URL/health in a browser — you should see
{"ok":true,"model":"gemini-2.5-flash-image"}.
Add it to Claude (works everywhere after this)
Go to claude.ai → Settings → Connectors (Pro/Max/Team/Enterprise plan required for custom connectors).
Add custom connector.
Name:
Nano Banana. URL:https://YOUR-APP-URL/mcp/YOUR_TOKEN.Save and enable it. It now syncs to web, mobile, and desktop.
In any chat: "generate an image of a banana on a surfboard".
Local test
cp .env.example .env # fill in GEMINI_API_KEY, MCP_AUTH_TOKEN
npm install
npm start
node test-client.mjs # exercises the MCP protocol against localhostThis server cannot be deployed
Maintenance
Related MCP Connectors
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
MCP server for Qwen Image 3 AI image generation
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA remote MCP server that gives Claude the ability to generate and edit images with Google's nano banana (Gemini 2.5 Flash Image) model.-
- AlicenseNot gradedqualityDmaintenanceMCP server that enables Claude Code to generate images using Google's Gemini image generation models.MIT
- FlicenseNot gradedqualityCmaintenanceRemote MCP server that exposes a generate_image tool allowing Claude to generate images via the Google Gemini API.-
- FlicenseNot gradedqualityCmaintenanceRemote MCP server (Streamable HTTP) for generating and editing images via Google Gemini, usable as a custom connector in Claude.-