@primevue/mcp 5.0.0-rc.2 → 5.0.0-rc.4
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 +10 -8
- package/data/components.json +145 -75
- package/data/llms/components/accordion.md +1 -1
- package/data/llms/components/blockui.md +3 -1
- package/data/llms/components/button.md +1 -1
- package/data/llms/components/chart.md +1 -1
- package/data/llms/components/confirmdialog.md +8 -36
- package/data/llms/components/datatable.md +1 -1
- package/data/llms/components/datepicker.md +3 -1
- package/data/llms/components/dialog.md +8 -40
- package/data/llms/components/editor.md +0 -1
- package/data/llms/components/fileupload.md +7 -3
- package/data/llms/components/forms.md +3 -1
- package/data/llms/components/galleria.md +1 -1
- package/data/llms/components/inputgroup.md +0 -74
- package/data/llms/components/inputtags.md +0 -1
- package/data/llms/components/picklist.md +2 -2
- package/data/llms/components/toolbar.md +1 -1
- package/data/llms/components/treetable.md +1 -1
- package/data/llms/guides/cdn.md +2 -2
- package/data/llms/guides/icons.md +3 -3
- package/data/llms/guides/mcp.md +26 -50
- package/data/llms/guides/nuxt.md +6 -6
- package/data/llms/guides/plugin.md +99 -0
- package/data/llms/guides/theming/unstyled.md +1 -1
- package/data/llms/guides/vite.md +3 -3
- package/data/llms/llms-full.txt +185 -233
- package/data/llms/llms.txt +2 -1
- package/data/llms/pages/cdn.md +2 -2
- package/data/llms/pages/icons.md +3 -3
- package/data/llms/pages/mcp.md +26 -50
- package/data/llms/pages/nuxt.md +6 -6
- package/data/llms/pages/plugin.md +99 -0
- package/data/llms/pages/theming/unstyled.md +1 -1
- package/data/llms/pages/unstyled.md +1 -1
- package/data/llms/pages/vite.md +3 -3
- package/data/manifest.json +1136 -688
- package/data/mcp-data.json +288 -64
- package/dist/index.d.ts +3 -12
- package/dist/index.js +1439 -798
- package/package.json +11 -7
package/README.md
CHANGED
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Model Context Protocol (MCP) server for PrimeVue. The package is a thin public wrapper over the shared `@primeuix/mcp` v2 core and the generated PrimeVue docs artifacts in `packages/mcp/data/mcp-data.json` and `packages/mcp/data/manifest.json`.
|
|
4
4
|
|
|
5
|
+
Requires Node.js 22 or newer. Published runtime data is self-contained: normalized JSON lives once under `data/`, while offline Markdown and text resources live under `data/llms/`.
|
|
6
|
+
|
|
5
7
|
## Run
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
npx -y @primevue/mcp
|
|
10
|
+
npx -y @primevue/mcp
|
|
9
11
|
```
|
|
10
12
|
|
|
11
13
|
The public bin command is also available as:
|
|
@@ -19,13 +21,13 @@ primevue-mcp
|
|
|
19
21
|
### Claude Code
|
|
20
22
|
|
|
21
23
|
```bash
|
|
22
|
-
claude mcp add primevue -s user -- npx -y @primevue/mcp
|
|
24
|
+
claude mcp add primevue -s user -- npx -y @primevue/mcp
|
|
23
25
|
```
|
|
24
26
|
|
|
25
27
|
Project-local configuration:
|
|
26
28
|
|
|
27
29
|
```bash
|
|
28
|
-
claude mcp add primevue -- npx -y @primevue/mcp
|
|
30
|
+
claude mcp add primevue -- npx -y @primevue/mcp
|
|
29
31
|
```
|
|
30
32
|
|
|
31
33
|
### Cursor
|
|
@@ -37,7 +39,7 @@ Create `.cursor/mcp.json` in your project or edit `~/.cursor/mcp.json`:
|
|
|
37
39
|
"mcpServers": {
|
|
38
40
|
"primevue": {
|
|
39
41
|
"command": "npx",
|
|
40
|
-
"args": ["-y", "@primevue/mcp
|
|
42
|
+
"args": ["-y", "@primevue/mcp"]
|
|
41
43
|
}
|
|
42
44
|
}
|
|
43
45
|
}
|
|
@@ -52,7 +54,7 @@ Create `.vscode/mcp.json` in your project:
|
|
|
52
54
|
"servers": {
|
|
53
55
|
"primevue": {
|
|
54
56
|
"command": "npx",
|
|
55
|
-
"args": ["-y", "@primevue/mcp
|
|
57
|
+
"args": ["-y", "@primevue/mcp"]
|
|
56
58
|
}
|
|
57
59
|
}
|
|
58
60
|
}
|
|
@@ -63,7 +65,7 @@ For user-level setup, place the same `servers` object in your VS Code user MCP c
|
|
|
63
65
|
### Codex
|
|
64
66
|
|
|
65
67
|
```bash
|
|
66
|
-
codex mcp add primevue -- npx -y @primevue/mcp
|
|
68
|
+
codex mcp add primevue -- npx -y @primevue/mcp
|
|
67
69
|
```
|
|
68
70
|
|
|
69
71
|
Or edit `~/.codex/config.toml`:
|
|
@@ -71,7 +73,7 @@ Or edit `~/.codex/config.toml`:
|
|
|
71
73
|
```toml
|
|
72
74
|
[mcp_servers.primevue]
|
|
73
75
|
command = "npx"
|
|
74
|
-
args = ["-y", "@primevue/mcp
|
|
76
|
+
args = ["-y", "@primevue/mcp"]
|
|
75
77
|
```
|
|
76
78
|
|
|
77
79
|
## MCP Surface
|
|
@@ -104,7 +106,7 @@ Workflow prompts:
|
|
|
104
106
|
|
|
105
107
|
## Data and Release Assumption
|
|
106
108
|
|
|
107
|
-
`@primevue/mcp` does not vendor the shared core.
|
|
109
|
+
`@primevue/mcp` does not vendor the shared core. Its RC dependency on `@primeuix/mcp` is pinned exactly to `2.0.0-rc.2`; keep the dependency exact throughout the RC cycle so installed behavior remains reproducible.
|
|
108
110
|
|
|
109
111
|
The bundled package docs are copied from the generated public `/llms` Markdown files during `build:prebuild`. The public `/llms` files remain the canonical web compatibility surface.
|
|
110
112
|
|