@movable/ui-mcp 1.0.0 → 1.1.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.
- package/README.md +37 -0
- package/data/eslint-rules.json +11 -0
- package/data/stories.json +4 -2
- package/package.json +1 -1
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`:
|
package/data/eslint-rules.json
CHANGED
|
@@ -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/data/stories.json
CHANGED
|
@@ -188,7 +188,8 @@
|
|
|
188
188
|
"SevenThreeSplit",
|
|
189
189
|
"WithIndexLayout",
|
|
190
190
|
"FiveThreeSplitContentLayout",
|
|
191
|
-
"SevenThreeSplitContentLayout"
|
|
191
|
+
"SevenThreeSplitContentLayout",
|
|
192
|
+
"FourEightSplitContentLayout"
|
|
192
193
|
]
|
|
193
194
|
},
|
|
194
195
|
{
|
|
@@ -209,7 +210,8 @@
|
|
|
209
210
|
"EightColumn",
|
|
210
211
|
"WithIndexLayout",
|
|
211
212
|
"EightColumnFullContentLayout",
|
|
212
|
-
"TenColumnFullContentLayout"
|
|
213
|
+
"TenColumnFullContentLayout",
|
|
214
|
+
"TwelveColumnFullContentLayout"
|
|
213
215
|
]
|
|
214
216
|
},
|
|
215
217
|
{
|