@movable/ui-mcp 1.0.0 → 1.1.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 CHANGED
@@ -36,6 +36,43 @@ claude mcp add movable-ui -- npx -y @movable/ui-mcp
36
36
 
37
37
  Then restart Claude Code and run `/mcp` to verify the server is connected.
38
38
 
39
+ ### Migrating from Local Installation
40
+
41
+ If you previously configured the MCP server to run from a local clone:
42
+
43
+ ```bash
44
+ # Remove the old local configuration
45
+ claude mcp remove movable-ui
46
+
47
+ # Add the new npx-based configuration
48
+ claude mcp add movable-ui -- npx -y @movable/ui-mcp
49
+ ```
50
+
51
+ **Old configuration** (no longer needed):
52
+ ```json
53
+ {
54
+ "movable-ui": {
55
+ "command": "node",
56
+ "args": ["/path/to/ui/mcp-server/dist/index.js"]
57
+ }
58
+ }
59
+ ```
60
+
61
+ **New configuration** (recommended):
62
+ ```json
63
+ {
64
+ "movable-ui": {
65
+ "command": "npx",
66
+ "args": ["-y", "@movable/ui-mcp@latest"]
67
+ }
68
+ }
69
+ ```
70
+
71
+ Benefits of the npx approach:
72
+ - No need to clone the repository
73
+ - Always uses the latest published version
74
+ - Works on any machine without setup
75
+
39
76
  #### Auto-approve MCP Tools
40
77
 
41
78
  By default, Claude Code will ask for permission each time an MCP tool is used. To auto-approve all movable-ui tools, add to your `~/.claude/settings.json`:
@@ -1,7 +1,18 @@
1
1
  [
2
+ {
3
+ "name": "@movable/ui/prefer-ink-components",
4
+ "description": "Prefer Ink-wrapped components from @movable/ui over raw MUI components",
5
+ "message": "Prefer "
6
+ },
7
+ {
8
+ "name": "@movable/ui/prefer-ink-components.test"
9
+ },
2
10
  {
3
11
  "name": "@movable/ui/no-deprecated-grid",
4
12
  "description": "Disallow importing deprecated Grid v1 from MUI",
5
13
  "message": "Please use Grid2 from "
14
+ },
15
+ {
16
+ "name": "@movable/ui/no-deprecated-grid.test"
6
17
  }
7
18
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@movable/ui-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "MCP server for @movable/ui component library - run via npx",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",