You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Windows desktop: Gmail catalogue tools have undefined runtime bindings after reported codex_apps initialization failure #48154
appIssues related to the Codex desktop appbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverstool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
In Codex desktop on Windows, Gmail tools appeared in the tool catalogue after a reset, but could not be invoked through the execution runtime. Support recommended filing a GitHub issue and including the in-app Feedback IDs below so uploaded log bundles can be correlated.
Gmail tools appeared in the initial tool catalogue.
Runtime inspection returned undefined for tools.mcp__codex_apps__gmail_get_profile and tools.mcp__codex_apps__gmail_list_labels.
Invoking the profile function returned: TypeError: tools.mcp__codex_apps__gmail_get_profile is not a function
Invoking gmail_list_labels also returned a matching TypeError.
These invocations failed locally before connector dispatch or Gmail authentication.
The exact gmail_get_profile entry was absent during inspection; gmail_list_labels was initially advertised but absent from a later catalogue check.
Related previously reported failure
The original support investigation reported codex_apps failing MCP initialize with error decoding response body and status failed. That earlier log was not independently inspected during the runtime reproduction above. Please correlate the uploaded logs to determine whether initialization failure caused the catalogue/runtime mismatch.
Expected behavior
Advertised tools should have callable runtime bindings once ready, or the client should clearly surface the server initialization/unavailable state instead of exposing an unusable tool.
Environment and limitations
Codex desktop on Windows.
Exact app version/build not captured in this reproduction; please consult the feedback bundles.
Interactive /mcp output was not available to the assistant and is not attached here.
mcp_optional_startup_grace_ms = 0 was suggested as an optional diagnostic but has not been applied or tested in this investigation.
No claim is made that Gmail credentials are invalid, or that changing startup timing would fix the response-decoding error.
Startup-grace diagnostic result and integration configuration:
Added top-level mcp_optional_startup_grace_ms = 0 to the user config, preserving a backup and verifying no other settings changed.
Fully quit and reopened Codex, then retried a read-only Gmail call.
First execution cell: both gmail_get_profile and gmail_list_labels appeared in ALL_TOOLS, and typeof tools.mcp__codex_apps__gmail_get_profile and the labels equivalent returned function.
Next execution cell: calling tools.mcp__codex_apps__gmail_get_profile({}) failed with TypeError: tools.mcp__codex_apps__gmail_get_profile is not a function.
A subsequent cell checked and invoked within the same cell: the profile tool was absent from ALL_TOOLS, its runtime type was undefined, and invocation again failed with TypeError.
No Gmail authentication response was obtained. The test setting remains enabled.
Configuration evidence:
No [mcp_servers.codex_apps] entry was found in the user config. This project's .codex/config.toml does not exist. Explicit user-configured MCP servers are node_repl and cua_repl.
The installed Gmail plugin cache is version 0.1.10. Its .codex-plugin/plugin.json declares "apps": "./.app.json"; .app.json declares a required Gmail app connector.
The inspected Gmail plugin manifest does not declare mcpServers, and no .mcp.json was found in that plugin cache.
Thus the evidence identifies Gmail as a plugin-provided app connector exposed through codex_apps, rather than a manually configured codex_apps MCP server. It does not establish that codex_apps itself is a standalone MCP server launched by the Gmail plugin.
The mismatch persists with the longer startup wait. This alone does not prove the proposed sequence of initialization failure followed by registry invalidation; please correlate the logs to establish the cause.
Feedback IDs: 01a0d88a-6f14-7fa3-81d1-454f2b3bd364 and 01a0d9b6-04e7-72f1-a80f-cb9902d07826. These reports predate this latest startup test.
Closing as a duplicate of #48082. The feedback IDs, runtime reproduction, startup-grace test result and integration configuration have been consolidated into the original issue description. Please follow #48082 for further investigation.
appIssues related to the Codex desktop appbugSomething isn't workingmcpIssues related to the use of model context protocol (MCP) serverstool-callsIssues related to tool callingwindows-osIssues related to Codex on Windows systems
Activity
github-actions commentedon Sep 25, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ChrisHeadford75 commentedon Sep 25, 2026
Startup-grace diagnostic result and integration configuration:
mcp_optional_startup_grace_ms = 0to the user config, preserving a backup and verifying no other settings changed.gmail_get_profileandgmail_list_labelsappeared inALL_TOOLS, andtypeof tools.mcp__codex_apps__gmail_get_profileand the labels equivalent returnedfunction.tools.mcp__codex_apps__gmail_get_profile({})failed withTypeError: tools.mcp__codex_apps__gmail_get_profile is not a function.ALL_TOOLS, its runtime type wasundefined, and invocation again failed with TypeError.Configuration evidence:
[mcp_servers.codex_apps]entry was found in the user config. This project's.codex/config.tomldoes not exist. Explicit user-configured MCP servers arenode_replandcua_repl.0.1.10. Its.codex-plugin/plugin.jsondeclares"apps": "./.app.json";.app.jsondeclares a required Gmail app connector.mcpServers, and no.mcp.jsonwas found in that plugin cache.codex_apps, rather than a manually configuredcodex_appsMCP server. It does not establish thatcodex_appsitself is a standalone MCP server launched by the Gmail plugin.The mismatch persists with the longer startup wait. This alone does not prove the proposed sequence of initialization failure followed by registry invalidation; please correlate the logs to establish the cause.
Feedback IDs:
01a0d88a-6f14-7fa3-81d1-454f2b3bd364and01a0d9b6-04e7-72f1-a80f-cb9902d07826. These reports predate this latest startup test.ChrisHeadford75 commentedon Sep 25, 2026
Closing as a duplicate of #48082. The feedback IDs, runtime reproduction, startup-grace test result and integration configuration have been consolidated into the original issue description. Please follow #48082 for further investigation.