Skip to content
GitHub (opens in a new tab)

AI apps · Codex

Connect GateRook to Codex

Three steps: choose Codex in GateRook, confirm the change, then check the connection with a prompt.

All AI apps

GateRook adds one server to Codex's config, ~/.codex/config.toml, and backs up the file first. The entry holds no token: Codex runs GateRook's helper, which gives it a 15-minute token whenever it needs one.

Before you start, install GateRook and Codex. The screenshots come from a local test setup with one MySQL connection, mysql-demo, on the default endpoint. Your connections and endpoint address can differ. Select a screenshot to open it at full size.

1. Choose Codex and select Connect

Open GateRook and go to AI apps. GateRook lists the AI apps it finds on this computer. Next to Codex, select Connect.

AI apps in GateRook: Claude Desktop, Codex, Cursor, Antigravity and VS Code found on this computer, each with a Connect button.
GateRook finds your AI apps. Each one has its own Connect button.

2. Review the change and confirm

GateRook shows what Codex can use and, under What will change, the exact entry it adds to ~/.codex/config.toml. Check it, then select Connect Codex.

Connect review for Codex: mysql-demo and its tools on endpoint default, the eight-line gaterook-default entry for ~/.codex/config.toml and the Connect Codex button.
The entry runs GateRook's helper instead of storing a token.

Restart Codex. It reads config.toml only when it starts.

3. Check the connection with a prompt

Under Check that it works, GateRook suggests a prompt for your first connection, here Show me the tables in mysql-demo. After the restart, open a new chat in Codex and ask it.

Codex connected to endpoint default with access codex-laptop, and the Check that it works prompt: Show me the tables in mysql-demo.
Ask the suggested prompt in a new Codex chat.

Codex answers through GateRook's tools. As its entry sets, Codex asks you before write tools. Reads run at once, changes wait for you in Approvals, and every request appears in Activity.

Next, give Codex more to work with: add a database, logs, a cloud account or an MCP server.

Keep exploring

Claude Desktop

Installs GateRook as a Claude Desktop extension. Nothing is written to its config.

Cursor

Writes a token to ~/.cursor/mcp.json, or signs in through the browser.

Antigravity

Writes a token to its MCP config, or signs in through the browser.

VS Code

Installs through VS Code's own dialog and signs in through the browser.

See all AI apps

Your local MCP gateway and firewall.

Connect Codex. Control what it can reach.

Choose a connector. Start with read-only access. Approve changes and inspect the audit trail.

Read the getting started guide

Get GateRook

Download GateRook 2.0.0 for your Mac, or get the Windows app from Microsoft Store.

macOS

Version 2.0.0 for Apple Silicon (arm64). This download does not support Intel Macs.

Open the DMG and drag GateRook to Applications.

Windows

Available for free from Microsoft Store. Install GateRook and receive updates through the Store.

macOS release notes and checksums (opens in a new tab)