Provides a collection of example UI components and Model Context Protocol (MCP) servers to demonstrate building rich applications for ChatGPT.
This repository serves as a comprehensive gallery showcasing how to build interactive and rich applications for ChatGPT using the OpenAI Apps SDK and the Model Context Protocol (MCP). It provides foundational examples of UI components (widgets) and corresponding MCP servers written in Node.js and Python. Developers can use these examples as a starting point to understand how to connect large language model clients to external tools, data, and user interfaces, leveraging MCP to keep the server, model, and UI in sync through standardized wire formats, authentication, and metadata. It highlights how tools can illuminate widgets by combining structured payloads with `_meta.openai/outputTemplate` metadata.