Skip to content

Windows desktop: enabled Ahrefs and DataForSEO unavailable after codex_apps MCP response decoding failure #54733

Open

Description

@YaggoSEO

What version of the Codex App are you using (From “About Codex” dialog)?

26.1013.3656.0 at the time of diagnosis, reported by codex doctor --json.

Local diagnostic CLI: 0.163.0-alpha.10.2.

What subscription do you have?

Signed in with a ChatGPT account. Exact subscription tier was not verified.

What platform is your computer?

Microsoft Windows NT 10.0.26200.0 x64.

What issue are you seeing?

Ahrefs and DataForSEO are installed and enabled in the Codex desktop app, but their tools do not load into the conversation. An independent Plugin Management call also fails:

MCP tool `codex_apps/plugin_management.search_plugins` is not available to the model

The local plugin registry confirms installed: true and enabled: true for Ahrefs, DataForSEO, and Plugin Management. Their local plugin manifests are present.

Logs show that the shared codex_apps connection fails during startup:

MCP server startup failed server_name="codex_apps"
handshaking with MCP server failed
HTTP request failed: error decoding response body, when send discover request
Apps MCP startup reconnect failed; continuing with cached tools

The runtime falls back to a tool catalog last written on September 22, 2026. It contains Plugin Management tool definitions but no Ahrefs or DataForSEO tools. Invoking the advertised Plugin Management search tool still fails at execution.

What steps can reproduce the bug?

Feedback ID: 01a146e2-000a-7362-ba9f-c2ddfd9aca19

  1. On Windows, install and enable the Ahrefs and DataForSEO plugins in Codex, then mention each plugin in a conversation and request a connection test.
  2. Observe that neither provider's tools are available to the agent.
  3. Ask Plugin Management to search for Ahrefs and DataForSEO. The call returns the “not available to the model” error above.
  4. Close and restart Codex, then repeat the test. The user reported completing the restart; the subsequent call and startup logs reproduce the failure.
  5. Independently start a diagnostic codex app-server --stdio process, perform initialize / initialized, and request app/installed with {"forceRefresh":true}. The forced refresh fails:
failed to refresh installed connector runtime state:
failed to refresh tools for MCP server 'codex_apps'

Observed again after the reported restart on October 16, 2026 at approximately 22:56 UTC (October 17, 00:56 Europe/Madrid).

What is the expected behavior?

Enabled, connected plugins should load their current tool catalogs and allow read-only connection tests. Tool definitions advertised to the agent should agree with which tools can actually be invoked.

If the shared apps connection cannot initialize, Codex should report an actionable connection or service error instead of repeatedly advertising cached tools that fail with “not available to the model.”

Additional information

  • Forced catalog refresh was tested in new diagnostic app-server processes with features.codex_apps_mcp_2026_07_28 temporarily set to both true and false. Both fail. With the feature disabled, the decoding error occurs while sending the initialize request instead of discover. No persistent feature setting was changed.
  • Outside the command sandbox, codex doctor --json reported a consistent installation, successful desktop app-server initialization, reachable ChatGPT HTTP endpoints, and a successful Responses WebSocket handshake.
  • Plugin installation/enabled state can be queried successfully through codex plugin list --marketplace openai-curated-remote --json.
  • The GitHub connector call also fails with MCP tool codex_apps/github.search_issues is not available to the model; this report is being submitted through the independently authenticated GitHub CLI.
  • No credentials were deleted, plugins reinstalled, or permissions weakened during diagnosis. A real provider-side query could not be made, so the state of each provider's own API connection remains unverified.
  • The evidence localizes the failure to shared apps connection initialization; it does not establish whether the underlying cause is the Codex client or the remote response.

Related reports: #54645, #53169, #51370. This report adds the Ahrefs/DataForSEO reproduction, the feedback identifier above, explicit forced-refresh failures, and checks after a reported restart.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    skills
    connectivity
    on Oct 16, 2026
  2. Hopsem commented on Oct 26, 2026

    @Hopsem

    Additional Windows Codex Desktop reproduction — GitHub plugin advertised but not callable (Oct 26, 2026)

    I can reproduce the same tool advertised / invocation unavailable symptom with the GitHub plugin on a newer Windows ChatGPT/Codex Desktop build.

    Environment

    • Windows desktop app, About dialog: ChatGPT — Powered by Codex & OWL, version 26.1021.31345, released Oct 23, 2026.
    • UI-selected model: GPT-6 Astra / High (actual model/effort not independently exposed).
    • Approval UI: Ask for approval.
    • GitHub plugin and GitHub connected app both installed/enabled. GitHub Codex Connector is installed/authorized at the provider; this does not prove runtime tool readiness.

    Minimal read-only reproduction

    1. In a desktop project chat, request GitHub account/repository metadata through the already connected GitHub plugin.
    2. First attempts to invoke codex_apps/github.get_user_login and codex_apps/github.get_repo fail with is not available to the model.
    3. Explicitly select the GitHub plugin with the chat composer + picker (the agent then reports seeing the plugin and its tool definition).
    4. Ask for one read-only repository metadata lookup using only the selected GitHub plugin.

    Actual result

    MCP tool `codex_apps/github.get_repo` is not available to the model
    

    No repository metadata was returned. No shell commands, local file reads/writes, connector mutations, agent delegation, or Goal activation were performed as part of this reproduction.

    Expected: A declared and enabled GitHub read tool should execute or produce an actionable connection/authentication error.

    Important limitation: This is a UI-observed failure and agent-reported tool error. I have not inspected MCP startup/handshake logs, so I cannot establish that HTTP response decoding is the root cause on this machine; it is only consistent with the symptom described here and in #54645.

    This adds a later Desktop version and shows that explicit attachment of the GitHub plugin in the composer does not resolve the problem. Please advise on an officially supported diagnostic/recovery procedure for the Windows app without reinstalling connectors or changing account permissions.

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

    appbugconnectivitymcpskillswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions