MCP / Model / Gemini MCP server

Gemini in Claude Code and Cursor, text and images

chat and compare reach every Gemini chat id, image_urls lets Gemini look at a screenshot or a generated picture, and generate runs the Nano Banana image models. One hosted URL, one prepaid key, no Google Cloud project.

Connect

Add the server to your client

The server is https://api.relayswitch.io/mcp, Streamable HTTP, with your key sent as a Bearer header. Keys start sk-relay-.

Claude Code

bash
1claude mcp add --transport http relayswitch https://api.relayswitch.io/mcp \
2 --header "Authorization: Bearer $RELAYSWITCH_KEY"

Then /mcp in Claude Code lists the server and its tools.

Cursor

json
1// .cursor/mcp.json (this project) or ~/.cursor/mcp.json (every project)
2{
3 "mcpServers": {
4 "relayswitch": {
5 "url": "https://api.relayswitch.io/mcp",
6 "headers": { "Authorization": "Bearer ${env:RELAYSWITCH_KEY}" }
7 }
8 }
9}

Check it from a terminal

bash
1curl https://api.relayswitch.io/mcp \
2 -H "Authorization: Bearer $RELAYSWITCH_KEY" \
3 -H "Content-Type: application/json" \
4 -H "Accept: application/json, text/event-stream" \
5 -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/list"}'
Tools

What the client can call

The tools this page is about. The server lists 15 in all; the rest are on the MCP server page.

ToolWhat it doesKey
chatA conversation to any chat model, with a system prompt, images for the models that see them, and web search.Bearer
compareThe same question to 2 to 5 models at once: every answer side by side with its cost and time.Bearer
generateRuns any image, video, speech, music or 3D model and returns the files, a finished image inline.Bearer
list_modelsEvery chat, embedding, rerank and transcription model with its type, the tool that runs it and its price.none
Prices

What each call costs, read live

From the catalog at render. The developer’s list price is shown where the catalog has it.

ModelInput / MOutput / MList input / MList output / M
Gemini 3.1 Pro Previewgemini-3.1-pro-preview$1.20$7.20$2.00$12.00
Gemini 3 Flash Previewgemini-3-flash-preview$0.375$2.25$0.50$3.00
Gemini 3.1 Flash Litegemini-3.1-flash-lite$0.15$0.90$0.25$1.50
Gemini 2.5 Progemini-2.5-pro$0.9375$7.50$1.25$10.00

USD per million tokens. compare bills each model it asks at its own rate.

ModelSettingPriceDeveloper’s list
Nano Banana 2nano-banana-2resolution 1K$0.0402 per image$0.067
resolution 2K$0.056 per image$0.101
resolution 4K$0.072 per image$0.151
Nano Banana Pronano-banana-proresolution 1K$0.08 per image$0.134
resolution 2K$0.08 per image$0.134
resolution 4K$0.12 per image$0.24

Charged when the model accepts the task; a failed generation is refunded in full.

Try it

What to ask once it is connected

Plain requests; the client picks the tool.

  • Send this screenshot to gemini-3.1-pro-preview with chat and ask what is wrong with the layout.
  • Ask gemini-3-flash-preview for a second opinion on this plan before I start.
FAQs

Gemini MCP server: questions

Setup, models and billing.

Open the console

A key in under a minute

Get a key

Or email hello@relayswitch.io

Every model as a tool in your AI

From $10 by card or in USDT, USDC, BTC, ETH, SOL. Prepaid, no subscription, no KYC.

Join on Telegram