Skip to content

Windows: ChatGPT Work exposes codex_app tools but callerSource=chatgpt is rejected with MCP -32000 #56969

Closed as duplicate

Description

@rthomann431-hub

Environment

  • Windows desktop app MSIX version 26.1021.3705.0, x64.
  • Bundled local app-server reported 0.164.0-alpha.11.1.
  • ChatGPT Work conversation using the local Windows executor.
  • Observed October 25, 2026.

Problem

The assistant can discover codex_app tools, but both list_projects({}) and list_threads({limit:1}) fail immediately:

Mcp error: -32000: MCP error -32000: Codex app tool request failed

This prevents project discovery and automated handoff from ChatGPT Work to Codex. Reproduces after fully restarting the desktop app and in another conversation. Codex mode itself loads existing coding chats, and the separate computer-use connection works.

Reproduction

  1. Open ChatGPT Work with a local Windows executor.
  2. Ask the assistant to discover and call codex_app/list_projects or codex_app/list_threads.
  3. Observe the generic MCP -32000 failure.
  4. Restart the desktop app and repeat in a new chat; same result.

Diagnostic evidence

Desktop logs before and after restart show:

[dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed
errorMessage="The app tool call ended before producing a result"
method=tools/call

The native app-tools pipe starts successfully after restart. The bundled codex-app-tools plugin is registered and its server.mjs exists, so this is not the missing-entry-file startup problem.

Read-only inspection of the installed app bundle found a window capability handler with the following early rejection:

async function WI(e,t){
  if(t.callerSource===`chatgpt`)return!1;
  // remaining implementation omitted
}

The window routing implementation skips windows when canCallTool returns false, then returns null if none handles the call. The native bridge throws The app tool call ended before producing a result when the call returns null, matching the log message. This is strong evidence for the failing path, but engineering should verify whether the rejection is intentional and the tool catalog is incorrect, or whether ChatGPT-origin calls should be supported.

Expected

Expose tools that the current conversation can actually invoke. If these tools are supported from ChatGPT Work, route the calls successfully. If unsupported, omit them or return an actionable unsupported-context message instead of a generic connection failure.

Related reports

No app code, credentials, security settings, or repository files were modified during diagnosis. This report was submitted by an AI assistant at the user's explicit request. Private paths, account details, conversation contents, and raw logs are omitted.

Activity

  1. added
    bug
    app
    windows-os
    mcp
    app-server
    on Oct 25, 2026
  2. rthomann431-hub commented on Oct 25, 2026

    @rthomann431-hub
    Author

    Closing as a duplicate of #56421 after comparing both reports. Our newer-build reproduction and the read-only callerSource/routing diagnostic evidence have been added to #56421 (comment) so they remain available in the consolidated report. This closure does not indicate that the problem has been fixed.

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

    appapp-serverbugmcpwindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions