@master/css-mcp 2.0.0 → 2.0.1

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 +11 -0
  2. package/package.json +9 -8
package/README.md CHANGED
@@ -4,6 +4,8 @@ Model Context Protocol server for Master CSS tooling. It lets AI clients inspect
4
4
 
5
5
  ## Installation
6
6
 
7
+ Use Node.js 24.
8
+
7
9
  ```bash
8
10
  npm install -D @master/css-mcp
9
11
  ```
@@ -31,6 +33,15 @@ Most MCP clients accept a command and arguments for stdio servers:
31
33
 
32
34
  Use an absolute `--root` path so the server resolves the intended workspace.
33
35
 
36
+ To verify the connection in an empty workspace, call `mastercss_inspect_class` with:
37
+
38
+ ```json
39
+ {"className": "p-md", "context": "preset"}
40
+ ```
41
+
42
+ Read `result.data.css` in the response. It contains `.p-md{padding:var(--spacing-md)}`.
43
+ The `preset` context uses the bundled Master CSS defaults, so this check works before you set up a project.
44
+
34
45
  ## Project tools
35
46
 
36
47
  | Tool | Use |
package/package.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "name": "@master/css-mcp",
3
+ "mcpName": "io.github.master-co/master-css",
3
4
  "type": "module",
4
5
  "engines": {
5
6
  "node": "^24"
@@ -49,17 +50,17 @@
49
50
  "provenance": true
50
51
  },
51
52
  "dependencies": {
52
- "@master/css": "2.0.0",
53
- "@master/css-compiler": "2.0.0",
54
- "@master/css-language-service": "2.0.0",
55
- "@master/css-tooling": "2.0.0",
56
- "@master/css-preset": "2.0.0",
57
- "@master/css-schema": "2.0.0",
53
+ "@master/css": "2.0.1",
54
+ "@master/css-compiler": "2.0.1",
55
+ "@master/css-language-service": "2.0.1",
56
+ "@master/css-tooling": "2.0.1",
57
+ "@master/css-preset": "2.0.1",
58
+ "@master/css-schema": "2.0.1",
58
59
  "@modelcontextprotocol/sdk": "^1.32.2",
59
60
  "fast-glob": "^3.3.3",
60
61
  "vscode-languageserver-textdocument": "^1.0.16",
61
62
  "zod": "^4.6.7"
62
63
  },
63
- "version": "2.0.0",
64
- "gitHead": "6bf9adc4432b67e62613caea59d3b554711b4d54"
64
+ "version": "2.0.1",
65
+ "gitHead": "76012032a62d59365419b6acb74781d62f003874"
65
66
  }