Skip to content

Codex connected apps are installed but their callable tools are not exposed to the runtime #47839

Open

Description

@ordazm1989-prog

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

Codex App version: 26.917.71314 Build: 10954 Release channel: prod Status: up to date

What subscription do you have?

PLUS

What platform is your computer?

Sistema operativo: Microsoft Windows 11 Home, 64 bits Windows version/build: 10.0.26200 / build 26200

What issue are you seeing?

Connected apps such as Google Drive are installed and appear connected in Codex, but their callable tools are not exposed in Codex sessions.

The corresponding Google Drive/Docs/Sheets/Slides skills are installed, but the runtime does not receive the actual connector tools.

Tool inventory in an affected session

Unavailable:

Google Drive tools

Gmail tools

Google Calendar tools

tool_search

codex_apps / connected-app MCP tools

Available:

functions

collaboration

mcp__cua_repl

web tools

image tools

Codex app actions through functions.exec

Steps already tried

Removed and reinstalled the connectors/plugins.

Restarted Codex.

Updated Codex.

Created a new Codex task/session.

Verified that the connected-app skills are installed.

Inspected the callable tool inventory.

The issue persists.

Expected behavior

When Google Drive/Gmail/Calendar are connected, Codex should expose the corresponding callable tools to the session, or expose a discovery mechanism such as tool_search.

Actual behavior

The skills are visible, but no callable connector tools are injected into the runtime. tool_search and codex_apps are also absent.

Because multiple connected apps are missing simultaneously, this appears to be a runtime tool-discovery/tool-injection issue rather than an OAuth or Google Drive permission issue.

Environment

OS: [Windows/macOS/Linux]

Codex version: [version from About Codex]

Account/workspace: [personal/team/enterprise if relevant]

Date observed: September 24, 2026

What steps can reproduce the bug?

  1. Open Codex Desktop.
  2. Go to Settings and connect Google Drive. Gmail and Google Calendar can also be connected.
  3. Confirm that the connectors appear as connected and that the related Google Drive/Docs/Sheets/Slides skills are installed.
  4. Restart Codex and create a new task/session.
  5. Ask Codex to list all callable tools available in the current session.
  6. Check specifically for:
    • Google Drive tools
    • Gmail tools
    • Google Calendar tools
    • tool_search
    • codex_apps / connected-app MCP tools
  7. Observe that none of those tools are exposed to the session, even though the connectors are shown as connected.
  8. Try removing and reinstalling the connectors, restarting Codex, updating the app, and creating another new task.
  9. Repeat the tool inventory check.

The issue persists: the skills are present, but the corresponding callable connector tools are never injected into the Codex runtime.

What is the expected behavior?

When Google Drive, Gmail, or Google Calendar are connected in Codex, their corresponding callable tools should be exposed to the active Codex session.

The session should either load the connected-app tools directly or provide a discovery mechanism such as tool_search so Codex can find and invoke them when needed.

For example, after connecting Google Drive, Codex should be able to search for, open, and read accessible Drive files instead of only showing the related skills without any callable tools.

Additional information

No response

Activity

  1. added
    app
    on Sep 24, 2026
  2. added
    bug
    windows-os
    mcp
    on Sep 24, 2026
  3. ordazm1989-prog commented on Sep 25, 2026

    @ordazm1989-prog
    Author

    Additional diagnostics from Windows 11:

    • Google Drive, GitHub, and Meetup are installed, and Codex has been restarted.
    • The callable tool inventory in another Codex task does not expose these connectors.
    • In a separate chat, a connector was discoverable, but invoking it failed with unsupported call.
    • Switching to another available model did not resolve the failure.
    • The exact failing tool name and raw call payload were not retained in the transcript.

    This extends the report beyond Google integrations. The same missing-tool or dispatch failure appears to affect multiple connected apps. Please advise which diagnostic logs would help.

  4. harvey-elaine commented on Sep 26, 2026

    @harvey-elaine

    Additional reproduction with a deterministic version boundary:

    • Google Drive/Sheets connector calls succeeded on September 22, 2026 at 9:29 AM ET in Codex Desktop 26.915.31029.
    • After updating to 26.915.31945, the first codex_apps failure appeared at 8:16 PM ET that day.
    • The same failure persisted on 26.917.71314 and the current 26.924.22138 release, including after a full Windows reboot and in a fresh task.
    • Google Drive plugin 0.1.16 remains installed, Apps are enabled, and neither WinINET nor WinHTTP has a configured proxy.
    • The repeated log error is:
    MCP startup failed: handshaking with MCP server failed: HTTP request failed: error decoding response body, when send initialize request
    

    It is followed by:

    omitting MCP server without an exact ready client server_name=codex_apps
    

    Because this occurs before any connector-specific tool is loaded, it suggests a failure in the shared Apps MCP initialization layer rather than Google authentication. The decode failure also resembles #19576.

    Please advise whether there is a safe diagnostic bundle or additional non-sensitive transport metadata that would help.

  5. ordazm1989-prog commented on Sep 30, 2026

    @ordazm1989-prog
    Author

    Final diagnostic update (September 30, 2026; Windows 11; Avast Free re-enabled):

    • With Avast Free temporarily disabled, connected-app tools initialized and completed read operations successfully, including a Google Drive spreadsheet read.
    • After Avast Free was re-enabled, Google Drive profile retrieval succeeded in this Codex task.
    • In the same post-reactivation test, the Upwork profile call failed with a transport error: “HTTP request failed: error decoding response body”.
    • This mixed result does not show that Avast caused or resolved the earlier MCP initialization failure. It does show that Drive is currently callable while Upwork is not, so the issue may vary by connector or call path.
    • Please advise whether this comparison changes the investigation or what non-sensitive logs/metadata would help diagnose the Upwork transport failure.

    No credentials, account tokens, file names, worksheet names, or personal file contents are included here.

  6. tlinemotors commented on Sep 30, 2026

    @tlinemotors

    Additional reproduction: fresh local scheduled task on Windows (September 30, 2026).

    A one-occurrence, read-only scheduled diagnostic was run using the existing automation's model/settings (gpt-6-luna, medium reasoning). The scheduler created a fresh local session; this was not a retry inside an old failed conversation.

    In two independent functions.exec cells, checks against the actual tools object returned typeof === "undefined" for all six required methods:

    mcp__codex_apps__google_drive_get_spreadsheet_metadata
    mcp__codex_apps__google_drive_get_spreadsheet_cells
    mcp__codex_apps__google_drive_get_spreadsheet_range
    mcp__codex_apps__google_drive_batch_update_spreadsheet
    mcp__codex_apps__gmail_search_emails
    mcp__codex_apps__gmail_send_email
    

    The Gmail profile method was also unavailable. Direct metadata/profile/search actions and supported connector-discovery tools were not exposed either. No Google API request executed, so this test did not establish an authentication or Google permission error. The scheduled task completed normally, with no task-level timeout/error.

    Restarting the app and reauthorizing Google Drive had already been tried without restoring these local sessions. A separate local diagnostic also reproduced the missing bindings.

    The canary performed no spreadsheet writes, provider lookups, or email sends. Its temporary schedule was removed afterward; existing production schedule settings were unchanged. No security settings were changed for this canary.

    This confirms the symptom in a fresh scheduled context, but does not establish the underlying cause. What supported, non-sensitive diagnostics would help investigate connector initialization/tool exposure in local scheduled sessions?

  7. ordazm1989-prog commented on Sep 30, 2026

    @ordazm1989-prog
    Author

    Matching Avast HTTPS-scanning reproduction

    I found a closely matching Windows report in openai/codex#48504. That user reproduced the same codex_apps initialization error with Avast HTTPS scanning enabled. A curl.exe probe showed malformed chunked transfer framing (the body began with { where a chunk length was expected). After disabling Avast's Enable HTTPS scanning, the MCP and OAuth metadata responses had valid framing, and the curated connector worked in a fresh Codex chat.

    I independently confirmed the same on/off correlation on my Windows machine with Avast Free: connector calls fail when HTTPS scanning is enabled and work when it is disabled. The affected connector tools fail during the shared codex_apps initialization, before a specific provider's tools load.

    This strongly points to Avast HTTPS inspection corrupting or reframing the shared MCP HTTP response. The exact codex_apps destination host is still not identified, and I have not found a verified narrow Avast domain exception that fixes this while keeping HTTPS scanning enabled. Excluding individual provider domains may therefore miss the affected traffic.

    Could you advise whether Codex can expose the Apps MCP endpoint/transport metadata needed to configure a narrowly scoped exception, or whether this needs a compatibility fix for HTTPS inspection?

  8. tlinemotors commented on Sep 30, 2026

    @tlinemotors

    That was very helpful! I found the same HTTPS scanning issue in Norton. I was able to add a narrow exception directly in Norton and it works fine now, all tools are back up and functioning fine. Will revert if / when codex addresses the issue.

  9. MarcusSPP commented on Oct 15, 2026

    @MarcusSPP

    Additional reproduction with the Vercel connector in Codex Desktop on Windows, observed October 14–15, 2026.

    Request: list the projects in the connected Vercel account. The Vercel plugin/app was explicitly mentioned in the chat.

    Observed in the affected conversation:

    • The tool catalogue exposed mcp__codex_apps__vercel_list_teams and mcp__codex_apps__vercel_list_projects, including their schemas.
    • Executing await tools.mcp__codex_apps__vercel_list_teams({}) through functions.exec immediately failed with:
    TypeError: tools.mcp__codex_apps__vercel_list_teams is not a function
        at exec_main.mjs:1:18
    
    • Between discovery and invocation, the session also indicated that the deferred connector namespaces had been removed. On another retry, the Vercel methods were absent from the catalogue altogether.
    • No Vercel API response or OAuth/permission error was received; no projects could be listed and no Vercel data was modified.
    • Re-mentioning the connector in the same conversation reproduced the failure. A new-chat test was suggested, and I reported that it did not resolve the problem.

    Expected: a discoverable connector tool remains callable, or the client provides a supported way to load it before invocation.

    The underlying cause is unconfirmed. Codex app version/build and transport logs have not yet been collected for this reproduction. Please advise which supported diagnostics would help distinguish tool exposure/lifecycle failure from MCP initialization or transport failure.

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

    appbugmcpwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions