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
+13-2Lines changed: 13 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -54,7 +54,7 @@ pnpm run build
54
54
55
55
This command runs `build-all.mts`, producing versioned `.html`, `.js`, and `.css` files inside `assets/`. Each widget is wrapped with the CSS it needs so you can host the bundles directly or ship them with your own server.
56
56
57
-
To iterate locally, you can also launch the Vite dev server:
57
+
To iterate on your components locally, you can also launch the Vite dev server:
58
58
59
59
```bash
60
60
pnpm run dev
@@ -130,12 +130,23 @@ You can add your app to the conversation context by selecting it in the "More" o
130
130
131
131
You can then invoke tools by asking something related. For example, for the Pizzaz app, you can ask "What are the best pizzas in town?".
132
132
133
-
134
133
## Next steps
135
134
136
135
- Customize the widget data: edit the handlers in `pizzaz_server_node/src`, `pizzaz_server_python/main.py`, or the solar system server to fetch data from your systems.
137
136
- Create your own components and add them to the gallery: drop new entries into `src/` and they will be picked up automatically by the build script.
138
137
138
+
### Deploy your MCP server
139
+
140
+
You can use the cloud environment of your choice to deploy your MCP server.
141
+
142
+
Include this in the environment variables:
143
+
144
+
```
145
+
BASE_URL=https://your-server.com
146
+
```
147
+
148
+
This will be used to generate the HTML for the widgets so that they can serve static assets from this hosted url.
149
+
139
150
## Contributing
140
151
141
152
You are welcome to open issues or submit PRs to improve this app, however, please note that we may not review all suggestions.
0 commit comments