Skip to content

Feature request: supported, caller-bound way for an MCP/agent integration to send a message into an existing ChatGPT desktop conversation, with typed outcomes #61734

Open

Description

@johnsbartholomew-star

What variant of Codex are you using?

App (ChatGPT desktop, macOS)

What feature would you like to see?

Summary
We're building a model-independent coordination layer (NuraHarness) that needs one agent to post a message into an existing ChatGPT desktop conversation and confirm it landed. Inside the desktop app this capability clearly exists: send_message_to_thread and read_thread run through the renderer's dynamic app tool dispatch all day for first-party callers. There is no supported way for an external integration to use it with a host-issued caller identity, and failures come back as an opaque -32000 with no reason or request ID.

Environment

  • macOS, ChatGPT desktop 26.1106.51428 (build 26605)
  • Bundled codex-app-tools plugin 0.1.6
  • Desktop-owned app-server runs over stdio; the standalone daemon control socket refuses connections, so no external client can attach to the Desktop runtime

What we observe

  • From an integration, read_thread and send_message_to_thread fail with ProtocolError -32000, "Codex app tool request failed". The desktop log shows dynamic_app_tools_request_failed with "The app tool call ended before producing a result".
  • Some failures happen before any dynamic_app_tool_renderer_execution_started event, which fits no renderer window accepting the caller. One send reached the renderer and failed 1 ms later, which fits target resolution returning null.
  • On 2026-11-14, 71 of 73 send_message_to_thread renderer starts came from first-party callers, so the path works; it just isn't exposed with a legitimate identity for integrations.
  • Even a successful send returns only { threadId }, which isn't dispatch acceptance, so delivery can't be confirmed without a separate read.
  • send_message_to_thread is approval_mode "prompt" by default, so in headless runs it's effectively hidden unless named explicitly.
  • When the call starts from a ChatGPT chat via a connector, it can be stopped by "This tool call was blocked by OpenAI's safety checks", with no category or request ID (see [ChatGPT → Codex][Remote MCP] Opaque safety block propagates into repeated refusal without native approval or recovery #52095).

What we're asking for

  1. A supported, documented way for an authorized integration to send into a specific existing conversation the user owns, bound to a host-issued caller identity rather than one the integration asserts.
  2. Typed outcomes instead of -32000: NOT_FOUND, ALREADY_RESPONDING, DISPATCH_ACCEPTED, DISPATCH_OUTCOME_UNKNOWN, plus the created message or turn ID when available.
  3. A request or correlation ID on tool-call failures and on safety-check blocks, so false positives can be reported precisely.
  4. If this is intentionally out of scope for integrations, a clear statement saying so.

We are not asking to bypass approvals or safety checks, and we haven't modified the app or its trust checks. Related: #47425, #55023, #52095.

Happy to share redacted logs and timestamps privately.

Additional information

No response

Activity

  1. added
    app
    app-server
    mcp
    on Nov 16, 2026
  2. jkaster commented on Nov 28, 2026

    @jkaster

    We have the same integration requirement for Sonde peer messaging. A Desktop agent can resolve its already-open Codex thread through the bundled read_thread tool. Our separate app-server thread/resume test correctly rejected a second writer. We need the background Sonde process to ask the existing Desktop owner to deliver one authorized peer event to that exact thread, without a restart, session transfer, or new login.

    Is there a supported caller-bound API for this in the current Desktop build? If so, what is its transport, grant flow, minimum version, and typed result contract? Our acceptance test needs to distinguish accepted, rejected, and unknown delivery and reconcile a retry by delivery ID. Sonde records its durable peer acknowledgment separately; host admission alone is insufficient.

  3. jkaster commented on Nov 28, 2026

    @jkaster

    The exact already-open Desktop chat now received our fixed queue wake without a restart or login. We recorded the observed behavior and the remaining per-chat MCP attachment gap in #61773: #61773 (comment)

  4. karitet commented on Nov 30, 2026

    @karitet

    Please provide an official MCP server and CLI for ChatGPT Desktop on both macOS and Windows. I’d like to choose an existing ChatGPT conversation, grant a local tool access to that conversation, and let it send a message and read the reply. A CLI would let me do the same from my terminal.

    There’s some irony in OpenAI encouraging developers to make their tools available to ChatGPT through MCP while I can’t find a documented way to use ChatGPT Desktop from my own tools through the same protocol. If OpenAI promotes MCP as a best practice for interoperability, it should hold its own products to that same standard. ChatGPT Desktop would be a good place to lead by example.

  5. ivanmolinarolo commented on Nov 30, 2026

    @ivanmolinarolo

    Is there a supported route for this specific cross-workspace case? A conversation in a Personal/Plus workspace delegates a task to a published Workspace Agent in a separate Business workspace. The documented trigger API can queue the Business run, and the agent can write its result to a configured destination. The missing step is delivering that result to the exact existing Plus conversation and starting a new turn there, without manual copy-paste or merging the workspaces.

    Does ChatGPT Desktop or Work expose a documented, permission-scoped way to do this today, including confirmation that the specific Plus conversation received the result and started processing it? If there is a supported route, which workspace and client prerequisites apply, and what delivery or turn identifier can the caller verify?

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-serverenhancementmcp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions