@perkyzz/emvb-mcp 0.8.0 → 1.0.0
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 +17 -1
- package/dist/cli.mjs +4038 -361
- package/package.json +4 -4
- package/skill/emvb-page-builder/SKILL.md +12 -2
- package/skill/emvb-page-builder/references/layout.md +5 -1
package/README.md
CHANGED
|
@@ -28,11 +28,27 @@ The token: EmDash → **API tokens**, scope `mcp:tools:emvb`, for a user who is
|
|
|
28
28
|
above**. Never give an agent an admin token. Each token may make 300 reads and 60 changes a minute
|
|
29
29
|
and 10 publishes an hour; over that, tools return `RATE_LIMITED` with how long to wait.
|
|
30
30
|
|
|
31
|
-
Besides the
|
|
31
|
+
Besides the 25 tools (27 with `--allow-publish`), the bridge serves the layout and style schemas,
|
|
32
32
|
element and site style resources, each page's draft and accessibility findings, four prompts
|
|
33
33
|
(`build_landing_page`, `fix_accessibility`, `restyle_site`, `review_page`) and the
|
|
34
34
|
`emvb-page-builder` skill with its references (also in `skill/`).
|
|
35
35
|
|
|
36
|
+
## Answer requests from the editor: `emvb-mcp watch`
|
|
37
|
+
|
|
38
|
+
People can ask their agent from the EmVB editor's **Agent** tab. `watch` checks the site for those
|
|
39
|
+
requests and runs your own agent command once per request:
|
|
40
|
+
|
|
41
|
+
```sh
|
|
42
|
+
EMVB_TOKEN=… npx -y @perkyzz/emvb-mcp watch --site https://your.site --agent "claude -p"
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
The request is on the command's stdin, inside a short brief that says how to answer
|
|
46
|
+
(`list_page_outline`, then `propose_changes` with the request's id); `EMVB_SITE`, `EMVB_PAGE_ID`
|
|
47
|
+
and `EMVB_REQUEST_ID` are set. The request text never goes into the command line. The agent needs
|
|
48
|
+
the EmVB tools itself (this bridge in its MCP config). Requests run one at a time, each once;
|
|
49
|
+
an unanswered one is logged, not retried. Options: `--interval <s>` (15, 5–3600), `--timeout <s>`
|
|
50
|
+
per run (600), `--once`.
|
|
51
|
+
|
|
36
52
|
Needs Node 20+ on the agent's computer, and on the site EmDash 1.2+ with `mcp: true`,
|
|
37
53
|
`@perkyzz/emvb` 0.5.0+ (0.8.0 recommended) with **Set up EmVB** done, and agents turned on in **Pages VisualBuilder →
|
|
38
54
|
AI agents**. Full guide:
|