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

# Connect Codex to Solara AI

> Add Solara AI to Codex with one command and sign in from the terminal.

**1. Add Solara AI**

Run this in your terminal:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
codex mcp add solaraai --url https://api.solaraai.com/mcp
```

Codex opens Solara in your browser: sign in, check what it asks for, and choose **Allow**. The terminal says **Successfully logged in**.

**2. Not signed in?**

If the browser didn't open, or you closed it, run:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
codex mcp login solaraai
```

**3. Check it**

Start a new Codex session and ask: "List the video styles I can use in Solara."

> [!TIP]
>
> Codex lists Solara's video styles: you're connected.

> [!TIP]
>
> Or paste the prompt from **AI agents** in Solara into Codex: it adds Solara AI and signs in for you.

## Good to know

* **The name.** Solara's page lists it as **Codex**, from chatgpt.com, with the Codex logo.
* **Your recording.** Codex on your computer uploads a recording from it when you ask.

## Sign out or remove

* Sign out: `codex mcp logout solaraai`.
* Remove: `codex mcp remove solaraai`, then disconnect it in Solara (**AI agents**, **Disconnect**).

> [!NOTE]
>
> Checked against OpenAI's [Model Context Protocol](https://developers.openai.com/codex/mcp) docs and run with Codex CLI 0.157.1 on 18 November 2026.

## Next

> [card] [Make your first video](https://docs.solaraai.com/quickstart.md)
>
> The whole loop once: connect, make, export and post.

> [card] [Approve a post](https://docs.solaraai.com/guides/approving-posts.md)
>
> What the approval page shows, and what to check.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.