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

# Codex

> Add the Hebeat MCP server to the Codex CLI and IDE extension.

The Codex CLI and the Codex IDE extension share the same configuration file, `~/.codex/config.toml`.

**1. Add the server**

Add this to `~/.codex/config.toml`:

```toml ~/.codex/config.toml theme={null}
[mcp_servers.hebeat]
url = "https://mcp.hebeat.com"
```

**2. Sign in**

Run this command in your terminal:

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

Your browser opens: sign in to Hebeat, pick your workspace and click **Allow access**.

See the [tools reference](https://hebeat.com/docs/ai/tools.md) for everything Codex can do with your workspace.


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