Skip to content

[Windows][Work] App controls fail with MCP -32000 while fresh native Codex controls succeed; create/send/read workarounds also fail #56421

Open

Description

@Dohram

Summary

On Windows, native app-management tools exposed to an existing ChatGPT Work conversation consistently fail with MCP -32000, while a newly created native Codex conversation on the same installation reports successful results for the same read-only controls.

This report is submitted at the account owner's explicit request following the tests below on October 23, 2026 (America/Chicago). It adds a same-machine native-versus-Work comparison, a new-Work-chat reproduction, and unsuccessful existing-thread and new-thread workaround attempts.

Environment

  • Desktop app version: 26.1016.62342.
  • Build: 21477; release channel: prod.
  • Windows MSIX package identified in the local error stack: OpenAI.Codex_26.1016.8622.0_x64.
  • Windows with native PowerShell execution; exact Windows build was not collected.
  • The version/build/channel and successful native controls were reported in a screenshot supplied by the owner from the fresh native Codex test. The app version and MSIX package were also independently read locally.
  • Fresh native Codex check_app_update reported up_to_date on its configured channel. This is not a claim about every distribution or globally newest build.

Test results

Context / operation Observed result
New ChatGPT Work chat: list_threads({limit:5}) MCP -32000
Same Work chat: list_projects({}) MCP -32000
Same Work chat: list_artifacts({}) MCP -32000
Work chat: check_app_update({}) MCP -32000
Later repeated Work controls: list_projects, list_threads({limit:5}), check_app_update All MCP -32000
Owner switches top-left product selector to Codex but continues the same conversation The tests still fail. Changing the visible selector alone did not establish a new native conversation.
Owner then creates a fresh chat under Codex and runs the same test prompt Screenshot reports all three controls succeeded: list_projects returned 50 projects (5 local and 45 ChatGPT); list_threads returned 4 pinned and 10 recent chats plus sections/preferences, with no unavailable hosts/sources; check_app_update returned up_to_date.
Original Work conversation: list_threads({limit:10}), later {limit:30} MCP -32000
Original Work conversation: create_thread with a projectless native target and temporary sidebar-repair instructions MCP -32000; no usable new thread ID returned. Creation was not confirmed and was not retried.
Original Work conversation: send_message_to_thread targeting the exact existing local native repair chat ID MCP -32000; delivery unconfirmed.
Readback using read_thread for that same known existing chat, turnLimit:1, includeOutputs:false MCP -32000; cannot reconcile delivery from this context.
Local PowerShell inspection Works; app logs and a local thread-title index were readable.

The exact existing destination ID was resolved from the local thread-title index after listing failed. No conversation database was modified or used to inject messages. Private titles, IDs, project contents and paths are omitted here.

Common error

tool call error: tool call failed for codex_app/<method>
Caused by:
    Mcp error: -32000: MCP error -32000: Codex app tool request failed

These are application-level isError results, not successful calls merely because an outer orchestration promise resolved.

Local log evidence

Read-only inspection found contemporaneous native-pipe warnings:

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

Examples from October 23 UTC: 09:00:35.866, 09:00:35.994, 09:00:36.132 and 09:07:14.885. The first three align in time with the three-control failure round. The log stack points to main-CT5a1yCd.js:101:34853 and :101:33038 inside the MSIX app.

The native tools server also reports ready in local startup logs. A bounded search of that day's inspected desktop log files did not return the specific strings remote_unavailable, failureReason=open_timeout or renderer is unavailable. Absence from that search does not prove those conditions never occurred.

No end-to-end correlation ID or live provider-selection trace was obtained. The logs establish premature app-tool termination, not the precise internal cause.

Reproduction

  1. Use a ChatGPT Work conversation with the Windows computer as its local executor.
  2. Ask it to call list_projects, list_threads and check_app_update through the advertised codex_app interface.
  3. Observe generic MCP -32000 failures while local shell work remains available.
  4. Switch the desktop product selector to Codex and explicitly create a NEW chat.
  5. Ask the fresh native chat to perform the same three read-only checks.
  6. Compare the results. In this incident the new native chat succeeded.
  7. Return to the original Work chat and try creating a projectless native chat or messaging an exact known existing native chat. Both paths failed here.

Impact and additional owner observations

The owner cannot organize existing projects/chats or delegate that repair to the working native chat from Work. The user must manually transfer instructions between conversations.

The owner also reports:

  • Different/missing sidebar items when switching between ChatGPT and Codex.
  • Portions of a conversation appearing to disappear.
  • First launch sometimes shows a blank white window and exits; a second launch loads.

These are owner-reported symptoms. Some sidebar differences may reflect the documented separate product history views. Actual deletion, history loss, a common cause with the tool failures, and a deterministic launch-crash reproduction have NOT been established.

Expected behavior / request

Please investigate caller-context routing, provider selection and result lifecycle for app tools in existing and new ChatGPT Work conversations. If a route is unsupported, return an actionable eligibility error rather than advertising controls that end with a generic null-result failure.

Please provide a supported repair/migration that preserves chat/project identities, history, authorization and sidebar organization. Acceptance should cover native listing/reading, known-thread messaging with verified receipt, projectless creation with a verifiable ID, and existing-session operation after restart.

Related reports: #53177, #53126, #55897. A common root cause is not asserted; please consolidate if appropriate.

No credentials, account email, machine name, private conversation/project content, raw screenshots or raw log bundles are included. No app-code patching, security weakening, database edits, reset or reinstall was performed during these tests.

Activity

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

    @rthomann431-hub

    Additional Windows reproduction and diagnostic evidence from #56969 (being consolidated here).

    Reproduced October 25, 2026 on Windows x64 MSIX app 26.1021.3705.0, local app-server 0.164.0-alpha.11.1. In ChatGPT Work with the local Windows executor, both list_projects({}) and list_threads({limit:1}) immediately return MCP -32000, Codex app tool request failed. Restarting the app and trying a new conversation did not resolve it. Codex mode loads existing chats and the separate computer-use connection works; we did not independently validate native Codex tool calls.

    Before and after restart, desktop logs report:

    [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 pipe starts successfully and the bundled plugin is registered with server.mjs present.

    Read-only inspection of the installed app bundle found the window tool capability handler beginning with:

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

    The inspected routing code skips windows when canCallTool returns false and returns null if none handles the call. The native bridge throws the exact log message above when the result is null. This is evidence for a likely failing route, not confirmation of whether the rejection is intentional or a regression. Engineering should verify whether ChatGPT Work should support these calls or whether the tools are incorrectly advertised in this context.

    No application code, configuration, credentials, security settings, or repository files were modified during diagnosis. Submitted by an AI assistant at the account owner's explicit request; private paths and raw logs omitted.

  3. XgrislyX commented on Nov 2, 2026

    @XgrislyX

    Additional Windows reproduction, November 1, 2026 (America/Chicago).

    Desktop app 26.1027.30824, build 22943, prod; MSIX package 26.1027.3384.0; bundled CLI 0.166.0-alpha.5.1. A supported read-only desktop update check returned up_to_date for the configured updater/channel. No update, restart, install or authentication change was performed.

    The native Codex conversation can list chats, read a known chat, and send a scoped message to an existing ChatGPT Work conversation using supported app tools. The exact destination received and acknowledged two challenge messages. The reverse Work-to-Codex send uses the verified native destination ID and host local but returns -32000: Codex app tool request failed. This is not explained by an incorrect recipient ID.

    The desktop log at 2026-11-01T23:33:04.582Z records component dynamic-app-tools-native-pipe, method tools/call, error The app tool call ended before producing a result. The per-attempt Work receipt was written after the failure at 23:33:45Z; it did not independently instrument the exact invocation timestamp. Correlation is therefore temporal, not an end-to-end request-ID proof.

    Static reading of the installed archive confirms the current renderer canCallTool delegates to KO in webview/assets/initialize-app-host-services-949d83ec96b3.js. KO begins with the unconditional condition if(t.callerSource===chatgpt)return!1 before thread ownership checks. The member SHA256 is 3e6585bbbe3223fe0f99ba53cb413e7a7a0cc601740b1e0dc879499491c4b17b. The main dispatcher WD tries registered ready views; declining views can lead to null, which c0 rejects and cX wraps as -32000. This matches the earlier diagnostic in #56969. It does not establish whether a separate remotely loaded ChatGPT-capable view should have accepted the call.

    A single further supported direct-message test was run after supported navigation opened the existing Work conversation. It also returned isError=true and -32000. The Work wrapper recorded start 2026-11-01T23:44:55.605Z and end 2026-11-02T00:01:00.271Z; that interval alone does not establish network latency or the internal failure time. The packaged desktop log records the same native-pipe tools/call null-result failure at 2026-11-02T00:01:00.233Z, 38 milliseconds before the Work receipt. This is a strong temporal match, still without a common request ID. Making the conversation visible did not produce a verified direct return.

    Separately, bounded read_thread calls on the ChatGPT conversation returned the delivered user messages but did not expose an assistant acknowledgment, even after status became idle and with includeOutputs both false and true. A builder-led normal-assistant-reply pull workaround was not verified. Shared-file response receipts do work but do not satisfy the requested direct communication.

    Please clarify intended ChatGPT Work support and provide a supported repair that preserves existing conversations/projects. If unsupported, the tool catalogue should give an actionable context limitation rather than a generic null-result failure. Requested acceptance: actual bidirectional direct message delivery and acknowledgment between an existing native Codex conversation and the existing ChatGPT Work conversation; successful readback; background/foreground operation; existing sessions preserved.

    No installed source was executed or patched, caller identity forged, live database modified, security restriction bypassed, credentials inspected, native production project changed, legacy history loaded, or extra thread created. This report omits private account/machine identities, conversation IDs/titles, project paths/content, screenshots and raw logs.

  4. korsun009 commented on Nov 5, 2026

    @korsun009

    Additional reproduction on Windows, November 5, 2026. Posting at the affected user's explicit request.

    Verified environment

    • Desktop app: 26.1029.61003, build 24614, release channel prod (supported check_app_update result).
    • Windows MSIX package: 26.1029.7803.0, x64.
    • Windows 11 Pro Insider Preview, OS build 26340.
    • Supported update check returned up_to_date for the configured updater/channel. This is not a claim about every release channel.

    Same-machine functional comparison

    Operation Native Codex conversation Existing ChatGPT Work conversation
    List local Codex conversations Succeeds MCP -32000, Codex app tool request failed
    Read a verified existing local Codex conversation Succeeds Same MCP -32000
    Run a harmless local PowerShell command Succeeds Succeeds: Get-Date and a machine-identity check returned exit code 0
    Deliver a scoped diagnostic prompt from Codex to the existing Work conversation Succeeds; the Work response was subsequently read back Receiving the prompt works, but its app-tool calls fail as above

    The Work diagnostic was explicitly limited to read-only operations. It did not attempt to resume the user's unrelated development project or change configuration.

    Runtime diagnostic evidence

    The two failing Work app-tool operations align with these desktop log entries:

    2026-11-05T19:52:04.816Z
    2026-11-05T19:52:04.921Z
    [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed
    errorMessage="The app tool call ended before producing a result"
    method=tools/call
    

    These are temporal matches, not shared end-to-end request-ID correlation.

    Read-only inspection of the installed bundle

    The installed renderer member webview/assets/async/24191.589dcc9878.js contains a dynamicAppTools.canCallTool implementation delegating to a function with an early rejection for callerSource === "chatgpt", before the thread metadata/ownership lookup. This is consistent with the earlier inspection reported in this issue.

    The bundled MCP server sets callerSource to chatgpt when started with --interaction-client-id. In the desktop main process, the window-routing loop skips views whose capability check returns false; if no view accepts the call, it returns null. The native-pipe layer turns that null result into the exact error shown above and wraps it as MCP -32000.

    An isolated diagnostic executed only the extracted capability function with mocked dependencies: the ChatGPT caller returned false without a metadata lookup; a native Codex caller with mocked owner metadata returned true. This verifies the local function's branch behavior, not the entire application architecture. It does not establish whether a different ChatGPT-capable view is intended to accept the request, or whether the current rejection is an intentional eligibility rule.

    Network failure was isolated separately

    An earlier VPN transport outage was recovered before the final Work test. With the configured system proxy enabled and no ChatGPT/OpenAI bypass entries, explicit-proxy HTTPS checks to ChatGPT and the Work registry succeeded. The local Work executor remained connected, and the Work shell command succeeded. The app-tool failures above persisted after network recovery; they should not be treated as proof that the local executor is offline.

    Requested resolution

    Please investigate the supported Work-to-desktop app-tool route and its capability advertisement. If supported, verify listing and reading existing native Codex conversations from an existing Work conversation, followed by a user-authorized message and verified acknowledgment. If unsupported, omit ineligible tools or return an actionable unsupported-context error instead of a generic connection-like failure.

    Please preserve existing conversation identities and history. No installed application/plugin code was patched, caller identity forged, private IPC invoked, database edited, or authorization check bypassed. Private account/machine identities, conversation IDs/content, local user paths, raw screenshots, credentials, and raw log bundles are omitted.

  5. TheFamousWolf commented on Nov 6, 2026

    @TheFamousWolf

    Additional Windows reproduction — November 6, 2026

    This appears consistent with the Work-versus-Codex failure and callerSource handling already described in this issue. It adds evidence from app 26.1103.31037 / build 25241, including successful native comparisons for all five affected operation categories.

    Environment

    Component | Observed value -- | -- OS | Windows; exact OS build not collected App-reported version | 26.1103.31037 App build | 25241 Installed release channel | prod Configured updater result | up_to_date Windows package version in stack traces | 26.1103.3517.0 Bundled codex-app-tools version | 26.1103.31037

    Installed-code findings

    Read-only inspection found the same apparent rejection path reported earlier in this issue:

    Work request marked callerSource="chatgpt"
        → renderer canCallTool returns false
        → declining windows are skipped
        → dispatch returns null if no capable window accepts
        → native pipe throws “ended before producing a result”
        → caller receives generic MCP -32000
    Exact code locations and excerpts

    1. Caller origin

    File:

    codex-app-tools/26.1103.31037/server.mjs

    Line 34615:

    callerSource: interactionClientId == null ? "codex" : "chatgpt",

    2. Renderer eligibility rejection

    Archive member:

    app.asar/webview/assets/async/182735.e33af7cdca.js

    Line 659, inside canCallTool:

    if("chatgpt"===t.callerSource)return!1;

    This returns false before subsequent conversation eligibility checks.

    3. Window dispatch

    Archive member:

    app.asar/.vite/build/early-bootstrap-715-fa9cbf44c39465d5.js

    At line 1476, callDynamicAppTool checks ready windows’ dynamicAppTools.canCallTool(request), skips declining windows, and returns null when capable windows exist but none accepts the request.

    4. Error conversion

    The same archive member, line 1597:

    if(null==p)throw Error("The app tool call ended before producing a result");

    The catch handler logs the underlying exception and returns:

    {code:-32e3,message:"Codex app tool request failed"}

    Inspected file SHA-256 values

    server.mjs
    f0f5230dd7701317bc9dafb589901eb24fc504d9b92520169e934278ed5a82e8
    

    webview/assets/async/182735.e33af7cdca.js
    2ff6c3b6fdf3f05660a3ac0ddd672f57dba25dd7588c194d60cba5b1984067a6

    .vite/build/early-bootstrap-715-fa9cbf44c39465d5.js
    3b5ee7283c5eacba779052798b5a78c9b423583bf4c5e94f6ee9d98e446362ab

    Impact and request

    The existing Work conversation cannot discover projects/chats, read its existing collaborating Codex chats, or retrieve usage through these tools.

    The installed-code path is consistent with the observed results, but does not establish whether the caller rejection is intentional or whether another ChatGPT-capable route should accept the request.

    Please investigate the supported Work-to-desktop app-tool route. If these operations are supported, acceptance should include all five read-only operations from an existing Work conversation while preserving existing chat identities/history. If unsupported, please avoid advertising ineligible tools or return an actionable context restriction instead of generic -32000.

  6. chenzilunqq-pixel commented on Nov 11, 2026

    @chenzilunqq-pixel

    补充复现:2026 年 11 月 11 日(北京时间),经受影响用户明确授权提交。

    环境:

    • 微软视窗 11,64 位,系统版本 10.0.26300。
    • 内置更新接口:应用版本 26.1103.60933、构建 25894、正式通道,状态 up_to_date。
    • 微软应用包版本:26.1103.7773.0;捆绑命令行:0.167.0-alpha.3.2。这些是不同的版本字段。

    同机对比:

    • 用户报告新建的工作对话中,用量查询及另一项只读桌面工具持续返回 -32000: Codex app tool request failed;重启和新建工作对话后仍复现。
    • 本机编程任务对话中,get_usage_limits、list_threads、read_thread 和 check_app_update 已成功返回。对话读取曾有个别未找到结果,不能说所有目标均可读取。
    • 桌面日志在多个工作工具失败时段反复记录 dynamic_app_tools_request_failed、method=tools/call,内部错误为 The app tool call ended before producing a result。
    • 本地工作执行器连接仍在线,不能将上述错误简单归为整台电脑离线。

    只读检查当前安装代码,窗口接收函数存在 callerSource === "chatgpt" 时提前返回 false 的分支;主进程会跳过不接受请求的窗口,无接收者时空结果被包装为上述错误。这与本故障单现有调查一致,但没有完整请求标识的端到端追踪,也不能确认是否本应存在另一个工作模式接收者。

    同一用户还提供截图:新任务页面已选择“工作”,显示“完全访问”;首条消息发送后权限入口消失,回复结束后仍未回来,输入框仍显示工作模式。该界面症状补充至 #56882;两者共享根因尚未证实。本地保存的首页模式为 work,权限入口显示选项为 true。

    另发现的 /conversation/init 无权访问响应,经代码追踪属于附件状态查询,未将其作为本故障根因。通过官方本地命令行读取用量可成功,只是单项备用方案,未修复工作模式的应用工具连接。

    请核验工作模式的受支持工具转发路径,并提供保留已有对话、项目及历史的修复方式。验收应包括:在受影响工作对话内成功调用上述只读桌面工具,且权限入口显示实际状态或明确解释不可修改的原因。

    未改写安装文件、伪造调用来源、绕过权限检查或修改聊天数据库。此评论不包含账号标识、私有对话或项目标识、本机路径、原始日志和截图。

  7. cced07-code commented on Nov 13, 2026

    @cced07-code

    补充复现:2026-11-12(America/Vancouver),2026-11-13 再次检查更新。

    环境:Windows x64 MSIX,桌面应用 26.1106.51428,构建 26605,prod;Windows 包版本 26.1106.6628.0。两次受支持的 check_app_update 均返回 up_to_date,仅代表当前配置的更新渠道。

    同机对照:

    • 新建的本地原生 Codex 聊天多次成功调用 list_threads(limit=1) 和 load_workspace_dependencies;后者返回依赖包版本 26.1112.11011。
    • 原 Work 聊天重新执行同样两项工具,仍均返回 MCP -32000: Codex app tool request failed。
    • 从原生 Codex 使用 read_thread 读取原 Work 的两个复测回合,确认工具调用状态为 failed,耗时分别为 127 ms 和 123 ms。

    桌面日志在 2026-11-13T05:01:39.317Z 和 2026-11-13T05:01:53.208Z 记录 dynamic_app_tools_request_failed / method=tools/call,内部错误为 The app tool call ended before producing a result。时间吻合,但没有共同请求标识的端到端追踪。

    只读检查当前安装归档,renderer 的 canCallTool 仍包含 callerSource === "chatgpt" 时返回 false 的分支;主分发器跳过不接收请求的窗口,并可返回 null;native-pipe 随后把空结果包装为上述 -32000。与现有报告一致,但尚不能证明本次调用一定经过该分支,也不能确定是否本应另有 Work 专用处理方。

    排查时发现,普通用户目录与 MSIX 隔离目录对同名 executor 插件呈现不同文件视图。曾将隔离目录内的 5 个已安装官方插件文件补齐到普通目录,复制后哈希一致、MCP 初始化与工具列举成功,但原 Work 实际调用仍失败。随后核验哈希,仅撤回本次新增的 5 个副本,原插件与隔离目录未动。这个尝试不能视为修复。

    请确认既有 Work 会话的受支持桌面工具分发路径,并提供保留会话、项目和历史的修复。验收应要求原 Work 会话内上述两个工具实际成功返回,不能仅以原生 Codex 成功或 MCP initialize/tools/list 成功代替。

    未改写应用或插件代码、未修改登录或权限设置、未伪造调用来源、未改动聊天数据库。本补充不含账号信息、私有聊天或项目标识、本机用户路径、原始日志、截图或凭据。

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-serverbugmcptool-callswindows-os

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions