modelcontextprotocol avatar

Migrate Oai App

Converts OpenAI Apps SDK projects to the MCP Apps SDK by walking you through the server and client-side changes. The main shift is moving from synchronous window.openai globals to an async App instance with event handlers. It clones the SDK repo for reference docs and working examples across React, Vue, Svelte, and vanilla JS. The CSP investigation step is smart: it forces you to build first and document every origin before writing migration code, since MCP apps run in sandboxed iframes where missing origins fail silently. Also maps the metadata format changes and flags features that don't have MCP equivalents yet, like file uploads and modal management.

skills.sh installs
1.1K
GitHub stars
3.1K
last updated
Aug 21, 2026

Install

$ npx -y skills add modelcontextprotocol/ext-apps --skill migrate-oai-app --agent claude-code

Installs into .claude/skills of the current project.

Files

Migrate OpenAI App to MCP

Migrate existing OpenAI Apps SDK applications to the MCP Apps SDK (@modelcontextprotocol/ext-apps). The MCP Apps SDK provides a standardized, open protocol for interactive UIs in conversational clients.

Best Practices

  • Use your package manager to add dependencies (e.g., npm install, pnpm add, yarn add) instead of manually writing version numbers. This lets the package manager resolve the latest compatible versions. Never specify version numbers from memory.
  • Preemptively add a final todo item with this exact wording: "Re-read the 'Before Finishing' checklist in this skill and address each checkbox individually, stating what you did for each one, before marking this todo complete."

Getting Reference Code

Clone the SDK repository for complete migration documentation and working examples:

git clone --branch "v$(npm view @modelcontextprotocol/ext-apps version)" --depth 1 https://github.com/modelcontextprotocol/ext-apps.git /tmp/mcp-ext-apps

Migration Reference Guide

Read the migration reference guide with "before/after" mapping tables: /tmp/mcp-ext-apps/docs/migrate_from_openai_apps.md

Sponsors

Details

Repository
github.com/modelcontextprotocol/ext-apps
Categories
Backend & APIs, AI & Agent Building
First seen
Jun 3, 2026

More from modelcontextprotocol/ext-apps

All 4
1secondsky avatarsap-btp-best-practicessecondsky/sap-skillsSAP BTP best practices for enterprise architecture, account management, security, and operations, with verification evidence tracked in the repository ledger. U1.1Kskills.sh installs
2heygen-com avatarliveavatar-debugheygen-com/liveavatar-agent-skillsTroubleshoot and debug LiveAvatar integration issues. Use when the user's LiveAvatar integration isn't working, the avatar is silent, audio is garbled, sessions1.1Kskills.sh installs
3vapiai avatarcreate-callvapiai/skillsCreate outbound phone calls, web calls, and batch calls using the Vapi API. Use when making automated calls, testing voice assistants, scheduling call campaigns1.1Kskills.sh installs
4vtex avatarmarketplace-catalog-syncvtex/skillsApply when building catalog or SKU synchronization logic for VTEX marketplace seller connectors. Covers the changenotification endpoint, SKU suggestion lifecycl1.1Kskills.sh installs
5vtex avatarmarketplace-order-hookvtex/skillsApply when implementing order integration hooks, feeds, or webhook handlers for VTEX marketplace connectors. Covers Feed v3 (pull) vs Hook (push), filter types 1.1Kskills.sh installs
6digitalsamba avatarrunpoddigitalsamba/claude-code-video-toolkitCloud GPU processing via RunPod serverless. Use when setting up RunPod endpoints, deploying Docker images, managing GPU resources, troubleshooting endpoint issu1.1Kskills.sh installs