Nano Banana Remote MCP Server
Allows generating and editing images using Google's Gemini models.
Click on "Install 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-sidekick
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Ayonz-Dev/nano-banana-remote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server