Skip to main content
Codex CLI, the Codex IDE extension and Codex in the ChatGPT desktop app read one configuration file, so you connect once and Gesso is available in all three. The same steps are guided in the app at app.gesso.build/connect, which also shows when the connection has landed.
1

Add the server

In your terminal:
Codex detects that the server uses OAuth and opens a browser tab on Gesso right away. There is no API key to copy.
2

Approve the connection

Approve on the Gesso page and return to the terminal. Codex prints “Successfully logged in to MCP server ‘gesso’”.If no browser tab opened, or you need to sign in again later:
Your agent now appears as Codex under Settings, Connected agents in Gesso, where you can revoke it at any time.
3

Try it

Open Codex (codex in a project, or the IDE extension) and paste one of these:
Keep the project open in a browser tab: new screens appear on the canvas while your agent works.

Good to know

  • Approvals. Codex runs Gesso’s read-only tools (search, export, critique, the poll) without asking. Tools that generate or edit a screen spend your credits, so Codex asks before each one. To change that for the whole server, set default_tools_approval_mode under [mcp_servers.gesso] in ~/.codex/config.toml.
  • The IDE extension. It reads the same ~/.codex/config.toml. If gesso does not show up after you add it, reload the window.
  • Project scope. To connect Gesso for one repository only, put the same entry in that repository’s .codex/config.toml (trusted projects only).

If something is refused

A 403 with mcp_paid_plan_required means the account is on Free. Upgrade under Settings, Plan and call again; there is no need to reconnect. More in Troubleshooting.