Skip to content

fix(platform): give Codex one command that signs in - #4962

Merged
yannickmonney merged 2 commits into
mainfrom
fix/codex-one-step
Oct 13, 2026
Merged

yannickmonney merged 2 commits into
mainfrom
fix/codex-one-step

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

What

The connect dialog (#4958) and the guides gave Codex two commands: add Tale, then sign in. Run for real with the Codex CLI 0.162.0 they do something else:

$ codex mcp add tale --url http://localhost:3141/api/v1/mcp
Added global MCP server 'tale'.
Detected OAuth support. Starting OAuth flow…
Authorize `tale` by opening this URL in your browser:
http://localhost:3141/api/auth/oauth2/authorize?…
Successfully logged in.

add itself starts the sign-in and finishes once the person has answered the consent page; a following codex mcp login tale only starts a second sign-in. Claude Code differs: its add only adds (it then reports ! Needs authentication), so claude mcp login tale stays its second step.

  • The dialog: the Codex tab is one step, "Add Tale to Codex and sign in…", with the one command.
  • The guides (English, German, French): the editor guide shows the one command, says to run codex mcp login tale to sign in again later, and that on a machine without a browser you stop the sign-in add starts (the server stays added, observed) and run codex mcp login tale --no-browser; the Connected agents guide says Claude Code ends with its sign-in and Codex signs in as part of adding.
  • The manual layer: SET-F89 and the reference row say so.

Proof

  • Real Codex 0.162.0 against a live stack, with the connect dialog open on its Codex tab: codex mcp add printed the authorize address (a verified domain, chatgpt.com); answering the consent page landed on Codex's own callback ("Authentication complete. You may close this window."), add ended with "Successfully logged in.", and the dialog changed from Waiting for your agent to sign in… to Connected: Codex. codex mcp login tale afterwards printed a fresh authorize address, a second sign-in.
  • Tests: the steps (one command for Codex, two for Claude Code, refusals unchanged), the tab (no login command shown), the catalogs in three languages, the dialog's real-browser suite (18).
  • Gate on the committed tree (pinned bun 1.4.2): format, conflicts, links, manual, knip, lint, both typechecks, shared tests, UI tests (768 files) and docs tests are green. The server run failed only travels.test.ts "answers ten thousand items of five reads each at once" (a timing assertion; load average 65 during the run), which passes alone (31 tests).

The connect dialog told a person to run two commands for Codex: add Tale,
then sign in. Run for real with the Codex CLI 0.162.0, `codex mcp add`
already detects that the server signs in by OAuth, starts the sign-in and
finishes with "Successfully logged in" once the person has chosen on the
consent page; a second `codex mcp login` only starts another sign-in.
Claude Code differs: its add only adds, so its second command stays.

The Codex tab is now one step whose sentence says it adds Tale and signs
in. With the real Codex, the dialog open on that tab changed to Connected:
Codex as soon as the consent page was answered.
The guides gave Codex two commands, adding the endpoint and then signing
in. Observed with the Codex CLI 0.162.0, adding the endpoint already starts
the sign-in and finishes once the person has chosen the organization and
the access, and a second sign-in command starts another one. The editor
guide now shows the one command, says to run `codex mcp login tale` to
sign in again later, and how to proceed on a machine without a browser;
the Connected agents guide says Claude Code ends with its sign-in and Codex
signs in as part of adding. English, German and French.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant