> Documentation index: https://mydrops.io/llms.txt
> Every docs page is also available as Markdown by adding .md to its URL.

# Gemini (https://mydrops.io/docs/agents/gemini)

Connect MyDrops to the Gemini app, Gemini CLI or Antigravity CLI, and ask Gemini about your saved links and files, or tell it to save new ones.

Gemini connects to MyDrops in three places: the Gemini app, Gemini CLI, and Antigravity CLI, which replaced Gemini CLI on the free tier.

## Gemini app

Custom apps in the Gemini app work for personal Google accounts in the US, in English, with Gemini Apps Activity on.

1. Open Gemini on the web and go to **Settings › Connected Apps**.
2. Under **Custom apps**, click **Add a custom app**.
3. Paste `https://mydrops.io/mcp` and click **Next**.
4. MyDrops opens. Choose **read** or **read and add**, and allow it.

Type `@mydrops` in a prompt to use it. It works on your phone too once it's added.

## Gemini CLI

```bash title="Terminal"
gemini mcp add -s user --transport http mydrops https://mydrops.io/mcp
```

Start Gemini CLI and run `/mcp auth mydrops`. Your browser opens MyDrops to sign in. `/mcp` shows `mydrops` as CONNECTED.

## Antigravity CLI

```bash title="Terminal"
agy mcp add --type http mydrops https://mydrops.io/mcp
```

Inside Antigravity, run `/mcp`, pick `mydrops`, and choose **Authenticate**. `agy mcp list` shows it.

## Try it

```text title="Prompt"
@mydrops What did I save about travel in Japan? Make me a short list with links.
```

```text title="Prompt"
@mydrops Save this itinerary to MyDrops in a project called Japan trip.
```

## Use an API key instead

For Gemini CLI, [make a key](/docs/api/keys.md) and add it as a header:

```bash title="Terminal"
gemini mcp add -s user --transport http --header "Authorization: Bearer mdk_your_key" mydrops https://mydrops.io/mcp
```

That writes this to `~/.gemini/settings.json`:

```json title="~/.gemini/settings.json"
{
  "mcpServers": {
    "mydrops": {
      "httpUrl": "https://mydrops.io/mcp",
      "headers": { "Authorization": "Bearer mdk_your_key" }
    }
  }
}
```

Use `httpUrl`, not `url`: in Gemini CLI, `url` means an older kind of server.

## Disconnect

- **Gemini app:** Settings › Connected Apps › mydrops › **More details**, then **Disconnect** or **Remove app**.
- **Gemini CLI:** `gemini mcp remove -s user mydrops`.
- **Antigravity CLI:** `agy mcp remove mydrops`.

Or disconnect it in **Settings › Agents** in MyDrops.

## Troubleshooting

**I don't see Custom apps in the Gemini app**

Custom apps are for personal Google accounts in the US, in English, with Gemini Apps Activity on. Work and school accounts don't have them. Use Gemini CLI or Antigravity CLI instead.

**The CLI sign-in fails on a server**

The sign-in sends the browser back to your own computer, so it can't finish on a machine without one. Use an API key there.
