Nano Banana Remote MCP Server
A remote MCP server that exposes Gemini image generation/editing as a custom connector for Claude, enabling image creation and editing from any chat interface.
README
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.
Environment variables
| Var | Required | Purpose |
|---|---|---|
GEMINI_API_KEY |
yes | Your Google Gemini API key (kept server-side) |
MCP_AUTH_TOKEN |
recommended | Shared secret. If set, requests must include it (see below) |
GEMINI_IMAGE_MODEL |
no | Defaults to gemini-2.5-flash-image |
PORT |
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 localhost
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.