Hi, I’m building a private ChatGPT MCP app and would appreciate help identifying the next meaningful diagnostic step for a widget-rendering failure.
Environment:
- ChatGPT Web, private/developer-mode MCP app, OAuth-protected integration.
- MCP server hosted in isolated Vercel staging; SDK-based reference widget using @modelcontextprotocol/ext-apps@2.0.3.
- The minimal reference advertises a ui:// resource in _meta.ui.resourceUri (with the matching compatibility output-template pointer) and serves text/html;profile=mcp-app.
- This is not a public release or production deployment.
Observed on 17 October 2026:
- A real ChatGPT tool call ran, but the host displayed “Couldn’t display [app name redacted].” Not even a deliberately visible pre-JavaScript “PRE-INITIALIZATION” marker appeared.
- A retained browser GET to /backend-api/ecosystem/widget at 07:53:31.221 UTC returned HTTP 200 after approximately 10.76 seconds, with the expected template pointer. A separate server-side MCP resources/read check also returned the expected HTML successfully.
- Later, after the controlled test had ended and staging had been reprotected, I clicked “Try again” in the same conversation. Without changing the reference-widget code, it rendered the pre-initialization marker, initialized the SDK, reported host readiness and displayed the fixed sample result (persisted:false).
- The successful retry’s Network capture was not retained. I cannot establish which host lookup, iframe, CSP or bridge step failed initially, or whether this was timing, cache, app-definition/session binding or another cause.
Other relevant evidence: protected text-only MCP tool calls, model-authored output and verified durable save/readback worked in ChatGPT. The larger authored receipt widget failed to render in earlier trials too. Thus this is not evidence that the entire MCP/auth/backend pipeline is broken, but it also does NOT prove a ChatGPT host defect.
Questions:
- For HTTP 200 from /backend-api/ecosystem/widget with the expected template pointer but no visible pre-JS marker, what is the most discriminating host-side diagnostic for template resolution versus iframe creation versus script execution? Does 200 confirm any of those later stages?
- Could app/tool/session binding or approval-state transitions explain an initial failure followed by a successful same-conversation retry? What fields could be checked in an EXISTING sanitized HAR without exposing credentials?
- An October 9 OpenAI response mentioned a fix for lost linked-tool identity causing “HTML asset not found.” That report involved a different HTTP failure. Is this 200-response symptom known to be covered by that fix, or should it be handled separately?
Related discussions (similar symptoms, not confirmed common root causes):
- First render fails; Try Again works: ChatGPT APP Not rendering UI on first response
- OAuth/approval transition and missing template: Dev mode: "Always allow" on a tool approval silently drops the connector session — forces OAuth re-link, widget fails with "Failed to fetch template" · Issue #225 · openai/openai-apps-sdk-examples · GitHub
- OpenAI’s linked-tool identity fix discussion: Bug: widget api fails when requesting resource
I have an existing private OpenAI Support case (#17389636). Support has received the sanitized initial-failure HAR and failure/success screenshots. I will not publish HAR files, authentication data, private conversation links or infrastructure identifiers here. Is there a specific host-side event or safely shareable observation that would allow Support or an Apps SDK engineer to discriminate these failure stages without another staging reactivation?
Thanks for any concrete guidance.