Skip to content

fix: align widget host integration with MCP Apps - #7

Merged
UnlastingR merged 3 commits into
mainfrom
fix/chatgpt-widget-host-runtime
Aug 24, 2026
Merged

fix: align widget host integration with MCP Apps#7
UnlastingR merged 3 commits into
mainfrom
fix/chatgpt-widget-host-runtime

Conversation

@UnlastingR

Copy link
Copy Markdown
Collaborator

Summary

  • use the MCP Apps ui.resourceUri path without the legacy openai/outputTemplate alias
  • bump the workspace widget resource URI to v2 so ChatGPT does not reuse stale widget/template state
  • update @modelcontextprotocol/ext-apps from 1.7.2 to 1.7.5
  • bump card probe/app bridge identifiers for browser-side verification

Context

ChatGPT web intermittently reports Runtime error while console logs show missing host methods such as notifyMcpAppsHostContext and setWidgetView, alongside stale/empty iframe restore loops. Current OpenAI docs recommend MCP Apps standard metadata for new UI and treating the resource URI as a cache key.

Validation

No local tests or builds were run. Validation is delegated to GitHub Actions.

@UnlastingR
UnlastingR merged commit 233b252 into main Aug 24, 2026
5 checks passed
@UnlastingR
UnlastingR deleted the fix/chatgpt-widget-host-runtime branch August 24, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant