codex_auth_status
Check whether Codex is authenticated and which auth mode is in use before starting a review.
Instructions
Report whether Codex is authenticated and which auth mode is in use.
Call this before a review if you want to fail fast with a clear message. Credentials are owned by the Codex CLI and the operating system; this never returns a token, API key, cookie, or any other secret.
Two auth modes are supported: chatgpt (browser sign-in to a ChatGPT subscription) and api
(an OpenAI API key). The response reports the active mode, the configured mode, and whether they
agree — reviews fail while they disagree.
If it reports authenticated: false, the user must run codex-mcp login in a terminal. That
flow is interactive and cannot be triggered from here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||