Skip to content

Remote-installed plugin MCP prompts codex mcp login, but the command cannot resolve the server #34859

Open

Description

@Shallow-dusty

What version of Codex CLI is running?

codex-cli 0.145.0 (latest stable at the time of filing)

What subscription/authentication do you have?

ChatGPT authentication

What platform is your computer?

Ubuntu 24.04.3 LTS under WSL2, x86_64

What issue are you seeing?

An account-synced remote plugin can contribute an OAuth MCP server to the running Codex session, and startup then prints an instruction that cannot be executed successfully:

The cloudflare-api MCP server is not logged in.
Run `codex mcp login cloudflare-api`.

MCP startup incomplete (failed: cloudflare-api)

Running the exact suggested command in another shell fails before OAuth starts:

$ codex mcp login cloudflare-api
Error: No MCP server named 'cloudflare-api' found.

The same registry mismatch is visible through the management commands:

$ codex mcp get cloudflare-api --json
Error: No MCP server named 'cloudflare-api' found.

$ codex mcp list --json
# Only locally configured MCP servers are returned.

The user-level ~/.codex/config.toml does not contain a cloudflare-api server or a local Cloudflare plugin entry. The Cloudflare plugin is account-synced and materialized under the remote plugin cache. Its bundled .mcp.json contains:

{
  "mcpServers": {
    "cloudflare-api": {
      "type": "http",
      "url": "https://mcp.cloudflare.com/mcp"
    }
  }
}

The local remote-install marker contains a backend plugin id, confirming that this is remote-installed plugin state rather than a hand-written MCP configuration.

Steps to reproduce

  1. Sign in to Codex with ChatGPT authentication.

  2. Install/enable the OpenAI-curated Cloudflare plugin on a surface that syncs remote plugin installation to the account.

  3. Start Codex CLI on another host or WSL environment using the same account.

  4. Observe that the runtime loads the Cloudflare plugin and reports that cloudflare-api is not logged in.

  5. Run the suggested command:

    codex mcp login cloudflare-api
  6. Observe:

    Error: No MCP server named 'cloudflare-api' found.
    

Expected behavior

The command printed by the startup warning should work.

More specifically, codex mcp login <name> should resolve the same effective MCP server registry used by the running session, including account-synced remote-installed plugins. If remote plugin MCP authentication must happen through another product surface, the warning should point to that supported flow instead of suggesting a command that cannot resolve the server.

Actual behavior

The running session can see and start the remote plugin MCP server, but a standalone codex mcp login process cannot see the same server name.

This repeats on every startup because the runtime continues to inject the remote plugin, while the suggested login command exits before OAuth.

Workaround

A process-local config override makes the management command resolve the same name and URL without permanently duplicating the MCP server in config.toml:

codex \
  -c 'mcp_servers.cloudflare-api.url="https://mcp.cloudflare.com/mcp"' \
  -c 'mcp_oauth_credentials_store="file"' \
  mcp login cloudflare-api

This workaround was verified end to end on the environment above:

  1. mcp get changed from No MCP server named to a valid streamable_http server record.
  2. The OAuth flow completed with Successfully logged in to MCP server 'cloudflare-api'.
  3. Codex wrote one matching credential entry to ~/.codex/.credentials.json with mode 0600 (token values were not printed).
  4. Fresh management processes resolved the credential in both explicit file mode and default auto mode.
  5. A fresh codex exec process exited successfully without a Cloudflare/MCP startup warning.

The file credential mode is used here because this WSL environment has no Linux Secret Service. It is not required to reproduce the server-registry problem. The important workaround is the one-shot mcp_servers.cloudflare-api.url injection.

This is only a workaround: it relies on duplicating runtime plugin metadata at command invocation. It should not be necessary, and permanently adding the same server to config.toml could create duplicate/conflicting registrations after the bug is fixed.

Source-level evidence

In the 0.145.0 source, run_login:

  1. loads ordinary configuration,
  2. creates a fresh PluginsManager,
  3. immediately calls configured_servers, and
  4. returns No MCP server named... if the requested name is absent.

https://github.com/openai/codex/blob/rust-v0.145.0/codex-rs/cli/src/mcp_cmd.rs#L448-L464

A fresh PluginsManager initializes remote_installed_plugins_cache to None:

https://github.com/openai/codex/blob/rust-v0.145.0/codex-rs/core-plugins/src/manager.rs#L428-L469

When that cache is None, remote installed plugin configs resolve to an empty map:

https://github.com/openai/codex/blob/rust-v0.145.0/codex-rs/core-plugins/src/manager.rs#L749-L759

The long-running plugin/app-server path has separate background tasks that fetch remote installed plugins, populate that cache, and refresh the effective runtime:

https://github.com/openai/codex/blob/rust-v0.145.0/codex-rs/core-plugins/src/manager.rs#L945-L1076

So the startup warning and the standalone management command are resolving MCP servers from differently hydrated plugin state.

The same run_login flow is still present in rust-v0.146.0-alpha.4 and current main at the time of filing.

Related issues checked before filing

I could not find an existing issue covering the full combination: runtime-injected remote plugin MCP + startup-generated login instruction + standalone login unable to resolve that server.

Activity

  1. added
    bug
    CLI
    mcp
    skills
    auth
    on Jul 23, 2026
  2. bbingz commented on Jul 24, 2026

    @bbingz

    Analysis (community)

    Thanks for the clear repro and the one-shot -c 'mcp_servers…' workaround — that was very helpful for narrowing this down. I traced the reported path on current main (same shape as on rust-v0.145.0 / 0.146.0-alpha.4 at filing) and believe this is a registry split between the long-lived session/app-server plugin path and the short-lived MCP management CLI, not an OAuth bug.

    • Environment / versions (from issue): codex-cli 0.145.0, Ubuntu 24.04 WSL2; ChatGPT auth + account-synced Cloudflare plugin; server name cloudflare-api.
    • Repro status: Confirmed at the source level (I did not re-run the full ChatGPT + remote-plugin E2E here). The issue’s expected vs actual and the config-override workaround line up with the code path below.
    • Observed: Session startup can emit
      The cloudflare-api MCP server is not logged in. Run \codex mcp login cloudflare-api`. thencodex mcp login|list|get cloudflare-apifails with Error: No MCP server named 'cloudflare-api' found.`
    • Expected: Management CLI resolves the same effective MCP registry the session used when it suggested login (or at least a clear “remote plugin catalog unavailable” failure, not a hard name-not-found).
    • Workaround (issue): injecting the HTTP server into user config via -c makes mcp login succeed end-to-end — so OAuth itself is fine once the name is in the catalog.

    Root-cause hypothesis

    Session / app-server hydrates account-synced remote-installed plugins into PluginsManager.remote_installed_plugins_cache (background fetch + bundle materialization). Plugin .mcp.json servers (e.g. cloudflare-api) then enter the session MCP catalog, and connection_manager can suggest codex mcp login <name> when auth is required.

    codex mcp login|list|get|logout build a fresh PluginsManager with an empty remote cache and never hydrate it:

    1. cli/src/mcp_cmd.rs — run_login (~L448–L463; same pattern in run_list / run_get / run_logout):
      Config::load_with_cli_overrides → PluginsManager::new → McpManager::configured_servers → bail!("No MCP server named '{name}' found.") when the name is absent.
    2. core/src/mcp.rs — McpManager::configured_servers (~L264–L267) → config.to_mcp_config(plugins_manager).
    3. core/src/config/mod.rs — to_mcp_config / to_mcp_config_with_plugin_registrations (~L1563–L1582) → plugins_manager.plugins_for_config.
    4. core-plugins/src/manager.rs:
      • new_with_options sets remote_installed_plugins_cache: None (~L469).
      • plugins_for_config* merges remote plugins only via remote_installed_plugin_configs() (~L596 area).
      • When cache is None, remote_installed_plugin_configs returns {} (~L759–L768) — so plugin MCPs never appear, even if a bundle is already on disk.
      • Network fetch / cache write lives in the remote-installed refresh path (fetch_remote_installed_plugins + write_remote_installed_plugins_cache, loop ~L2410+).
    5. Call sites that do start hydrate/sync (maybe_start_plugin_list_background_tasks_for_config / maybe_start_remote_installed_plugin_bundle_sync) are under app-server plugin list paths — not under mcp_cmd.
    6. codex-mcp/src/connection_manager.rs — mcp_init_error_display (~L809) hardcodes the login suggestion without checking whether the CLI management surface can resolve that name.

    So this is not a race inside OAuth: the management path never seeds remote_installed_plugins_cache, so the name is missing before OAuth runs. Closest prior threads (#20970, #26275, #30716) touch related plugin-MCP visibility / reload edges but not this full combo (session suggests login → short-lived CLI cannot resolve remote-plugin MCP).

    High-level fix outline (not a PR)

    Small, focused alignment: make MCP management CLI resolve the same effective MCP registry as the session for remote-installed plugins — without permanently dual-registering them into user config.toml.

    1. Preferred: extract a shared awaitable hydrate helper on PluginsManager (e.g. ensure_remote_installed_plugins_for_config(config, auth)) that, when plugins are enabled and ChatGPT auth is present, synchronously fetch_remote_installed_plugins + write_remote_installed_plugins_cache (and optionally wait/sync materialization for roots already tracked by remote bundle sync), then clear/reload the loaded-plugins cache before configured_servers.
    2. Wire once in the shared helpers used by run_login / run_list / run_get / run_logout (any management entry that uses configured_servers).
    3. Optional secondary: if offline support for already-materialized remotes is desired, a disk fallback that discovers cache roots with remote-install metadata and synthesizes RemoteInstalledPlugin entries when the API is unavailable — not a warning-text-only change.

    What not to change (unless product intent says otherwise): OAuth perform_oauth_login path; credential store modes; permanent config.toml dual-registration; connection_manager auth detection (beyond maybe improving the message if hydrate fails).

    Risks / non-goals: CLI latency/network on every mcp *; auth-required / offline partial state; accidentally exposing remote plugins when plugins are disabled; concurrent cache semantics are process-local so likely low risk.

    Test ideas

    Failing-first, in the spirit of docs/contributing.md:

    1. Arrange a temp CODEX_HOME with a materialized remote plugin bundle whose .mcp.json defines mcpServers.cloudflare-api (streamable HTTP URL) + remote-install metadata; plugins enabled; no cloudflare-api in user config.toml.
    2. PluginsManager::new without writing remote_installed_plugins_cache → login-style configured_servers lookup misses the name (documents today’s bug).
    3. After write_remote_installed_plugins_cache (or ensure_remote_installed_… with mocked fetch returning that plugin) → same lookup finds the streamable HTTP server with the expected URL.
    4. If feasible, CLI-level: mcp list --json includes the plugin MCP; mcp get succeeds; mcp login reaches the OAuth entry (mocked transport/auth) rather than “No MCP server named…”.
    5. Regressions: user-config-only MCP still works with empty remote cache; plugins_enabled=false does not invent remote servers; missing ChatGPT auth fails soft (local servers still listed) rather than wiping unrelated config.

    Questions for maintainers

    Happy to be corrected on any of this — especially product intent:

    1. Should CLI hydrate always hit the network, or is disk-only discovery of already-materialized remote-install markers enough for login/list when offline?
    2. Must mcp login also trigger bundle materialization if the plugin is installed remotely but not yet cached locally (session may have materialized it first)?
    3. Is ChatGPT auth always available in the same process model as CLI mcp login on all platforms?
    4. Should the startup warning remain unconditional, or mention hydrate failure / unsupported surface if the remote list cannot be loaded?
    5. Product intent: are remote-plugin MCPs first-class for all codex mcp * verbs, or login-focused only?

    Happy to refine the analysis (or dig into any of the open questions) if useful. If the team later wants an invited PR along an approach you choose, I’d be glad to help — no pressure either way.

  3. bbingz commented on Jul 24, 2026

    @bbingz

    Building on the root-cause analysis above with the introducing-commit timeline (which I only described behaviorally as "same pattern in 0.145.0/0.146.0/main") and a verified test gap. Traced at 5dd992a (2026-07-24).

    Latent structure - PR #12864. run_login's no-hydrate structure was introduced by PR #12864 (752402c4fe, merged 2026-03-01, "feat: load from plugins"), which touches codex-rs/cli/src/mcp_cmd.rs + core/src/skills/manager.rs + thread_manager.rs. At mcp_cmd.rs it calls mcp_manager.effective_servers(&config, None) (the historical API at the time; later renamed to configured_servers, e.g. by #21356) then bail!("No MCP server named '{name}' found.") - the same no-hydrate pattern is in run_logout and run_get. At that time remote-installed plugins did not exist, so the bug was latent.

    Went live - #20096 + #20268. The session-vs-CLI asymmetry was created by two PRs, neither of which touched mcp_cmd.rs. #20096 (73cd831952, 2026-04-29) introduced remote_installed_plugins_cache and the session/app-server refresh paths in codex-rs/core/src/plugins/manager.rs. #20268 (2686873e77, 2026-04-30, "Sync remote installed plugin bundles") added remote bundle sync on app-server startup and plugin/list (core-plugins/.../manager.rs + remote.rs + remote_installed_plugin_sync.rs + app-server/.../plugins.rs + app-server/tests/suite/v2/plugin_list.rs). Neither touched mcp_cmd.rs, so CLI resolution stayed empty-cache while the session path populated the cache.

    Not fixed as of 5dd992a. Upstream mcp_cmd.rs's latest commit is 265cd2e / #34995 (2026-07-23, HTTP policy) - unrelated. PR #34877 "Wait for local plugin cache refreshes in plugin/list" (2026-07-23) touches core-plugins/manager.rs + the app-server request_processors/plugins.rs + plugin_list tests + README, not mcp_cmd.rs - so the CLI hydrate gap remains open.

    Test gap. The CLI has mcp list/get integration coverage for user-config MCP (cli/tests/mcp_list.rs), but there are no mcp login/logout tests and no coverage of the remote-plugin resolution path with remote_installed_plugins_cache == None. In core-plugins/src/manager_tests.rs, many tests pre-populate the cache via write_remote_installed_plugins_cache(...) then call plugins_for_config (e.g. remote_installed_cache_ignores_plugins_missing_local_cache); none exercise the CLI effective_servers/run_login path, and none assert the bug's defining behavior: cache == None => remote plugin MCP absent despite a materialized bundle on disk. A failing-first test would materialize a remote-plugin bundle, leave remote_installed_plugins_cache == None (no hydrate), and assert the server name is missing from the CLI run_login/effective_servers path - documenting today's gap. To lock a fix, the same setup after a hydrate (write_remote_installed_plugins_cache(...) or fixed CLI wiring) must assert the server name resolves.

    Minor line-number drift vs my earlier 0.145.0 citations on main (5dd992a). new_with_options cache=None is now :519 (I said ~L469); remote_installed_plugin_configs returns {} at :809-819 (I said ~L759-768); plugins_for_config merges remote at :646/732/754 (I said ~L596). Drift only; behavior identical.

  4. jovensebido commented on Aug 16, 2026

    @jovensebido

    Additional reproduction from ChatGPT Pro Work on 2026-08-17:

    • Installed cloudflare@openai-curated-remote, version 0.1.2, from the OpenAI-curated catalog.
    • Canonical plugin dependency metadata reports source_plugin_installed: true and source_plugin_user_enabled: true.
    • The plugin’s Cloudflare skills load successfully.
    • The bundled cloudflare-api MCP tools search() and execute() are not exposed to the Work conversation.
    • Explicitly selecting @Cloudflare in two consecutive turns does not mount either tool.
    • No Cloudflare OAuth or consent screen appears.
    • ChatGPT’s plugin-permission lookup inconsistently reports Cloudflare as not installed even though the plugin dependency record and Plugins interface show it installed.
    • Global Plugins permission was set to Always ask; this did not change MCP tool availability.
    • The Work execution environment does not expose the codex CLI, so the process-local codex mcp login workaround documented in this issue cannot be tested here.
    • No Cloudflare account API was called, no account data was read, and no external resource was mutated.

    This appears to extend the effective-registry mismatch to ChatGPT Work: the account-synced plugin bundle and skills are present, but its bundled OAuth MCP server is not available to the conversation’s tool registry.

  5. prod-alissonfgc commented on Aug 24, 2026

    @prod-alissonfgc

    Update: the Cloudflare remote-plugin/MCP integration issue is still reproducible on 2026-08-24.

    Environment observed:

    • ChatGPT Plus personal workspace
    • ChatGPT Web and Android app
    • ChatGPT Work
    • OpenAI-curated Cloudflare plugin v0.1.2

    Current behavior:

    • Cloudflare plugin installs/enables successfully.
    • Cloudflare skills are available.
    • The bundled cloudflare-api MCP is not exposed to ChatGPT/Work sessions (search() / execute() unavailable).
    • No Cloudflare OAuth consent flow is triggered on first use.
    • Try in chat opens Work, but Work reports that only the plugin skills are available and the official Cloudflare MCP is not available in the session.
    • Uninstalling/reinstalling the plugin does not trigger OAuth.
    • We revoked an older Cloudflare Workers Bindings MCP OAuth authorization on the Cloudflare side before reinstalling; after reinstall there was still no new Cloudflare OAuth authorization created.

    This matches the symptom reported in Cloudflare issue cloudflare/mcp-server-cloudflare#446 (“ChatGPT plugin only shows skills. No MCP access.”), which was closed on 2026-08-20 after a maintainer said latest ChatGPT upgrades should have fixed it and mentioned a prior iss auth breakage.

    So, at least for this Plus account, the problem persists after that date and across both ChatGPT Web and Android. The Cloudflare plugin appears to materialize skills but not the authenticated MCP app/tooling.

  6. sergeliatko commented on Sep 1, 2026

    @sergeliatko

    Additional Windows Codex Desktop reproduction from 2026-09-01:

    Environment

    • Windows x64, OS build 10.0.26200
    • Codex CLI 0.151.0
    • OpenAI-curated remote Cloudflare plugin 0.1.2
    • ChatGPT-authenticated Codex Desktop session

    Observed registry split

    • Canonical plugin metadata reports the Cloudflare plugin as installed, enabled, and user-enabled.
    • Cloudflare skills load from the remote plugin cache.
    • The installed plugin manifest declares mcpServers: "./.mcp.json".
    • The bundled .mcp.json declares cloudflare-api at https://mcp.cloudflare.com/mcp.
    • The active Codex task exposes no cloudflare-api search() or execute() tools.
    • The plugin permission/connection lookup reports Cloudflare as not installed, despite the canonical plugin record reporting it installed.
    • Selecting Authorize in Codex reports that the MCP server does not exist.
    • codex mcp list reports no configured servers.
    • codex mcp get cloudflare-api returns Error: No MCP server named 'cloudflare-api' found.

    Upstream server validation

    The Cloudflare endpoint itself is healthy:

    • unauthenticated GET https://mcp.cloudflare.com/mcp returns 401 with a valid WWW-Authenticate protected-resource metadata URL;
    • protected-resource metadata identifies https://mcp.cloudflare.com as the authorization server;
    • authorization-server metadata publishes /authorize, /token, and /register, PKCE S256, DCR, and CIMD support.

    No manual MCP registration was added and no Codex configuration was changed during this diagnosis.

    This appears to extend the original CLI hydration mismatch into the Windows Desktop authorization flow: the remote plugin bundle and skills are materialized, but the bundled MCP server is absent from both the task tool registry and the authorization lookup. The resulting "server does not exist" message occurs before Cloudflare OAuth can begin.

  7. LILSYNNOFFICIAL commented on Sep 27, 2026

    @LILSYNNOFFICIAL

    September 25–27, 2026 regression — Cloudflare MCP stopped working again

    Adding a new reproduction to this existing issue because the failure appears to be the same remote-plugin/MCP registration class, and I do not want to open a duplicate issue.

    The Cloudflare integration was working through approximately September 25, 2026. By September 27, 2026, the Cloudflare plugin no longer exposes its MCP tools.

    Current reproduction:

    • ChatGPT Web and ChatGPT Android are affected (so this is not an Android-only client problem).
    • The OpenAI-curated Cloudflare plugin can still appear installed/enabled.
    • Cloudflare Skills can still load.
    • The bundled cloudflare-api MCP is not exposed as a callable tool/server.
    • No Cloudflare OAuth/consent flow is triggered.
    • Reinstalling does not cause the expected OAuth flow.
    • The failure therefore appears to occur before OAuth, at the OpenAI remote-plugin → MCP capability/tool-registry layer.

    The strongest evidence remains the earlier reproductions already documented in this issue:

    • 2026-08-24: ChatGPT Web + Android + Work reproduced the same Skills-without-MCP behavior.
    • 2026-09-01: Windows Codex Desktop reproduced the same registry split: plugin installed/enabled, Skills load, .mcp.json declares cloudflare-api, but the MCP server is absent from the task/authorization registry.
    • Direct validation of https://mcp.cloudflare.com/mcp showed the Cloudflare endpoint responding normally with the expected OAuth/protected-resource metadata.

    There is also broader evidence of remote-plugin synchronization/capability-registry problems in recent OpenAI/Codex reports, including #47778 and #47839.

    What changed this time: the integration was actually working for me until ~Sept 25 and then stopped by Sept 27. That strongly suggests a new OpenAI-side rollout, backend configuration/feature-flag change, cache/reconciliation regression, or MCP capability-registration regression rather than the long-standing Cloudflare server issue.

    Request

    Could the team check the remote-plugin reconciliation/capability-registration path and any production rollout between Sept 25–27, 2026?

    Specifically, please verify whether the Cloudflare plugin's MCP capability is still being propagated from the installed remote plugin manifest into the effective ChatGPT tool registry, separately from its Skills.

    I am intentionally not changing any local Codex configuration or repository state while reporting this.

  8. leejy91 commented on Sep 30, 2026

    @leejy91

    Additional reproduction from ChatGPT Windows Desktop / personal private plugin (2026-10-01):

    • A personal plugin created with Plugin Creator is present in the user's Personal plugins directory and is selectable in the Chat composer.
    • The plugin bundle contains an .mcp.json that points to a remote Streamable HTTP MCP server.
    • The MCP server's OAuth 2.1/CIMD flow completes successfully in the browser and returns an authentication-complete callback.
    • The plugin remains visible/selectable after restart, but the active Chat runtime exposes none of its MCP tools.
    • Plugin permission/connection inspection reports the plugin as not installed, even though Plugin Creator metadata shows the personal plugin exists and the UI shows it selected.
    • Rebooting Windows, restarting ChatGPT Desktop, starting a fresh Chat, and explicitly selecting the plugin do not make the MCP tools appear.
    • The remote MCP server itself is intentionally read-only and its OAuth/authentication path is functioning; the failure appears after plugin selection, at the remote-plugin -> effective MCP tool-registry projection stage.

    This looks very similar to the Cloudflare Work/Windows reproductions already documented here, but with a user-created personal plugin rather than an OpenAI-curated one.

    Is there a supported workaround for ChatGPT Desktop to force re-hydration/reconciliation of a personal plugin's remote MCP server into the active tool registry (without permanently duplicating the MCP server into local Codex config)? If not, is ChatGPT Work on the web currently the recommended surface for testing personal remote-MCP plugins while this registry mismatch is open?

  9. sergeliatko commented on Sep 30, 2026

    @sergeliatko

    If anyone runs into similar issues on windows + avast (who replaces the certificates and breaks some payloads) whitelisting (add exception to avast https shield) for target MCP servers + ChatGPT endpoints may solve a good bunch of those

  10. leejy91 commented on Oct 1, 2026

    @leejy91

    Follow-up from the same personal private plugin reproduction (2026-10-01):

    I re-checked this against the current official Plugins quickstart/troubleshooting flow.

    Current official guidance says a personal MCP plugin should be created in ChatGPT Developer mode, then tested from ChatGPT Work on the web with an @ mention. In this account, however:

    • Settings -> Security and login does not expose Developer mode at all.
    • The personal plugin "Regap PlayAuto" v0.1.5 is visible in the Personal plugins directory and the plugin detail page shows its bundled MCP server and enabled skill.
    • The plugin can be selected/installed in the UI.
    • OAuth for the remote Streamable HTTP MCP server already completed successfully.
    • Yet the active runtime still exposes 0 Regap/PlayAuto tools.
    • Permission lookup still reports the plugin as "not installed".
    • Re-checking from Work on the web does not surface the MCP tools either.

    This leaves an account/surface inconsistency: the plugin object and UI installation state exist, but the effective app/tool registry does not hydrate the bundled MCP capability.

    The OpenAI troubleshooting guide says that after server-side checks are validated, the next escalation data should include server logs, client/tool-call transcript, screenshots, and the exact prompt. We can provide those. Could a maintainer clarify whether Developer mode is feature-flagged for personal/Pro accounts, and whether there is a supported way to force/retry registry reconciliation for an already-installed personal plugin without duplicating the MCP server into local Codex config?

    We are intentionally keeping the MCP read-only and are not changing OAuth/server code further while this is being diagnosed.

  11. leejy91 commented on Oct 1, 2026

    @leejy91

    Follow-up: personal remote-MCP plugin is fully prepared, but its tools are still not projected into the active ChatGPT/Codex runtime

    We would like to provide a clearer, end-to-end description of what we are building, what has already been verified, and the exact point where the integration is blocked.

    Goal

    We operate an e-commerce workflow that uses PlayAuto EMP as a central order-management system.

    Our first milestone is intentionally narrow and read-only:

    PlayAuto EMP → read-only bridge → remote HTTPS MCP server → personal ChatGPT plugin → ChatGPT/Codex runtime

    The acceptance test is simply:

    Expose a read-only get_orders-type tool in the active runtime and retrieve the latest PlayAuto orders once.

    We are deliberately not enabling write operations at this stage. We do not want ChatGPT to modify orders, shipments, prices, customers, or marketplace data until the read-only path is proven stable.

    What is already working

    • Remote bridge is deployed and reachable.
    • MCP is intentionally read-only.
    • OAuth completes successfully in the browser.
    • Personal plugin exists in Plugin Creator.
    • Plugin: regap-playauto-chatgpt
    • Version: 0.1.5
    • Scope: personal/private.
    • Plugin is visible/selectable in the ChatGPT/Codex UI.
    • Bundled MCP configuration is present.
    • Plugin skill is visible.
    • We have already tested fresh conversations, full Desktop restart, Windows restart, explicit plugin selection, and the available web/Work path.

    Exact failure

    Despite the above:

    • Active runtime exposes 0 Regap / PlayAuto MCP tools.
    • Expected read-only get_orders (or equivalent) is absent.
    • Plugin permission/connection inspection reports:

    Regap PlayAuto is not installed

    This conflicts with the canonical plugin state:

    • Plugin Creator reports the plugin exists.
    • The UI shows the plugin.
    • The plugin can be selected.
    • OAuth completed successfully.
    • The package contains its MCP declaration.

    So the failure appears to be after plugin creation/authentication, at the point where the installed plugin's MCP capability should be projected/hydrated into the effective runtime tool registry.

    Why this looks like an OpenAI-side registry/projection issue

    The pattern closely matches the broader MCP tool-exposure family reported in:

    Our reproduction is useful because it involves a user-created personal plugin with a remote HTTPS MCP server, not only a curated connector or project-scoped local MCP config.

    The observed chain is:

    Plugin object exists → Skill exists → OAuth succeeds → UI selection succeeds → Effective MCP tool registry remains empty

    At the same time:

    UI says installed/available → permission registry says not installed

    That split is the key symptom.

    Developer mode inconsistency

    Current OpenAI documentation describes Developer mode / read-fetch MCP support for eligible personal/Pro accounts.

    However, on this account the documented Developer mode entry is not exposed in ChatGPT web settings.

    Could this be a staged feature flag, account rollout, or registry-hydration prerequisite?

    If so, it may explain why the personal plugin object exists while its MCP capability never reaches the web/Work runtime.

    What we need from OpenAI

    We would appreciate a maintainer answer on the following specific points:

    1. Registry reconciliation: Is there a supported way to force/retry the mapping
      installed personal plugin → MCP capability → effective runtime tool registry
      without duplicating the MCP server into unrelated local Codex configuration?

    2. "not installed" mismatch: What can cause Plugin Creator/UI to see a personal plugin while permission/runtime lookup reports not installed?

    3. Developer mode availability: Is read/fetch MCP Developer mode currently guaranteed for eligible personal/Pro accounts, or still feature-flagged/staged?

    4. Canonical testing surface: For a personal plugin containing a remote HTTPS MCP server, what is the currently supported test surface:

      • ChatGPT Desktop,
      • Codex Desktop,
      • ChatGPT Work on web,
      • or Developer-mode MCP app registration?
    5. Diagnostics: If maintainers need evidence, we can provide privacy-reviewed:

      • screenshots of UI/plugin state,
      • plugin version/release metadata,
      • redacted MCP server logs,
      • OAuth completion evidence,
      • exact prompts/timestamps,
      • and runtime/tool-registry observations.

    We will not post credentials, OAuth secrets, API keys, customer data, or other sensitive information publicly.

    Why this blocks deployment

    At this point the bridge, MCP server, OAuth, personal plugin, and read-only design are prepared.

    The remaining blocker is the final OpenAI runtime projection step.

    As soon as get_orders is exposed, we can immediately perform one safe read-only call and verify the complete integration end-to-end.

    We would therefore greatly appreciate one of the following:

    • a supported workaround,
    • an account/registry/feature-flag correction,
    • a maintainer-confirmed fix,
    • or the exact single action required on our side.

    We are intentionally keeping the MCP read-only and avoiding further server/OAuth changes while this registry mismatch is investigated.

  12. LILSYNNOFFICIAL commented on Oct 2, 2026

    @LILSYNNOFFICIAL

    Just to clarify the scope of my September 25–27 regression report: I’m not reporting the original codex mcp login CLI symptom as the primary failure.

    My failure occurs before OAuth and before codex mcp login is relevant:

    Cloudflare plugin installed/enabled → Skills load normally → bundled cloudflare-api MCP is not projected into the active runtime → no MCP tools → no OAuth/consent flow is ever initiated.

    This reproduces in ChatGPT Web and the Android app, so it is not dependent on local Codex CLI state or config.toml.

    I referenced #34859 because it demonstrates a related remote-plugin/MCP registry split, but the regression I’m reporting appears to be one layer earlier: the installed plugin's MCP capability is not reaching the effective runtime/tool registry at all.

    That distinction is important because troubleshooting the OAuth or CLI login path won’t address what I’m actually observing.

  13. leejy91 commented on Oct 3, 2026

    @leejy91

    Follow-up from the Regap PlayAuto personal/private MCP reproduction (2026-10-03):

    We now have a stronger A/B result that appears to isolate the failure to the ChatGPT/Codex runtime tool-projection layer.

    Current setup

    • Personal/private plugin: regap-playauto-chatgpt
    • Current version: 0.1.7
    • Remote MCP endpoint: https://regap-playauto-bridge.onrender.com/mcp
    • Transport: Streamable HTTP
    • MCP is intentionally read-only
    • Expected acceptance test: expose a read-only get_orders-type tool and fetch latest PlayAuto orders once

    What we verified

    1. The personal plugin is visible in the UI and selectable.
    2. The plugin bundle declares its MCP server correctly.
    3. We forced OAuth client selection to CIMD instead of Auto.
    4. OAuth then completed successfully and returned:
      Authentication complete. You may close this window.
    5. We created a second, direct custom MCP registration in ChatGPT Desktop:
      • name: regap_playauto_direct
      • same Streamable HTTP endpoint
      • CIMD selected explicitly
    6. OAuth for the direct custom MCP also completed successfully.
    7. We disabled the plugin selection and opened a fresh Work chat so the direct MCP could be tested independently.
    8. The fresh Work chat still exposed no PlayAuto order tools and returned:
      I couldn’t retrieve the latest orders because the PlayAuto order tools aren’t available in this chat.

    Important observation

    The failure reproduces through both paths:

    • bundled MCP via personal plugin
    • directly registered custom MCP using the same remote endpoint

    So at this point:

    • MCP registration succeeds
    • CIMD OAuth succeeds
    • callback succeeds
    • fresh Work chat still receives 0 callable PlayAuto tools

    This makes the remaining failure look like:
    registered/authenticated MCP -> effective runtime tool registry / tool projection

    We also still observe an installation-state mismatch:

    • Plugin Creator / UI: plugin exists and is selectable
    • permission/runtime lookup: reports the plugin as not_installed
    • active runtime: 0 Regap/PlayAuto tools

    We have deliberately not changed server secrets, API keys, write permissions, or business data. Write tools remain disabled.

    Could a maintainer please confirm one of the following:

    1. whether there is a known production regression affecting authenticated custom/remote MCP tool projection into Work,
    2. whether there is a supported force-refresh / registry-reconciliation action for this state,
    3. whether a specific Desktop/Web build contains a fix,
    4. or which diagnostic/log bundle would be most useful next?

    We can provide redacted screenshots, plugin release metadata, timestamps, and server-side MCP/OAuth logs if needed.

  14. leejy91 commented on Oct 3, 2026

    @leejy91

    Additional follow-up from the Regap PlayAuto reproduction (2026-10-04 KST): ChatGPT Sites workaround also fails before tool discovery.

    We created a private ChatGPT Site intended to use the same remote MCP endpoint:
    https://regap-playauto-bridge.onrender.com/mcp

    The Site builder reported:

    • "The published Site does not declare an MCP server"
    • initial MCP initialize returns HTTP 401 (authentication required)
    • the current Sites tooling does not expose a way to start/complete external MCP OAuth CIMD registration from within the Site editor
    • therefore tools/list could not be reached and get_orders could not be scanned/added
    • the Site was intentionally NOT published

    This is after:

    • personal plugin v0.1.7 exists/selectable
    • bundled MCP OAuth CIMD succeeds
    • direct custom MCP registration succeeds
    • direct custom MCP OAuth CIMD succeeds
    • localhost callback succeeds
    • fresh Work chat still has 0 PlayAuto tools
    • Web /mcp shows no Regap MCP
    • ChatGPT web installed-plugin list does not contain Regap even though Desktop shows it installed
    • permission/runtime inspection reports not_installed

    So the currently documented Sites-hosted workaround is not actionable in this account because the Site editor does not expose an external MCP registration/auth path needed to get past the 401 and reach tools/list.

    Could a maintainer/support engineer clarify:

    1. the supported way to bind an authenticated external Streamable HTTP MCP to a Site,
    2. whether this requires an account/workspace feature flag not present here,
    3. or whether backend registry reconciliation is required first?

    No secrets/tokens/customer data are included.

  15. leejy91 commented on Oct 3, 2026

    @leejy91

    New A/B result from the Regap PlayAuto Sites workaround (2026-10-04 KST):

    We implemented the OpenAI Support suggestion safely on an isolated test service/branch.

    Test endpoint:

    • https://regap-playauto-sites-test.onrender.com/mcp-site-discovery
    • anonymous initialize: HTTP 200
    • anonymous tools/list: HTTP 200
    • exactly one tool discovered: get_orders
    • no PlayAuto data is returned during discovery
    • any tools/call remains blocked with HTTP 401 + OAuth challenge

    We then created a brand-new ChatGPT Site and pointed the build request only at this discovery endpoint.

    The Site builder itself confirmed:

    • initialize: success
    • tools/list: success
    • get_orders: exactly 1 tool found
    • no actual order call performed
    • Site not published

    However, it then reported that Site-internal MCP registration is still incomplete, because the current Sites connection tooling does not expose an action to actually register/attach that external MCP to the Site project. So the authentication/discovery blocker is removed, but the Site still does not persist the discovered MCP tool into the Site configuration.

    This narrows the blocker further:
    external MCP reachable + discovery succeeds -> Sites build agent can inspect tools -> missing/persisting MCP attachment action in Site project.

    Could a maintainer/support engineer confirm the supported UI/API path that persists an externally discovered MCP server/tools into a Site so that publish can create the plugin card?

  16. Canoming commented on Oct 20, 2026

    @Canoming

    Additional reproduction on macOS (x86_64) with Codex CLI 0.163.0, involving two plugins installed through Codex Desktop:

    • Firecrawl 2.5.0
    • Consensus 5.0.0

    Neither MCP server was manually added to my configuration. Both installed plugin bundles declare MCP servers and Apps connections.

    The running CLI session displays:

    The consensus MCP server is not logged in.
    Run `codex mcp login consensus`.
    
    MCP startup incomplete (failed: consensus, firecrawl)
    

    However, neither server appears in codex mcp list --json, and individual lookups fail:

    $ codex mcp get consensus --json
    Error: No MCP server named 'consensus' found.
    
    $ codex mcp get firecrawl --json
    Error: No MCP server named 'firecrawl' found.
    

    This appears consistent with the runtime-versus-management registry mismatch described here: the session discovers the plugin-provided servers and generates authentication warnings, while the standalone management commands cannot resolve those same names.

    Read-only calls through both plugins’ Apps connections still succeed. That does not establish that their direct MCP connections are authenticated, but it explains why the plugins can remain usable despite the startup warnings.

    Verification boundary: I have not run codex mcp login in this reproduction. The directly verified behavior is that list omits both servers and get cannot resolve them, despite the runtime reporting them during startup.

    Sharing this as an additional reproduction on macOS and a newer CLI version, with two different desktop-installed plugins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CLIauthbugmcpskills

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions