
API / SDK OpenAI
OpenAI Apps SDK
OpenAI's framework for building apps in ChatGPT: an MCP server with optional interactive UI, now documented under ChatGPT plugins.
What it is
The Apps SDK lets developers bring their service into ChatGPT by building an MCP server whose tools ChatGPT can call, with optional interactive UI rendered in the chat. The UI uses the MCP Apps standard (ui:// resources and JSON-RPC over postMessage) with optional ChatGPT extensions through window.openai. OpenAI's developer docs now present this as building plugins, which bundle apps (MCP servers) with skills and can run in ChatGPT and Codex and be submitted to the ChatGPT Directory.
What it's useful for
Letting ChatGPT users search your product catalogue and see results in an interactive card inside the chat.
Key features
- MCP server tools that ChatGPT and Codex can call
- Optional in-chat UI via MCP Apps ui:// resources, with ChatGPT extensions through window.openai
- Quickstarts in TypeScript (@modelcontextprotocol/sdk and @modelcontextprotocol/ext-apps), Go and Ruby
- OAuth-based MCP authorization for signed-in users
- Publish to the ChatGPT Directory under the plugin guidelines
- MIT-licensed example apps (Node and Python) in openai/openai-apps-sdk-examples
How to use it
Before you start
- ChatGPT account
- A publicly reachable HTTPS endpoint for the MCP server
npm install @modelcontextprotocol/sdk @modelcontextprotocol/ext-apps zodCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- Docs now live under 'Plugins' and refer to window.openai as legacy APIs; naming is in transition
- Testing a custom MCP server in ChatGPT depends on your plan, workspace role and region
- Some tools or interactive views work only on desktop, web or mobile; local MCP apps need ChatGPT Desktop
MCP servers for this
Stripe's hosted MCP server that lets agents search Stripe docs and read or change objects in a Stripe account.
Atlassian's remote MCP server that lets AI tools search, create and update Jira issues, Confluence pages and more.
Datadog's remote MCP server that lets AI agents query logs, metrics, traces, monitors, dashboards and other Datadog data.
Skills for this
Hugging Face's Agent Skills for the Hub CLI, datasets, model training, evaluation, Spaces and SageMaker deployment.
Design skill for coding agents with 24 commands to steer, critique and audit UI, plus a rule-based detector for AI-slop patterns.
Meng To's collection of 200+ agent skills for landing pages, Three.js 3D scenes, games, illustration and design workflows.
Related resources
Exa's MCP server that gives agents web search with clean page content and URL-to-markdown fetching.
Hugging Face's hosted MCP server that lets agents search models, datasets, Spaces and papers and call Gradio Spaces.
MongoDB's MCP server that lets agents query and manage MongoDB databases and Atlas clusters.
Neon's hosted MCP server that lets agents create Postgres projects and branches, run SQL and manage migrations.