codex - 💡(How to fix) Fix Codex Desktop MCP settings list does not show OAuth login/status per server [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#23453Fetched 2026-05-20 03:49:51
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Timeline (top)
labeled ×4commented ×1

Codex Desktop's Settings -> MCP servers screen lists configured MCP servers with a gear icon and enabled toggle, but it does not show which servers require OAuth login, which are already authenticated, or any per-server "Authenticate"/"Login" action.

This is confusing when one or more MCP servers need authentication. The CLI can expose auth metadata with codex mcp list --json, but the Desktop UI flattens all servers into the same enabled/disabled row state.

Root Cause

When Codex reports that an MCP needs authentication, users need to know which server is affected. Right now, all rows look healthy/enabled, so the user has to inspect CLI JSON or manually test each MCP server.

This is especially confusing because the official docs say OAuth MCP servers can be authenticated with codex mcp login <server-name>, and the app settings docs say the app starts the auth flow when a server requires OAuth.

Code Example

auth_elicitation                        under development  false
enable_mcp_apps                         under development  false
tool_call_mcp_elicitation               stable             true

---

codex mcp list --json

---

[
  {
    "name": "oauth-server-a",
    "enabled": true,
    "transport_type": "streamable_http",
    "auth_status": "o_auth"
  },
  {
    "name": "oauth-server-b",
    "enabled": true,
    "transport_type": "streamable_http",
    "auth_status": "o_auth"
  },
  {
    "name": "stdio-server",
    "enabled": true,
    "transport_type": "stdio",
    "auth_status": "unsupported"
  }
]

---

codex mcp login <server-name>
RAW_BUFFERClick to expand / collapse

Bug: Codex Desktop MCP settings list does not show OAuth login/status per server

Summary

Codex Desktop's Settings -> MCP servers screen lists configured MCP servers with a gear icon and enabled toggle, but it does not show which servers require OAuth login, which are already authenticated, or any per-server "Authenticate"/"Login" action.

This is confusing when one or more MCP servers need authentication. The CLI can expose auth metadata with codex mcp list --json, but the Desktop UI flattens all servers into the same enabled/disabled row state.

Environment

  • Codex CLI: codex-cli 0.130.0
  • Codex Desktop app version: 26.513.31313
  • Codex Desktop bundle version: 2867
  • Platform: macOS, Apple Silicon
  • Install path: /Applications/Codex.app

Relevant feature flags:

auth_elicitation                        under development  false
enable_mcp_apps                         under development  false
tool_call_mcp_elicitation               stable             true

Launching the app with codex app --enable auth_elicitation did not change the MCP settings list behavior.

Steps to reproduce

  1. Configure multiple MCP servers, including Streamable HTTP servers that support OAuth.
  2. Open Codex Desktop.
  3. Go to Settings -> MCP servers.
  4. Observe the server list.
  5. Compare the UI against:
codex mcp list --json

Actual behavior

The Desktop settings screen shows each MCP server row with only:

  • server name
  • gear icon
  • enabled/disabled toggle

It does not show:

  • OAuth status
  • whether the server needs login
  • whether the server is authenticated
  • an Authenticate / Login button
  • the CLI command to repair auth, such as codex mcp login <server-name>

Example redacted CLI state from the same machine:

[
  {
    "name": "oauth-server-a",
    "enabled": true,
    "transport_type": "streamable_http",
    "auth_status": "o_auth"
  },
  {
    "name": "oauth-server-b",
    "enabled": true,
    "transport_type": "streamable_http",
    "auth_status": "o_auth"
  },
  {
    "name": "stdio-server",
    "enabled": true,
    "transport_type": "stdio",
    "auth_status": "unsupported"
  }
]

The CLI has per-server auth metadata, but the Desktop settings UI does not render it.

Expected behavior

The MCP settings list should expose per-server auth health and actionability. For example:

  • Connected
  • Needs login
  • Auth expired
  • Unsupported auth
  • Authenticate / Login button for OAuth servers

If the Desktop UI cannot handle OAuth login directly, it should at least identify the affected MCP server and show the repair command:

codex mcp login <server-name>

Why this matters

When Codex reports that an MCP needs authentication, users need to know which server is affected. Right now, all rows look healthy/enabled, so the user has to inspect CLI JSON or manually test each MCP server.

This is especially confusing because the official docs say OAuth MCP servers can be authenticated with codex mcp login <server-name>, and the app settings docs say the app starts the auth flow when a server requires OAuth.

Related public reports

This appears related to existing MCP auth/status surfacing issues:

  • openai/codex#20009: OAuth MCP authenticates, but Desktop/runtime reports or surfaces auth/tool state incorrectly.
  • openai/codex#22072: auth_status: o_auth and saved OAuth credentials can affect MCP startup behavior in Codex 0.130.0.

Attachments

<img width="881" height="819" alt="Image" src="https://github.com/user-attachments/assets/9333848a-a4c4-4fd3-a0f7-dece11d8219a" />

I can attach a screenshot of Settings -> MCP servers showing rows with only server name, gear icon, and toggle, with no auth status or login button.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

The MCP settings list should expose per-server auth health and actionability. For example:

  • Connected
  • Needs login
  • Auth expired
  • Unsupported auth
  • Authenticate / Login button for OAuth servers

If the Desktop UI cannot handle OAuth login directly, it should at least identify the affected MCP server and show the repair command:

codex mcp login <server-name>

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix Codex Desktop MCP settings list does not show OAuth login/status per server [1 comments, 2 participants]