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

# Connect Codex

> Add the Consensus MCP server to OpenAI Codex.

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

Or add to `~/.codex/config.toml`:

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

## Next

<CardGroup cols={2}>
  <Card title="Verify your connection" icon="circle-check" href="/consensus-mcp#verify-your-connection">
    Run a test search and fix common setup issues.
  </Card>

  <Card title="Plans and access" icon="credit-card" href="/mcp-plans-and-access">
    Papers per search, monthly calls, and rate limits for each plan.
  </Card>
</CardGroup>
