#44th of 5 in MCP servers and chat-host apps

openai-apps-sdk-examples

Example MCP servers and widgets for ChatGPT apps on the Apps SDK

Stars
2.4k
License
MIT
Last commit
Apr 2026
Language
TypeScript

Overview

pnpm workspace with React widget sources, a Vite build that emits hashed HTML/JS/CSS bundles served on port 4444, and paired MCP servers in Node and Python (Pizzaz, kitchen-sink-lite, solar system, shopping cart, an OAuth-gated example). Widgets use the window.openai host API and _meta.ui.resourceUri to render inside ChatGPT. For developers building ChatGPT apps; test via developer mode and an ngrok tunnel.

Who it is for: Developers building ChatGPT apps with MCP and widgets

Strengths

  • Node and Python MCP servers for the same widgets
  • kitchen-sink-lite covers the full window.openai host API surface
  • Shopping-cart example shows widgetSessionId state across tool calls
  • Authenticated server demonstrates OAuth-gated tools

Weaknesses

  • Examples only; no persistence or deploy config beyond BASE_URL
  • Requires ChatGPT developer mode and a public tunnel to test
  • Chrome 142+ needs a flag change to render widgets locally
  • Maintainers may not review all PRs

What it needs

  • TypeScript, OpenAI Apps SDK, MCP TypeScript SDK, MCP Python SDK
  • Needs ChatGPT developer mode, ngrok or a public host for testing

Also in MCP servers and chat-host apps

See all 5
Also in MCP servers and chat-host apps
RankProjectScore
1mcp-typescript-templateExpress and Effect template for a stateless remote MCP server58 stars, MIT60 out of 100
2template-mcp-serverPython FastMCP server template with OAuth, OpenShift manifests and CI66 stars, Apache-2.047 out of 100
3mcp-for-next.jsStateless MCP server route for a Next.js App Router app Live demo ↗ (opens in a new tab)373 stars, MIT41 out of 100
#5mcp-forgeGo MCP server template with OAuth discovery and JWT validation98 stars, Apache-2.024 out of 100