> ## 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 Codex

> Add the Stardrift MCP server to the OpenAI Codex CLI or IDE extension, then sign in with your Stardrift account.

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

## Codex CLI

```bash theme={null}
codex mcp add stardrift --url https://stardrift.ai/mcp
codex mcp login stardrift
```

The login command opens your browser: sign in to Stardrift and approve the permissions. Codex registers itself as an OAuth client automatically; Stardrift supports both client ID metadata documents and dynamic client registration, so no client ID is needed.

The same configuration in `~/.codex/config.toml`:

```toml theme={null}
[mcp_servers.stardrift]
url = "https://stardrift.ai/mcp"
```

## Codex IDE extension

Open the extension's MCP servers settings, add `https://stardrift.ai/mcp` as an HTTP server named `stardrift`, and restart the extension. It prompts you to sign in on first use.

## Try it

Ask Codex to “list my Stardrift trips” or “create a private saved list called Kyoto temples and add Kinkaku-ji”. See [Tools](/tools) for the catalog.
