@@ -36,8 +36,21 @@ The MCP servers in this demo highlight how each tool can light up widgets by com
3636- ` pizzaz_server_node/ ` – MCP server implemented with the official TypeScript SDK.
3737- ` pizzaz_server_python/ ` – Python MCP server that returns the Pizzaz widgets.
3838- ` solar-system_server_python/ ` – Python MCP server for the 3D solar system widget.
39+ - ` kitchen_sink_server_node/ ` – Node MCP server for the kitchen-sink-lite widget.
40+ - ` kitchen_sink_server_python/ ` – Python MCP server for the kitchen-sink-lite widget.
3941- ` build-all.mts ` – Vite build orchestrator that produces hashed bundles for every widget entrypoint.
4042
43+ ### Kitchen sink lite overview
44+
45+ The kitchen sink lite sample shows the full ` window.openai ` surface working together:
46+
47+ - Reads host state (` toolInput ` , ` toolOutput ` , ` displayMode ` , ` theme ` , ` widgetState ` ).
48+ - Writes host state with ` setWidgetState ` .
49+ - Calls another MCP tool from the widget with ` callTool ` .
50+ - Uses host helpers like ` requestDisplayMode ` , ` openExternal ` , and ` sendFollowUpMessage ` .
51+
52+ Use it as a reference for how to wire UI to MCP tool responses and host APIs with the Apps SDK UI components.
53+
4154## Prerequisites
4255
4356- Node.js 18+
@@ -90,6 +103,7 @@ The repository ships several demo MCP servers that highlight different widget bu
90103
91104- ** Pizzaz (Node & Python)** – pizza-inspired collection of tools and components
92105- ** Solar system (Python)** – 3D solar system viewer
106+ - ** Kitchen sink lite (Node & Python)** – minimal widget + server pairing that demonstrates tool output, widget state, ` callTool ` , and host helpers
93107
94108### Pizzaz Node server
95109
@@ -116,6 +130,21 @@ pip install -r solar-system_server_python/requirements.txt
116130uvicorn solar-system_server_python.main:app --port 8000
117131```
118132
133+ ### Kitchen sink lite Node server
134+
135+ ``` bash
136+ pnpm --filter kitchen-sink-mcp-node start
137+ ```
138+
139+ ### Kitchen sink lite Python server
140+
141+ ``` bash
142+ python -m venv .venv
143+ source .venv/bin/activate
144+ pip install -r kitchen_sink_server_python/requirements.txt
145+ uvicorn kitchen_sink_server_python.main:app --port 8000
146+ ```
147+
119148You can reuse the same virtual environment for all Python servers—install the dependencies once and run whichever entry point you need.
120149
121150## Testing in ChatGPT
0 commit comments