Nano Banana Remote MCP Server

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.

Category
Visit Server

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)

  1. Put this remote-server/ folder in a GitHub repo.
  2. Go to https://render.com → New → Web Service → connect the repo.
  3. Render auto-detects render.yaml. Settings if asked: Runtime Node, Build npm install, Start npm start.
  4. Under Environment, add secrets:
    • GEMINI_API_KEY = your key
    • MCP_AUTH_TOKEN = a long random string (your choice)
  5. Deploy. You get a URL like https://nano-banana-remote-mcp.onrender.com.
  6. 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)

  1. Go to claude.ai → Settings → Connectors (Pro/Max/Team/Enterprise plan required for custom connectors).
  2. Add custom connector.
  3. Name: Nano Banana. URL: https://YOUR-APP-URL/mcp/YOUR_TOKEN.
  4. Save and enable it. It now syncs to web, mobile, and desktop.
  5. 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

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.

Official
Featured
TypeScript
Magic Component Platform (MCP)

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.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

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.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

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.

Official
Featured
TypeScript
Kagi MCP Server

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.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

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.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured