Docs menu

Docs

Connect TENEKS to OpenAI Codex

Two commands in your terminal give the Codex CLI and IDE extension access to your calls.

Sign in with your browser

The quickest way. Codex registers itself with TENEKS and opens a browser window for you to sign in and approve.

codex mcp add teneks --url https://api.teneks.ai/mcp
codex mcp login teneks

Run codex mcp list to confirm TENEKS is there, then ask Codex a question about your calls.

Or use a personal access token

Useful on a remote machine or in CI, where there is no browser to open.

  1. 1
    Sign in to TENEKS and open Connect to Claude (also in the profile menu). The same tokens work for Codex.
  2. 2
    Create a token and copy it. It is shown once. If you lose it, delete it and create another.
  3. 3
    Put it in an environment variable called TENEKS_TOKEN, then add this to ~/.codex/config.toml:
[mcp_servers.teneks]
url = "https://api.teneks.ai/mcp"
bearer_token_env_var = "TENEKS_TOKEN"

The Codex IDE extension reads the same config file, so there is nothing extra to set up there.

Good to know

The connection is read-only and sees exactly what your TENEKS account sees. What it can reach lists the four tools and when access stops.

Some plans do not include AI assistant connections. If Connect to Claude is missing from your profile menu in TENEKS, ask your workspace owner or see the plans.

Rolling this out to a team? See Teneks for enterprise

Last checked 2026-09-18