@pwrs/cem 0.4.6 → 0.5.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.
Files changed (2) hide show
  1. package/README.md +16 -0
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -49,6 +49,21 @@ See more in the [LSP docs][lspdocs]
49
49
 
50
50
  ---
51
51
 
52
+ ### `cem mcp`
53
+
54
+ The `cem mcp` command starts a Model Context Protocol (MCP) server that provides AI-native access to your custom elements manifest data. This enables intelligent HTML generation, component understanding, and design system compliance for AI assistants.
55
+
56
+ **Features:**
57
+ - **Resources**: Access to schemas, package discovery, element summaries, and accessibility patterns
58
+ - **Tools**: HTML validation, attribute suggestions, HTML generation, and CSS integration guidance
59
+ - **Cross-package discovery**: Multi-manifest support for complex design systems
60
+
61
+ The server transforms your custom elements manifests into structured, actionable context that AI systems can use to generate proper HTML with correct slot usage, appropriate attributes, and design system compliance.
62
+
63
+ See more in the [MCP docs][mcpdocs]
64
+
65
+ ---
66
+
52
67
  ### `cem list`
53
68
 
54
69
  The `cem list` command provides a fast, flexible way to inspect custom elements, their features, and their metadata directly from your manifest file.
@@ -101,4 +116,5 @@ the terms of the [GNU General Public License v3.0][gpl3].
101
116
  [searchdocs]: https://bennypowers.dev/cem/docs/commands/search/
102
117
  [validatedocs]: https://bennypowers.dev/cem/docs/commands/validate/
103
118
  [lspdocs]: https://bennypowers.dev/cem/docs/lsp/
119
+ [mcpdocs]: https://bennypowers.dev/cem/docs/mcp/
104
120
  [configdocs]: https://bennypowers.dev/cem/docs/configuration/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pwrs/cem",
3
- "version": "0.4.6",
3
+ "version": "0.5.0",
4
4
  "description": "CLI tool for generating and working with Custom Elements Manifests",
5
5
  "type": "module",
6
6
  "engines": {
@@ -13,12 +13,12 @@
13
13
  "postinstall": "node ./install-platform-binary.js"
14
14
  },
15
15
  "optionalDependencies": {
16
- "@pwrs/cem-linux-x64": "0.4.6",
17
- "@pwrs/cem-linux-arm64": "0.4.6",
18
- "@pwrs/cem-darwin-x64": "0.4.6",
19
- "@pwrs/cem-darwin-arm64": "0.4.6",
20
- "@pwrs/cem-win32-x64": "0.4.6",
21
- "@pwrs/cem-win32-arm64": "0.4.6"
16
+ "@pwrs/cem-linux-x64": "0.5.0",
17
+ "@pwrs/cem-linux-arm64": "0.5.0",
18
+ "@pwrs/cem-darwin-x64": "0.5.0",
19
+ "@pwrs/cem-darwin-arm64": "0.5.0",
20
+ "@pwrs/cem-win32-x64": "0.5.0",
21
+ "@pwrs/cem-win32-arm64": "0.5.0"
22
22
  },
23
23
  "files": [
24
24
  "bin/cem.js",