uisandbox-mcp 0.2.0 → 0.3.1

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.
package/README.md CHANGED
@@ -12,7 +12,7 @@ pnpm mcp:build && pnpm mcp:pack # bundle the engine into mcp/dist/ser
12
12
  npx tsx mcp/smoke.ts fixtures/x.zip # load → set → export → verify → screenshot (MCP_CMD to point at a build)
13
13
  ```
14
14
 
15
- `verify` and `screenshot` need a browser: `npx playwright install chromium` once (playwright is an optional peer dependency — `load`/`set`/`export` work without it).
15
+ `verify` and `screenshot` need Chromium: `npx playwright install chromium` once (Playwright ships with the package; only the browser is downloaded — `load`/`set`/`export`/`open` work without it).
16
16
 
17
17
  ## Tools
18
18
 
@@ -31,6 +31,16 @@ npx tsx mcp/smoke.ts fixtures/x.zip # load → set → export → verify
31
31
 
32
32
  The conversation this is built for: *"Can I look at this app in a sandbox and change the design a bit?"* → the agent builds, `load`s, `open`s; you play in the real sandbox; *"export what I did"* → `state` → `export`.
33
33
 
34
+ ## Without an agent
35
+
36
+ ```bash
37
+ npx uisandbox-mcp open ./dist # a folder or a zip: the sandbox opens in your browser, served from 127.0.0.1
38
+ ```
39
+
40
+ ## Slash commands
41
+
42
+ Where the client shows MCP prompts (Claude Desktop, Claude Code): `/uisandbox:open` (build the current repo, load, open the sandbox) and `/uisandbox:try <change>` (apply, verify 1:1, screenshot, patch). The server also sends `instructions` to the client, so the model knows when to offer the sandbox on its own.
43
+
34
44
  ## Claude Desktop / Claude Code / Cursor
35
45
 
36
46
  ```json