> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://platform.bctrl.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://platform.bctrl.ai/_mcp/server.

# Connect Codex to BCTRL MCP

> Add the BCTRL MCP server to OpenAI Codex for hosted cloud-browser automation.

Codex stores the server entry separately from its login state.

```bash
codex mcp add bctrl --url https://api.bctrl.ai/mcp
codex mcp login bctrl
```

`codex mcp login` runs the browser device-approval flow; Codex handles the OAuth handshake natively. Use `codex mcp logout bctrl` to forget the token.

Verify with `codex mcp list`. If the connection fails, see [Troubleshooting](/mcp/troubleshooting).