You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,23 +64,23 @@ pnpm run dev
64
64
65
65
## Serve the static assets
66
66
67
-
If you want to preview the generated bundles without the MCP servers, start the static file server after running a build:
67
+
All of the MCP servers expect the bundled HTML, JS, and CSS to be served from the local static file server. After every build, start the server before launching any MCP processes:
68
68
69
69
```bash
70
70
pnpm run serve
71
71
```
72
72
73
73
The assets are exposed at [`http://localhost:4444`](http://localhost:4444) with CORS enabled so that local tooling (including MCP inspectors) can fetch them.
74
74
75
+
> **Note:** The Python Pizzaz server caches widget HTML with `functools.lru_cache`. If you rebuild or manually edit files in `assets/`, restart the MCP server so it picks up the updated markup.
76
+
75
77
## Run the MCP servers
76
78
77
79
The repository ships several demo MCP servers that highlight different widget bundles:
78
80
79
81
-**Pizzaz (Node & Python)** – pizza-inspired collection of tools and components
80
82
-**Solar system (Python)** – 3D solar system viewer
81
83
82
-
Every tool response includes plain text content, structured JSON, and `_meta.openai/outputTemplate` metadata so the Apps SDK can hydrate the matching widget.
0 commit comments