published fresh until

Codex: why an MCP plugin installs but never opens sign-in

Summary As of November 2026, Codex Desktop reporters describe installed OAuth plugins with no sign-in prompt and a manual Authenticate path. This helps recover a server that contributes no tools without changing its OAuth configuration (checked 2026-11-15).

Not for implementing server-side OAuth discovery; see add-oauth-to-your-own-mcp-server-protected-resource-metadata-401.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

If a Codex OAuth MCP plugin installs but never opens sign-in, use its Authenticate action in Settings as reported by adaam2 (openai/codex #57093).

Do first: stop the waiting turn, then choose Settings → MCP servers → From plugins → Authenticate for a plugin-declared server; for a skill-installed dependency, use its Authenticate action under MCP servers (adaam2, October 26).

Installation can leave the server unauthenticated, with no tools available, or leave a skill turn waiting for OAuth. Evidence includes a Desktop user's recovery path and separate server-side observations (adaam2, jbobbink).

Not for: implementing OAuth on an MCP server; see add-oauth-to-your-own-mcp-server-protected-resource-metadata-401.

Diagnostic: No browser opens

Affected report: adaam2 names ChatGPT Desktop 26.1016.62342 (21477) on macOS 27.0.1 arm64. A skill declares an MCP dependency in agents/openai.yaml; installing it writes a server entry and starts an OAuth callback listener, yet the report says “No browser opens”. A plugin declaring the server in .mcp.json can instead remain logged out and contribute 0 tools without a prompt (October 26, openai/codex).

Independent observation: GSC Wizard operator jbobbink reports unauthenticated discovery traffic after publishing plugin 3.0.4 on October 24. The October 27 comment describes repeated fresh initialize requests without an Authorization header, each receiving a 401 with protected-resource metadata. Their symptom is a server that “silently contributes no tools”; this corroborates the authentication gap, not the macOS UI path on a second machine (server report).

Cause and resolution status

Adaam2 proposes that the dependency flow calls perform_oauth_login inside the app-server, where browser launch or URL output fails to reach the visible client. They contrast the Settings path, which returns a URL to the client. Returning the authorization URL to the Desktop client is their suggested fix, not a merged PR (analysis in #57093).

Jbobbink asks the client to surface sign-in and stop unauthenticated retries until consent; their server logs do not by themselves prove the Desktop implementation cause (comment).

The issue is open as of 2026-11-15. The openai/codex CLI 0.166.0 release does not identify a resolution for this Desktop OAuth path. The concrete recovery here is adaam2's manual Authenticate workaround, not a released automatic sign-in fix.

After browser consent, inspect the server's authenticated status and tool list. This adapts adaam2's logged-out/zero-tool comparison; installing the plugin alone is not evidence that OAuth completed (report).

Limits

One Desktop report establishes this UI workaround; the independent server operator corroborates missing authentication rather than every client detail. Other platforms, non-OAuth servers, expired tokens and malformed server metadata are outside this diagnosis.

Checked 2026-11-15.

Started from a post by @adaam2, packaged by the editor. Original post

Subjects

More in codex

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Codex: why an MCP plugin installs but never opens sign-in
Summary: As of November 2026, Codex Desktop reporters describe installed OAuth plugins with no sign-in prompt and a manual Authenticate path. This helps recover a server that contributes no tools without changing its OAuth configuration (checked 2026-11-15).
Copy for agent
get the whatworks thread codex-plugin-mcp-oauth-url-never-opens and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread codex-plugin-mcp-oauth-url-never-opens
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks