Skip to content

macOS desktop: sidebar tools list_threads and create_sidebar_section fail with MCP -32000 #58726

Open

Description

@suhelbanerjee

Problem

The desktop assistant cannot list or organize sidebar chats because the app tools repeatedly fail. This blocks categorizing existing conversations into custom sidebar sections.

Environment

  • macOS, Apple Silicon
  • Desktop app version: 26.1027.51404
  • Build: 23880
  • Bundle identifier: com.openai.codex
  • Date observed: November 1, 2026, approximately 8 AM America/Los_Angeles

Steps to reproduce

  1. Open a desktop chat.
  2. Ask: “List my five most recent sidebar chats using the app tools. Do not change anything.”
  3. The assistant invokes codex_app/list_threads.
  4. The tool fails. The same failure reproduces in a fresh chat.

The original task also attempted codex_app/create_sidebar_section, which returned the same error. Listing failed in both recent mode and history mode with source chatgpt.

Actual result

tool call error: tool call failed for `codex_app/list_threads`

Caused by:
    Mcp error: -32000: Codex app tool request failed

codex_app/create_sidebar_section reports the same MCP error. No sidebar changes were confirmed.

Expected result

The tools should list existing chats and create custom sidebar sections, or return a specific actionable error explaining why the operation is unavailable.

Troubleshooting already completed

  • Restarted the desktop app.
  • Repeated the read-only listing test in a new chat.
  • Retried both listing modes and a section-creation request.
  • Failures persisted.

Please investigate whether this is an app-tool routing or connection regression, and advise which targeted diagnostics would help. Raw logs and conversation transcripts are omitted from this public report.

Activity

  1. added
    bug
    app
    app-server
    tool-calls
    mcp
    on Nov 1, 2026
  2. hqsaearp commented on Nov 3, 2026

    @hqsaearp

    Additional reproduction on a newer macOS build, with read-only local diagnostics.

    Environment

    • ChatGPT desktop 26.1027.61615, build 24141; bundle ID com.openai.codex.
    • macOS 27.2, Apple Silicon.
    • ChatGPT Work conversation with local execution.
    • Bundled executable: /Applications/ChatGPT.app/Contents/Resources/codex-cli/bin/codex
    • --version output: codex-cli 0.166.0-alpha.5.1 (exit 0).
    • The older documented /Applications/Codex.app/Contents/Resources/codex path does not exist here.

    Reproduction

    From the Work conversation, call codex_app/list_threads with {"limit":1}.
    Latest controlled reproduction: 2026-11-03 04:04:18 UTC (01:04:18 America/Sao_Paulo, UTC−03:00).

    Result:

    Mcp error: -32000: Codex app tool request failed
    

    The same generic error was also reproduced for list_projects, read_thread, list_artifacts and get_usage_limits. These were read-only tests; no chat changes were confirmed. A native Codex task comparison has not yet been performed.

    Matching local log

    2026-11-03T04:04:18.143Z warning [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed errorMessage="The app tool call ended before producing a result" errorName=Error
    

    The app-tools pipe starts successfully and the bundled codex-app-tools plugin is present.

    Read-only bundle inspection

    In webview/assets/initialize-app-host-services-a3479e215e83.js, the capability handler contains:

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

    The main-process routing skips windows whose canCallTool check returns false; the native bridge throws the log message above when the routed result is null.

    This is evidence consistent with the failure path, not confirmation of the intended product policy. Please confirm whether ChatGPT-origin calls should be supported; if not, the tool catalogue and error should accurately communicate the limitation. No app code, credentials or security controls were changed. Related cross-platform investigation: #56969, consolidated into #56421.

    Separate approval symptom

    In the same Work session, an authorised GitHub connector write failed with MCP tool call requires approval, but approval policy is never. The user-level config specifies on-request/auto_review, while the session reports never. A user-run ordinary Git push succeeded and the resulting remote commit was independently read back. This does not establish a common cause with the app-tools error or prove that local config controls this runtime.

    Please advise whether a fixed desktop build or an officially supported recovery path is available, and which additional minimal diagnostics engineering needs. No private chat transcripts, account identifiers, credentials or raw logs are included. A feedback Session ID linked to this reproduction is not yet available.

  3. hqsaearp commented on Nov 3, 2026

    @hqsaearp

    Additional reproduction on a newer macOS build, with read-only local diagnostics.

    Environment

    • ChatGPT desktop 26.1027.61615, build 24141; bundle ID com.openai.codex.
    • macOS 27.2, Apple Silicon.
    • ChatGPT Work conversation with local execution.
    • Bundled executable: /Applications/ChatGPT.app/Contents/Resources/codex-cli/bin/codex
    • --version output: codex-cli 0.166.0-alpha.5.1 (exit 0).
    • The older documented /Applications/Codex.app/Contents/Resources/codex path does not exist here.

    Reproduction

    From the Work conversation, call codex_app/list_threads with {"limit":1}.
    Latest controlled reproduction: 2026-11-03 04:04:18 UTC (01:04:18 America/Sao_Paulo, UTC−03:00).

    Result:

    Mcp error: -32000: Codex app tool request failed
    

    The same generic error was also reproduced for list_projects, read_thread, list_artifacts and get_usage_limits. These were read-only tests; no chat changes were confirmed. A native Codex task comparison has not yet been performed.

    Matching local log

    2026-11-03T04:04:18.143Z warning [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed errorMessage="The app tool call ended before producing a result" errorName=Error
    

    The app-tools pipe starts successfully and the bundled codex-app-tools plugin is present.

    Read-only bundle inspection

    In webview/assets/initialize-app-host-services-a3479e215e83.js, the capability handler contains:

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

    The main-process routing skips windows whose canCallTool check returns false; the native bridge throws the log message above when the routed result is null.

    This is evidence consistent with the failure path, not confirmation of the intended product policy. Please confirm whether ChatGPT-origin calls should be supported; if not, the tool catalogue and error should accurately communicate the limitation. No app code, credentials or security controls were changed. Related cross-platform investigation: #56969, consolidated into #56421.

    Separate approval symptom

    In the same Work session, an authorised GitHub connector write failed with MCP tool call requires approval, but approval policy is never. The user-level config specifies on-request/auto_review, while the session reports never. A user-run ordinary Git push succeeded and the resulting remote commit was independently read back. This does not establish a common cause with the app-tools error or prove that local config controls this runtime.

    Please advise whether a fixed desktop build or an officially supported recovery path is available, and which additional minimal diagnostics engineering needs. No private chat transcripts, account identifiers, credentials or raw logs are included. A feedback Session ID linked to this reproduction is not yet available.

  4. Hxcplayer commented on Nov 4, 2026

    @Hxcplayer

    Additional reproduction on Windows, 2026-11-04.

    Environment: ChatGPT desktop Work Mode with local execution on Windows (PowerShell). Exact desktop version/build was not collected.

    The assistant attempted to organize recent chats into existing sidebar topic sections. The following read-only calls both failed:

    {"limit":50}
    {"mode":"history","source":"chatgpt","limit":50}

    Both were calls to codex_app/list_threads and returned:

    tool call error: tool call failed for `codex_app/list_threads`
    
    Caused by:
        Mcp error: -32000: Codex app tool request failed
    

    A subsequent retry of {"limit":50} returned the same error. The chat-listing and sidebar-moving tools are exposed in the session, but listing does not succeed. No chat moves or other sidebar mutations were performed.

    This reproduces the reported symptom on Windows as well as macOS. We have not established whether the underlying cause is identical, and have not tested from a native Codex task. Please advise whether a fixed build or supported recovery path is available.

  5. Lester0504 commented on Nov 7, 2026

    @Lester0504

    Additional reproduction on macOS with a newer, unmodified desktop build. Submitted at the user's request.

    Environment

    • ChatGPT desktop: 26.1029.61003, build 24614.
    • Bundle identifier: com.openai.codex.
    • macOS: 27.3 (26C5035r), Apple Silicon (arm64).
    • Bundled CLI: codex-cli 0.166.0-alpha.6.
    • The local configuration uses a custom model provider. No default-provider control test was performed; provider endpoint and credentials are omitted.
    • Desktop app signature verifies with codesign --verify --deep --strict; the signing authority is OpenAI OpCo, LLC.
    • Multiple existing local-execution chats exhibit the failure. A separate, fresh native-Codex-versus-Work comparison has not been performed.

    Minimal reproduction

    1. Open a desktop chat with local execution and the bundled codex-app-tools tools exposed.
    2. Ask for a read-only codex_app/list_threads call with {"limit":1}.
    3. Also call codex_app/list_projects with {}.
    4. Both fail immediately:
    tool call error: tool call failed for `codex_app/list_threads`
    
    Caused by:
        Mcp error: -32000: Codex app tool request failed
    

    codex_app/read_thread also failed in controlled read-only tests, including reading the current chat rather than an unknown destination. No chat creation, messages, moves, or archives were attempted in these diagnostic tests.

    Latest paired reproduction: November 7, 2026, 12:31:42 UTC (20:31:42 Asia/Shanghai).

    Matching local evidence

    The native pipe starts, and the bundled app-tools plugin is installed. Contemporaneous desktop log entries are:

    2026-11-07T12:31:42.655Z warning [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed errorMessage="No ready app window supports app tools" errorName=Error
    2026-11-07T12:31:42.801Z warning [dynamic-app-tools-native-pipe] dynamic_app_tools_request_failed errorMessage="No ready app window supports app tools" errorName=Error
    

    Within the retained November 1-7 local logs, the first occurrence of this specific window error is November 4 at 07:13:21 UTC. Counts before the latest tests were 13 on November 4, 49 on November 5, 60 on November 6, and 40 on November 7. This is a bounded observation of available logs, not an established regression date.

    Read-only inspection of the signed bundle found:

    • The main-process routing function in .vite/build/early-bootstrap-45-628adb74a9c47df1.js enumerates ready app views, obtains their services, and throws No ready app window supports app tools if none provides the dynamicAppTools service.
    • The renderer host-services module in webview/assets/async/24191.589dcc9878.js registers dynamicAppTools. Its capability function also returns false for callerSource === "chatgpt".
    • These are distinct paths. The observed missing-ready-window/service error should not be treated as proof that the caller-source check caused this failure.

    Local shell execution and skill-file reads still work. The user notices the failure when using a local session-orchestration skill, but that skill simply calls the bundled thread tools; the same minimal calls fail without using the skill.

    Impact and request

    Agents cannot inspect existing chats through the advertised tools, which blocks session coordination. Repeated retries across chats reach the same app-level failure.

    Please investigate readiness/service registration and caller routing in this desktop build. If a context is intentionally unsupported, please exclude the tools or return an actionable eligibility error instead of a generic MCP -32000.

    Please advise whether a fixed build or a supported recovery path exists that preserves running tasks, chat history, and configuration. An automated new-window recovery could not be attempted because this session's computer-use tool refuses to control the desktop app itself. No full app restart was performed during this diagnostic round because other tasks were running.

    No application files, security controls, conversation databases, or configuration were modified. No credentials, account identifiers, private chat/project content, screenshots, or full logs are included.

  6. aronbeal-pixieset commented on Nov 12, 2026

    @aronbeal-pixieset

    Additional report on November 12: in Desktop Work 26.1103.60933 on macOS 26.6.2 (arm64), both codex_app/list_threads and codex_app/send_message_to_thread returned Mcp error: -32000: Codex app tool request failed.

    The send targeted an existing CLI thread, but delivery was not confirmed; the generic error does not establish whether the target was inaccessible. The listing failure also left the Desktop conversation ID unknown. Related: #55550.

    Are these app tools supported from this Work context, and what diagnostics would help distinguish an unsupported caller from a routing 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

    appapp-serverbugmcptool-calls

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions