wadi-mcp 0.1.37 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. package/README.md +21 -1
  2. package/dist/http.mjs +435385 -0
  3. package/dist/server.mjs +71756 -72332
  4. package/package.json +8 -3
package/README.md CHANGED
@@ -27,7 +27,27 @@ The last two reach the desktop app over a localhost bridge (`127.0.0.1:8765`, ov
27
27
  `WADI_APP_PORT`); when the app isn't running they return a "open the Wadi app" message and
28
28
  you fall back to `wadi_preview` (headless 2D). The first four never need the app.
29
29
 
30
- ## Run it
30
+ ## Hosted server (online) — no install
31
+
32
+ A hosted copy runs at **`https://mcp.wadi.house/mcp`** (MCP Streamable HTTP), so any
33
+ agent that connects to a remote MCP server by URL can author/check/preview `.wdl`
34
+ with nothing installed. It exposes the 8 repo-free tools (the two app-bridge tools,
35
+ `wadi_view_3d`/`wadi_capture_3d`, are stdio-only — they reach a *local* app); previews
36
+ come back as inline PNGs. It is stateless: pass the full `.wdl` on each call.
37
+
38
+ - **Gemini:** `gemini.google.com/apps` → *Add a custom app* → paste
39
+ `https://mcp.wadi.house/mcp`. No auth.
40
+ - **Claude.ai** (custom connectors) / **ChatGPT** (MCP): add the same URL.
41
+
42
+ Handoff to the app: the agent returns the `.wdl`; paste it into the Wadi app's WDL
43
+ editor and Apply. (The app opens `.wadi`, not raw `.wdl`.)
44
+
45
+ The hosted server is the Cloudflare Container deployment in this folder
46
+ (`wrangler.jsonc` + `Dockerfile` + `src/worker.ts`, serving `src/http.ts`):
47
+ `npm run cloud:deploy` (needs Workers Paid + Containers + local Docker),
48
+ `npm run cloud:dev` to run it locally.
49
+
50
+ ## Run it (local stdio)
31
51
 
32
52
  From a checkout (dev):
33
53