Build ChatGPT apps with interactive widgets using mcp-use and OpenAI Apps SDK. Use when creating ChatGPT apps, building MCP servers with widgets, defining React widgets, working with Apps SDK, or when user mentions ChatGPT widgets, mcp-use widgets, or Apps SDK development.
View on GitHubskills/chatgpt-app-builder/SKILL.md
February 3, 2026
Select agents to install to:
npx add-skill https://github.com/mcp-use/mcp-use/blob/main/skills/chatgpt-app-builder/SKILL.md -a claude-code --skill chatgpt-app-builderInstallation paths:
.claude/skills/chatgpt-app-builder/# ChatGPT App Builder Build production-ready ChatGPT apps with interactive widgets using the mcp-use framework and OpenAI Apps SDK. This skill provides zero-config widget development with automatic registration and built-in React hooks. ## Quick Start **Always bootstrap with the MCP Apps template:** ```bash npx create-mcp-use-app my-chatgpt-app --template mcp-apps cd my-chatgpt-app yarn install yarn dev ``` This creates a project structure: ``` my-chatgpt-app/ ├── resources/ # React widgets (auto-registered!) │ ├── display-weather.tsx # Example widget │ └── product-card.tsx # Another widget ├── public/ # Static assets │ └── images/ ├── index.ts # MCP server entry ├── package.json ├── tsconfig.json └── README.md ``` ## Why mcp-use for ChatGPT Apps? Traditional OpenAI Apps SDK requires significant manual setup: - Separate project structure (server/ and web/ folders) - Manual esbuild/webpack configuration - Custom useWidgetState hook implementation - Manual React mounting code - Manual CSP configuration - Manual widget registration **mcp-use simplifies everything:** - Single command setup - Drop widgets in `resources/` folder - auto-registered - Built-in `useWidget()` hook with state, props, tool calls - Automatic bundling with hot reload - Automatic CSP configuration - Built-in Inspector for testing - Dual-protocol support (works with ChatGPT AND MCP Apps clients) ## MCP Apps vs ChatGPT Apps SDK mcp-use supports multiple widget protocols, giving you maximum compatibility: | Protocol | Use Case | Compatibility | Status | | ---------------------------------------- | ---------------------- | ----------------------------- | --------------- | | **MCP Apps** (`type: "mcpApps"`) | Maximum compatibility | ChatGPT + MCP Apps clients | **Recommended** | | **ChatGPT Apps SDK** (`type: "appsSdk"`) | ChatGPT-only features | ChatGPT only