> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stardrift.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Stardrift to Gemini CLI

> Add the Stardrift MCP server to Gemini CLI, then sign in with your Stardrift account.

Stardrift's MCP endpoint is `https://stardrift.ai/mcp`.

```bash theme={null}
gemini mcp add --transport http stardrift https://stardrift.ai/mcp
```

The same configuration in `~/.gemini/settings.json`:

```json theme={null}
{
  "mcpServers": {
    "stardrift": {
      "httpUrl": "https://stardrift.ai/mcp"
    }
  }
}
```

Gemini CLI detects that Stardrift needs OAuth and discovers the endpoints itself. If it does not prompt you, run `/mcp auth stardrift` in a session, then sign in to Stardrift in the browser and approve the permissions.

## Try it

Ask Gemini to “list my Stardrift trips” or “add a note to day one of my Paris trip: buy museum pass”. See [Tools](/tools) for the catalog.
