SecureAuth AI Gateway
IntegrationsAgents

Codex App

Connect Codex App to SecureAuth AI Gateway

OpenAI's desktop app for Codex with MCP support.

Setup

  1. Add the MCP server — Add the following to ~/.codex/config.toml:
[mcp_servers.secureauth]
url = "https://your-gateway-url/gateway/mcp"
  1. Authenticate
codex mcp login secureauth
  1. Open Codex App — Launch the Codex desktop app.

The agent is auto-registered on first connect.

Connecting to just one MCP? To stay under an agent's tool limit, point the URL at a single MCP — /gateway/mcp/{slug} instead of /gateway/mcp. Grab the exact URL from the resource's detail page; see Scope a connection to one MCP.

On this page