Tools
Codex adds an experimental MCP notification so stdio servers learn when the user logs out or switches accounts
openai/codex#43428 (merged 2026-09-07T10:40Z, 12 files, +345/-1) advertises a `codex/auth-change` capability on stdio MCP connections that have an auth manager, then sends `notifications/codex/authChanged` after initialization and on every subsequent auth change. The payload carries credential and owner generation counters and no credentials, and tracks owner changes separately from credential refreshes so a server can tell a token refresh from a login, logout, or workspace switch even when notifications coalesce. Sends are capped at five seconds and a failed follow-up notification closes the connection.
Source
↳ Follow the thread