Home / MCP servers / Gemini
MCP for Gemini

MCP for Gemini

Give Gemini the power to act through MCP. UniversalBench is a hosted MCP server, so instead of installing and running a server per tool, you connect one URL in Gemini and it can run code, search the live web, read and write databases, commit to GitHub, work with files, and more, with safety built in.

Add the MCP server to Gemini

Open your settings.json

Open ~/.gemini/settings.json, the Gemini CLI configuration file.

Add the UniversalBench server

Add the entry below under mcpServers, using httpUrl for the hosted server.

Save and restart

Save the file and restart Gemini CLI so it loads the server.

Ask in the CLI

Ask Gemini to use it. It can run code, query databases, search the web, commit to GitHub, and more.

# add UniversalBench as an MCP server { "mcpServers": { "universalbench": { "httpUrl": "https://universalbench-mcp.penantiaglobal.workers.dev/u/YOUR_KEY" } } }

Your secrets live in an encrypted secret vault

When a capability needs a credential, a GitHub token, a database URL, an API key, you save it once in your secret vault. You enter the secret name on the left and the secret value on the right, then save. Gemini never sees the value, it is never shown in the chat, and the matching capability unlocks automatically.

UniversalBench secret vault: the secret name on the left, the secret value on the right, then save
Any secret goes in your secret vault once: the secret name on the left, the secret value on the right, then Save.

What Gemini can do once connected

One hosted server beats wiring up many

Most MCP servers do one job and you run each one yourself. With UniversalBench you point Gemini at a single hosted URL and every capability is there, so there is nothing to install, nothing to keep running, and your credentials sit in an encrypted secret vault instead of scattered across config files.

Many self hosted serversUniversalBench
Setup in GeminiOne entry per toolOne URL
MaintenanceYou keep each runningHosted for you
CoverageOne tool per server20+ capabilities
CredentialsIn config filesEncrypted vault, never shown

Frequently asked questions

How do I add an MCP server to Gemini?

Open ~/.gemini/settings.json, the Gemini CLI configuration file. Add the entry below under mcpServers, using httpUrl for the hosted server. Save the file and restart Gemini CLI so it loads the server.

Does it cost anything?

You can start free. UniversalBench gives the first 1,000 calls per month free with no credit card, then it is pay as you go.

Does it work with other AIs too?

Yes. The same hosted MCP server works with Claude, ChatGPT, Gemini, Cursor, and any MCP-compatible AI. Connect the one URL wherever you work.

More

Connect Gemini to MCP free

One URL, first 1,000 calls free, no credit card.

Get your API key →