@perkyzz/emvb-mcp 0.5.0 → 0.7.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 +1 -1
- package/dist/cli.mjs +1321 -190
- package/package.json +2 -2
- package/skill/emvb-page-builder/SKILL.md +9 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@perkyzz/emvb-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "Local (stdio) MCP server for EmVB pages: lets AI agents build EmDash pages through your site's EmDash MCP endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"emdash",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@modelcontextprotocol/server": "2.3.1"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@perkyzz/emvb": "0.
|
|
44
|
+
"@perkyzz/emvb": "0.7.0",
|
|
45
45
|
"zod": "~4.5.4"
|
|
46
46
|
},
|
|
47
47
|
"engines": {
|
|
@@ -32,7 +32,8 @@ instructions.
|
|
|
32
32
|
6. **Check accessibility** with `get_accessibility_findings` after building and fix every
|
|
33
33
|
error. Contrast findings that share one colour: change that colour variable once.
|
|
34
34
|
7. **Don't publish** unless the person asked and `publish_page` is available. End with
|
|
35
|
-
`describe_page` and a short summary so they can review the draft.
|
|
35
|
+
`describe_page` and a short summary so they can review the draft. Fix its warnings too (an
|
|
36
|
+
element hidden on every device, a form's required field with no field on the form).
|
|
36
37
|
|
|
37
38
|
## What the tools can't do
|
|
38
39
|
|
|
@@ -52,7 +53,13 @@ instructions.
|
|
|
52
53
|
value; `list_element_types` with the type shows its props, allowed parents and notes.
|
|
53
54
|
- `NESTING` / `REFUSED`: the element can't go there, or the id doesn't exist; re-read the outline.
|
|
54
55
|
- `TOO_LARGE`: the page is over 512 KB; split it.
|
|
55
|
-
- `REFUSED` on removing a variable:
|
|
56
|
+
- `REFUSED` on removing a variable or class: a page still uses it (the message names the pages);
|
|
57
|
+
replace those references first. Pass `force: true` only if the person asked.
|
|
58
|
+
- An image `src` must be an http(s) URL or a path on the site; `javascript:`, `data:` and
|
|
59
|
+
`//host` sources are refused.
|
|
60
|
+
- `REFUSED` on a link or an SVG: the page would drop it (a `javascript:` link, `onload` or a
|
|
61
|
+
script in SVG markup); the message gives the reason. A class or variable name another one
|
|
62
|
+
already has is refused too. A write that changes nothing saves no new version.
|
|
56
63
|
- `PUBLISH_DISABLED`: leave the draft for review.
|
|
57
64
|
- `FORBIDDEN`: agent access is off on the site, or the token can't use EmVB; tell the person.
|
|
58
65
|
- `NOT_SET_UP`: an admin must click "Set up EmVB" in the EmDash admin first; tell the person.
|