Provides a minimal Next.js application to build OpenAI Apps SDK-compatible Model Context Protocol (MCP) servers with native widget rendering in ChatGPT.
This project serves as a comprehensive Next.js starter kit for developers looking to integrate their applications with the OpenAI Apps SDK. It demonstrates how to create a Model Context Protocol (MCP) server that exposes tools and resources directly to ChatGPT, enabling the rendering of rich, interactive widgets. The starter kit addresses crucial technical challenges such as correct asset configuration for iframes, handling CORS for React Server Components (RSC), and patching browser APIs to ensure seamless operation within the ChatGPT environment, streamlining the development of advanced ChatGPT applications.