@unframed/mcp 1.0.0-rc.4 → 1.0.0-rc.6
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 +4 -3
- package/data.json +199 -72
- package/dist/data.js.map +1 -1
- package/dist/server.js +20 -3
- package/dist/server.js.map +1 -1
- package/dist/validate.js +54 -4
- package/dist/validate.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,9 +6,10 @@ An [MCP](https://modelcontextprotocol.io) server for [Unframed](https://p-db.git
|
|
|
6
6
|
|
|
7
7
|
| Tool | What it does |
|
|
8
8
|
|---|---|
|
|
9
|
-
| `list_components` | Every component, with a summary, its tags and what to import |
|
|
10
|
-
| `get_component` | One component's examples and full API: attributes, properties, events, slots, parts, CSS custom properties |
|
|
11
|
-
| `
|
|
9
|
+
| `list_components` | Every component, with a summary, its tags and what to import, in HTML and as React, Vue and Angular components |
|
|
10
|
+
| `get_component` | One component's examples, its imports in each framework, and full API: attributes, properties, events, slots, parts, CSS custom properties |
|
|
11
|
+
| `get_framework_guide` | Setup and usage in plain HTML, React, Vue or Angular: imports, the tokens CSS, events, form bindings |
|
|
12
|
+
| `validate_usage` | Checks code that uses Unframed: unknown tags, attributes and events, invalid values, `disabled="false"`, missing labels, imports that don't exist (like `@unframed/react/button`). Each problem comes with its line and a fix. Reads HTML, JSX, Vue, Angular, Svelte and Lit templates. |
|
|
12
13
|
|
|
13
14
|
It works offline: everything it knows ships in the package, generated from the same sources as the docs.
|
|
14
15
|
|