MerchantryTidbits

agent-tooling / pattern

OpenAI Apps SDK Examples

Capability: OpenAI Apps SDK Examples

Use it when

  • You are building a ChatGPT app and need your MCP tool results to render as interactive inline UI components instead of plain text
  • You need a working reference for wiring widgetState, callTool, and window.openai host APIs between an MCP server and a ChatGPT widget

What it solves

Not the fit when

  • Not a production-ready app; demo servers persist state in memory and the README says carts should be persisted server-side in production
  • Requires ChatGPT developer mode to test end to end
  • production widget hosting
  • end-user auth at scale
  • browser automation
  • general chat UI outside ChatGPT

Install

git clone https://github.com/openai/openai-apps-sdk-examples && cd openai-apps-sdk-examples && pnpm install && pnpm run build

Invoke

pnpm run serve  # assets at http://localhost:4444, then e.g.: pip install -r pizzaz_server_python/requirements.txt && uvicorn pizzaz_server_python.main:app --port 8000

Alternatives

No reviewed alternatives recorded yet.