The Problem
Different AI platforms use different APIs to communicate with embedded widgets:- ChatGPT uses the Apps SDK with
window.openaiglobal - MCP Apps use JSON-RPC postMessage protocol (MCP ext-apps spec)
Skybridge’s Solution
Skybridge introduces an adaptor layer that normalizes these differences: Skybridge automatically detects which runtime is available and uses the appropriate adaptor.Benefits
Future-Proof
As new AI platforms adopt MCP, your widgets will work without code changes
No Vendor Lock-in
Ship to ChatGPT today, expand to Claude and others tomorrow
Single Codebase
One set of hooks, one mental model, multiple platforms
Graceful Degradation
Platform-specific features degrade gracefully with clear warnings
Runtime Compatibility
Not all features are available on all platforms. See the API Reference for a full compatibility matrix. Key differences:useFilesis Apps SDK onlyuseRequestModalMCP Apps support coming soon (will render in-iframe)useDisplayModedoesn’t support “modal” mode in MCP AppsuseWidgetStateis Apps SDK only
Related
- Apps SDK (ChatGPT) - ChatGPT-specific features and APIs
- MCP Apps - MCP ext-apps specification details
- API Reference - Full hook compatibility matrix
