# Connect Gemini

## Quick start

Arbitrary remote MCP connectors with OAuth in Gemini web were not verified. Do not paste a token into chat. The closest documented path is Gemini CLI, whose MCP guide documents remote HTTP and OAuth.

Merge into Gemini CLI settings:

```json
{ "mcpServers": { "ezremote": { "httpUrl": "https://tunnel.masti.lol/mcp" } } }
```

Use `/mcp auth ezremote` in Gemini CLI. If you need a web chat app, use the [Claude](claude.md) or [ChatGPT](chatgpt.md) connector path instead.

## Starter prompt

Use this after adding the connector in a supported chat app. In Gemini CLI, ask the agent to follow `https://tunnel.masti.lol/skill.md` and run setup itself.

> Use ezremote to connect my computer. Give me the approval link and wait until it is online before working on it.

Continue with [local approval](approve-on-your-computer.md). For connection errors, follow [troubleshooting](troubleshooting.md).

## Verified source

[Official Gemini documentation](https://geminicli.com/docs/tools/mcp-server/), checked 2026-11-01. Documentation support is distinct from a live acceptance test. No real client account or computer was exercised for this guide.
