@htmlbricks/mcp 0.66.10

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 ADDED
@@ -0,0 +1,33 @@
1
+ # @htmlbricks/mcp
2
+
3
+ Model Context Protocol server for **HTML Bricks** (`hb-*` web components). It exposes the agent catalog reference, `list.json`, CDN helpers, search, and prompts so coding agents can build correct markup (snake_case attributes, Bootstrap 5, Bootstrap Icons).
4
+
5
+ ## Usage (agentic IDEs)
6
+
7
+ Run via stdio (example for MCP clients):
8
+
9
+ ```json
10
+ {
11
+ "command": "npx",
12
+ "args": ["-y", "@htmlbricks/mcp"]
13
+ }
14
+ ```
15
+
16
+ Requires **Node.js 18+**. The published package embeds `AGENT_WEBCOMPONENTS_REFERENCE.md` and `list.json` for the same version as `@htmlbricks/hb-bundle`. If assets are missing, the server falls back to jsDelivr for that version.
17
+
18
+ ## Resources
19
+
20
+ | URI | Content |
21
+ |-----|---------|
22
+ | `htmlbricks://docs/development-guide` | Conventions and workflow |
23
+ | `htmlbricks://catalog/agent-reference` | Full merged component reference (Markdown) |
24
+ | `htmlbricks://catalog/package-list` | `list.json` from the bundle |
25
+
26
+ ## Tools
27
+
28
+ - **search_catalog** — keyword search in the reference
29
+ - **get_bundle_cdn_urls** — jsDelivr URLs for `hb-bundle` matching this package version
30
+
31
+ ## Prompts
32
+
33
+ - **plan_htmlbricks_page** — structured task to read resources and plan UI with `hb-*` elements