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

# Codex CLI

> Connect the intervyo MCP server to OpenAI's Codex CLI with an API key — directly over streamable HTTP, or via the mcp-remote bridge on older versions.

OpenAI **Codex CLI** reads MCP servers from `~/.codex/config.toml`. Create an API
key under **Developer → API Keys** in intervyo first.

<Warning>
  Your API key carries your account's permissions. Treat it like a password and
  scope it to only what the assistant needs.
</Warning>

<Tabs>
  <Tab title="Direct (recent Codex)">
    Recent versions connect to streamable-HTTP servers directly:

    ```toml theme={null}
    [mcp_servers.intervyo]
    url = "https://www.intervyo.ai/api/mcp"
    http_headers = { "x-api-key" = "iv_live_your_key" }
    ```
  </Tab>

  <Tab title="mcp-remote bridge (older Codex)">
    On an older Codex that only speaks stdio, bridge with `mcp-remote`:

    ```toml theme={null}
    [mcp_servers.intervyo]
    command = "npx"
    args = ["-y", "mcp-remote", "https://www.intervyo.ai/api/mcp", "--header", "x-api-key: iv_live_your_key"]
    ```
  </Tab>
</Tabs>

Restart Codex, then run `/mcp` (or ask *"what tools do you have?"*) to confirm
`intervyo` loaded.

## Give the assistant expertise

<Card title="Add the Interview-Setup Skill" icon="sparkles" href="/en/mcp/skill" horizontal>
  The MCP server gives Codex the **tools**; the **Skill** teaches it *how* to use
  them — what to ask, the build order, and the field rules that trip people up.
  Codex reads a `SKILL.md` the same way Claude does. **Strongly recommended.**
</Card>
