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

# Codex

> Add Lusor to the Codex CLI as a remote MCP server.

**1. Add the server**

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

This writes a `[mcp_servers.lusor]` entry to `~/.codex/config.toml`. Codex detects that Lusor uses sign-in and starts it right away.

**2. Sign in**

Sign in to Lusor in the browser window and choose your organization. If you skipped it, run:

```bash theme={null}
codex mcp login lusor
```

**3. Try it**

Start `codex` and ask: *"List my Lusor phones."*

## Use an API key instead

```bash theme={null}
export LUSOR_API_KEY="lusor_..."
codex mcp add lusor --url https://mcp.lusor.ai/mcp --bearer-token-env-var LUSOR_API_KEY
```

See [Connect an AI app](https://docs.lusor.ai/connect.md) for what Lusor allows over MCP.


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