@primevue/mcp 0.0.1-alpha.7 → 0.0.1-alpha.8
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 +57 -6
- package/dist/{index.mjs → index.js} +164 -8
- package/package.json +10 -9
- /package/dist/{index.d.mts → index.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -92,6 +92,57 @@ After adding, go to **Settings > MCP** and click the refresh button. The Compose
|
|
|
92
92
|
|
|
93
93
|
---
|
|
94
94
|
|
|
95
|
+
### VS Code (GitHub Copilot)
|
|
96
|
+
|
|
97
|
+
**Option 1: Project Configuration**
|
|
98
|
+
|
|
99
|
+
Create `.vscode/mcp.json` in your project:
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"servers": {
|
|
104
|
+
"primevue": {
|
|
105
|
+
"command": "npx",
|
|
106
|
+
"args": ["-y", "@primevue/mcp"]
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
**Option 2: User Configuration (Global)**
|
|
113
|
+
|
|
114
|
+
Create or edit the MCP configuration file in your VS Code user data directory:
|
|
115
|
+
|
|
116
|
+
- **macOS**: `~/Library/Application Support/Code/User/mcp.json`
|
|
117
|
+
- **Windows**: `%APPDATA%\Code\User\mcp.json`
|
|
118
|
+
- **Linux**: `~/.config/Code/User/mcp.json`
|
|
119
|
+
|
|
120
|
+
```json
|
|
121
|
+
{
|
|
122
|
+
"servers": {
|
|
123
|
+
"primevue": {
|
|
124
|
+
"command": "npx",
|
|
125
|
+
"args": ["-y", "@primevue/mcp"]
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Option 3: Via Command Palette**
|
|
132
|
+
|
|
133
|
+
1. Open Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`)
|
|
134
|
+
2. Type "MCP: Add Server"
|
|
135
|
+
3. Select "Command (stdio)"
|
|
136
|
+
4. Enter `primevue` as the server ID
|
|
137
|
+
5. Enter `npx` as the command
|
|
138
|
+
6. Enter `-y,@primevue/mcp` as the arguments
|
|
139
|
+
|
|
140
|
+
After adding, use Copilot in **Agent mode** to access PrimeVue tools. The MCP server will be available in GitHub Copilot Chat.
|
|
141
|
+
|
|
142
|
+
> **Reference:** [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
95
146
|
### OpenAI Codex CLI
|
|
96
147
|
|
|
97
148
|
**Option 1: Using the CLI**
|
|
@@ -255,12 +306,12 @@ After adding, restart Zed. Check the Agent Panel's settings view - a green indic
|
|
|
255
306
|
|
|
256
307
|
Once installed, try asking your AI assistant:
|
|
257
308
|
|
|
258
|
-
- "
|
|
259
|
-
- "
|
|
260
|
-
- "How do I customize
|
|
261
|
-
- "
|
|
262
|
-
- "
|
|
263
|
-
- "
|
|
309
|
+
- "What are all the props available for the DataTable component?"
|
|
310
|
+
- "Show me how to implement row selection in DataTable"
|
|
311
|
+
- "How do I customize Button styles using Pass Through?"
|
|
312
|
+
- "What design tokens are available for the Card component?"
|
|
313
|
+
- "Find me a component for selecting multiple items from a list"
|
|
314
|
+
- "Compare AutoComplete and Select components"
|
|
264
315
|
|
|
265
316
|
## Requirements
|
|
266
317
|
|
|
@@ -36601,6 +36601,87 @@ const countries = ref([
|
|
|
36601
36601
|
]
|
|
36602
36602
|
}
|
|
36603
36603
|
},
|
|
36604
|
+
{
|
|
36605
|
+
name: "mcp",
|
|
36606
|
+
title: "mcp",
|
|
36607
|
+
description: "",
|
|
36608
|
+
sections: [
|
|
36609
|
+
{
|
|
36610
|
+
id: "claudecode",
|
|
36611
|
+
label: "Claude Code",
|
|
36612
|
+
description: "Add the PrimeVue MCP server using the CLI. After adding, start a new session and use /mcp to verify the connection.",
|
|
36613
|
+
examples: null
|
|
36614
|
+
},
|
|
36615
|
+
{
|
|
36616
|
+
id: "cursor",
|
|
36617
|
+
label: "Cursor",
|
|
36618
|
+
description: "Create .cursor/mcp.json in your project or ~/.cursor/mcp.json for global configuration.",
|
|
36619
|
+
examples: {
|
|
36620
|
+
basic: '{\n "mcpServers": {\n "primevue": {\n "command": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n}'
|
|
36621
|
+
}
|
|
36622
|
+
},
|
|
36623
|
+
{
|
|
36624
|
+
id: "exampleprompts",
|
|
36625
|
+
label: "ExamplePromptsDoc",
|
|
36626
|
+
description: "Once installed, try asking your AI assistant:",
|
|
36627
|
+
examples: {
|
|
36628
|
+
basic: '"What are all the props available for the DataTable component?"\n"Show me how to implement row selection in DataTable"\n"How do I customize Button styles using Pass Through?"\n"What design tokens are available for the Card component?"\n"Find me a component for selecting multiple items from a list"\n"Compare AutoComplete and Select components"'
|
|
36629
|
+
}
|
|
36630
|
+
},
|
|
36631
|
+
{
|
|
36632
|
+
id: "introduction",
|
|
36633
|
+
label: "Introduction",
|
|
36634
|
+
description: "Model Context Protocol (MCP) is an open standard that enables AI models to connect with external tools and data sources . The PrimeVue MCP server provides AI assistants with comprehensive access to: Component documentation including props , events , slots , and methods Theming and styling with Pass Through and design tokens Code examples and usage patterns Accessibility information Installation and configuration guides",
|
|
36635
|
+
examples: null
|
|
36636
|
+
},
|
|
36637
|
+
{
|
|
36638
|
+
id: "quickstart",
|
|
36639
|
+
label: "Quick Start",
|
|
36640
|
+
description: "The easiest way to use this MCP server is with npx - no installation required:",
|
|
36641
|
+
examples: {
|
|
36642
|
+
basic: "npx @primevue/mcp"
|
|
36643
|
+
}
|
|
36644
|
+
},
|
|
36645
|
+
{
|
|
36646
|
+
id: "tools",
|
|
36647
|
+
label: "ToolsDoc",
|
|
36648
|
+
description: "Component Information Tools for exploring and understanding PrimeVue components. list_components : List all PrimeVue components with categories get_component : Get detailed info about a specific component search_components : Search components by name or description get_component_props : Get all props for a component get_component_events : Get all events for a component get_component_methods : Get all methods for a component get_component_slots : Get all slots for a component compare_components : Compare two components side by side Code Examples Tools for retrieving code samples and generating templates. get_usage_example : Get code examples for a component list_examples : List all available code examples get_example : Get a specific example by component and section generate_component_template : Generate a basic component template Theming & Styling Tools for customizing component appearance and styling. get_component_pt : Get Pass Through options for DOM customization get_component_tokens : Get design tokens (CSS variables) get_component_styles : Get CSS class names get_theming_guide : Get detailed theming guide get_passthrough_guide : Get Pass Through customization guide get_tailwind_guide : Get Tailwind CSS integration guide Documentation & Guides Tools for accessing PrimeVue documentation and guides. list_guides : List all guides and documentation pages get_guide : Get a specific guide by name get_configuration : Get PrimeVue configuration options get_installation : Get installation instructions get_accessibility_guide : Get accessibility guide get_accessibility_info : Get accessibility info for a component Search & Discovery Tools for finding components based on various criteria. search_all : Search across components, guides, and props suggest_component : Suggest components based on use case find_by_prop : Find components with a specific prop find_by_event : Find components that emit a specific event find_components_with_feature : Find components supporting a feature get_related_components : Find related components",
|
|
36649
|
+
examples: null
|
|
36650
|
+
},
|
|
36651
|
+
{
|
|
36652
|
+
id: "vscode",
|
|
36653
|
+
label: "VS Code",
|
|
36654
|
+
description: "Create .vscode/mcp.json in your project or ~/Library/Application Support/Code/User/mcp.json for global configuration.",
|
|
36655
|
+
examples: {
|
|
36656
|
+
basic: '{\n "servers": {\n "primevue": {\n "command": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n}'
|
|
36657
|
+
}
|
|
36658
|
+
},
|
|
36659
|
+
{
|
|
36660
|
+
id: "windsurf",
|
|
36661
|
+
label: "Windsurf",
|
|
36662
|
+
description: "Edit ~/.codeium/windsurf/mcp_config.json to add the PrimeVue MCP server.",
|
|
36663
|
+
examples: {
|
|
36664
|
+
basic: '{\n "mcpServers": {\n "primevue": {\n "command": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n}'
|
|
36665
|
+
}
|
|
36666
|
+
},
|
|
36667
|
+
{
|
|
36668
|
+
id: "zed",
|
|
36669
|
+
label: "Zed",
|
|
36670
|
+
description: "Add to your Zed settings at ~/.config/zed/settings.json (Linux) or ~/Library/Application Support/Zed/settings.json (macOS).",
|
|
36671
|
+
examples: {
|
|
36672
|
+
basic: '{\n "context_servers": {\n "primevue": {\n "command": {\n "path": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n }\n}'
|
|
36673
|
+
}
|
|
36674
|
+
}
|
|
36675
|
+
],
|
|
36676
|
+
api: {
|
|
36677
|
+
props: null,
|
|
36678
|
+
slots: null,
|
|
36679
|
+
emits: null,
|
|
36680
|
+
pt: null,
|
|
36681
|
+
styles: null,
|
|
36682
|
+
tokens: null
|
|
36683
|
+
}
|
|
36684
|
+
},
|
|
36604
36685
|
{
|
|
36605
36686
|
name: "megamenu",
|
|
36606
36687
|
title: "Vue MegaMenu Component",
|
|
@@ -73153,6 +73234,80 @@ app.component('Button', Button);`,
|
|
|
73153
73234
|
}
|
|
73154
73235
|
]
|
|
73155
73236
|
},
|
|
73237
|
+
{
|
|
73238
|
+
name: "mcp",
|
|
73239
|
+
path: "mcp",
|
|
73240
|
+
title: "MCP Server",
|
|
73241
|
+
description: "Model Context Protocol (MCP) server for PrimeVue component library. Provides AI assistants with comprehensive access to PrimeVue component documentation.",
|
|
73242
|
+
sections: [
|
|
73243
|
+
{
|
|
73244
|
+
id: "claudecode",
|
|
73245
|
+
label: "Claude Code",
|
|
73246
|
+
description: "Add the PrimeVue MCP server using the CLI. After adding, start a new session and use /mcp to verify the connection.",
|
|
73247
|
+
examples: null
|
|
73248
|
+
},
|
|
73249
|
+
{
|
|
73250
|
+
id: "cursor",
|
|
73251
|
+
label: "Cursor",
|
|
73252
|
+
description: "Create .cursor/mcp.json in your project or ~/.cursor/mcp.json for global configuration.",
|
|
73253
|
+
examples: {
|
|
73254
|
+
basic: '{\n "mcpServers": {\n "primevue": {\n "command": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n}'
|
|
73255
|
+
}
|
|
73256
|
+
},
|
|
73257
|
+
{
|
|
73258
|
+
id: "exampleprompts",
|
|
73259
|
+
label: "Example Prompts",
|
|
73260
|
+
description: "Once installed, try asking your AI assistant:",
|
|
73261
|
+
examples: {
|
|
73262
|
+
basic: '"What are all the props available for the DataTable component?"\n"Show me how to implement row selection in DataTable"\n"How do I customize Button styles using Pass Through?"\n"What design tokens are available for the Card component?"\n"Find me a component for selecting multiple items from a list"\n"Compare AutoComplete and Select components"'
|
|
73263
|
+
}
|
|
73264
|
+
},
|
|
73265
|
+
{
|
|
73266
|
+
id: "introduction",
|
|
73267
|
+
label: "Introduction",
|
|
73268
|
+
description: "Model Context Protocol (MCP) is an open standard that enables AI models to connect with external tools and data sources . The PrimeVue MCP server provides AI assistants with comprehensive access to: Component documentation including props , events , slots , and methods Theming and styling with Pass Through and design tokens Code examples and usage patterns Accessibility information Installation and configuration guides",
|
|
73269
|
+
examples: null
|
|
73270
|
+
},
|
|
73271
|
+
{
|
|
73272
|
+
id: "quickstart",
|
|
73273
|
+
label: "Quick Start",
|
|
73274
|
+
description: "The easiest way to use this MCP server is with npx - no installation required:",
|
|
73275
|
+
examples: {
|
|
73276
|
+
basic: "npx @primevue/mcp"
|
|
73277
|
+
}
|
|
73278
|
+
},
|
|
73279
|
+
{
|
|
73280
|
+
id: "tools",
|
|
73281
|
+
label: "Tools",
|
|
73282
|
+
description: "Component Information Tools for exploring and understanding PrimeVue components. list_components : List all PrimeVue components with categories get_component : Get detailed info about a specific component search_components : Search components by name or description get_component_props : Get all props for a component get_component_events : Get all events for a component get_component_methods : Get all methods for a component get_component_slots : Get all slots for a component compare_components : Compare two components side by side Code Examples Tools for retrieving code samples and generating templates. get_usage_example : Get code examples for a component list_examples : List all available code examples get_example : Get a specific example by component and section generate_component_template : Generate a basic component template Theming & Styling Tools for customizing component appearance and styling. get_component_pt : Get Pass Through options for DOM customization get_component_tokens : Get design tokens (CSS variables) get_component_styles : Get CSS class names get_theming_guide : Get detailed theming guide get_passthrough_guide : Get Pass Through customization guide get_tailwind_guide : Get Tailwind CSS integration guide Documentation & Guides Tools for accessing PrimeVue documentation and guides. list_guides : List all guides and documentation pages get_guide : Get a specific guide by name get_configuration : Get PrimeVue configuration options get_installation : Get installation instructions get_accessibility_guide : Get accessibility guide get_accessibility_info : Get accessibility info for a component Search & Discovery Tools for finding components based on various criteria. search_all : Search across components, guides, and props suggest_component : Suggest components based on use case find_by_prop : Find components with a specific prop find_by_event : Find components that emit a specific event find_components_with_feature : Find components supporting a feature get_related_components : Find related components",
|
|
73283
|
+
examples: null
|
|
73284
|
+
},
|
|
73285
|
+
{
|
|
73286
|
+
id: "vscode",
|
|
73287
|
+
label: "VS Code",
|
|
73288
|
+
description: "Create .vscode/mcp.json in your project or ~/Library/Application Support/Code/User/mcp.json for global configuration.",
|
|
73289
|
+
examples: {
|
|
73290
|
+
basic: '{\n "servers": {\n "primevue": {\n "command": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n}'
|
|
73291
|
+
}
|
|
73292
|
+
},
|
|
73293
|
+
{
|
|
73294
|
+
id: "windsurf",
|
|
73295
|
+
label: "Windsurf",
|
|
73296
|
+
description: "Edit ~/.codeium/windsurf/mcp_config.json to add the PrimeVue MCP server.",
|
|
73297
|
+
examples: {
|
|
73298
|
+
basic: '{\n "mcpServers": {\n "primevue": {\n "command": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n}'
|
|
73299
|
+
}
|
|
73300
|
+
},
|
|
73301
|
+
{
|
|
73302
|
+
id: "zed",
|
|
73303
|
+
label: "Zed",
|
|
73304
|
+
description: "Add to your Zed settings at ~/.config/zed/settings.json (Linux) or ~/Library/Application Support/Zed/settings.json (macOS).",
|
|
73305
|
+
examples: {
|
|
73306
|
+
basic: '{\n "context_servers": {\n "primevue": {\n "command": {\n "path": "npx",\n "args": ["-y", "@primevue/mcp"]\n }\n }\n }\n}'
|
|
73307
|
+
}
|
|
73308
|
+
}
|
|
73309
|
+
]
|
|
73310
|
+
},
|
|
73156
73311
|
{
|
|
73157
73312
|
name: "accessibility",
|
|
73158
73313
|
path: "guides/accessibility",
|
|
@@ -73339,7 +73494,7 @@ const items = [
|
|
|
73339
73494
|
// package.json
|
|
73340
73495
|
var package_default = {
|
|
73341
73496
|
name: "@primevue/mcp",
|
|
73342
|
-
version: "0.0.1-alpha.
|
|
73497
|
+
version: "0.0.1-alpha.8",
|
|
73343
73498
|
author: "PrimeTek Informatics",
|
|
73344
73499
|
description: "Model Context Protocol (MCP) server for PrimeVue component library",
|
|
73345
73500
|
homepage: "https://primevue.org/",
|
|
@@ -73362,16 +73517,17 @@ var package_default = {
|
|
|
73362
73517
|
"components"
|
|
73363
73518
|
],
|
|
73364
73519
|
bin: {
|
|
73365
|
-
"primevue-mcp": "./dist/index.
|
|
73520
|
+
"primevue-mcp": "./dist/index.js"
|
|
73366
73521
|
},
|
|
73367
|
-
|
|
73368
|
-
|
|
73369
|
-
|
|
73522
|
+
type: "module",
|
|
73523
|
+
main: "./dist/index.js",
|
|
73524
|
+
module: "./dist/index.js",
|
|
73525
|
+
types: "./dist/index.d.ts",
|
|
73370
73526
|
exports: {
|
|
73371
73527
|
".": {
|
|
73372
|
-
types: "./dist/index.d.
|
|
73373
|
-
import: "./dist/index.
|
|
73374
|
-
default: "./dist/index.
|
|
73528
|
+
types: "./dist/index.d.ts",
|
|
73529
|
+
import: "./dist/index.js",
|
|
73530
|
+
default: "./dist/index.js"
|
|
73375
73531
|
}
|
|
73376
73532
|
},
|
|
73377
73533
|
publishConfig: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primevue/mcp",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.8",
|
|
4
4
|
"author": "PrimeTek Informatics",
|
|
5
5
|
"description": "Model Context Protocol (MCP) server for PrimeVue component library",
|
|
6
6
|
"homepage": "https://primevue.org/",
|
|
@@ -23,16 +23,17 @@
|
|
|
23
23
|
"components"
|
|
24
24
|
],
|
|
25
25
|
"bin": {
|
|
26
|
-
"primevue-mcp": "./dist/index.
|
|
26
|
+
"primevue-mcp": "./dist/index.js"
|
|
27
27
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
28
|
+
"type": "module",
|
|
29
|
+
"main": "./dist/index.js",
|
|
30
|
+
"module": "./dist/index.js",
|
|
31
|
+
"types": "./dist/index.d.ts",
|
|
31
32
|
"exports": {
|
|
32
33
|
".": {
|
|
33
|
-
"types": "./dist/index.d.
|
|
34
|
-
"import": "./dist/index.
|
|
35
|
-
"default": "./dist/index.
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/index.js",
|
|
36
|
+
"default": "./dist/index.js"
|
|
36
37
|
}
|
|
37
38
|
},
|
|
38
39
|
"publishConfig": {
|
|
@@ -44,7 +45,7 @@
|
|
|
44
45
|
"LICENSE"
|
|
45
46
|
],
|
|
46
47
|
"dependencies": {
|
|
47
|
-
"@primeuix/mcp": "^0.0.1-alpha.
|
|
48
|
+
"@primeuix/mcp": "^0.0.1-alpha.3"
|
|
48
49
|
},
|
|
49
50
|
"devDependencies": {
|
|
50
51
|
"tsup": "^8.1.0"
|
|
File without changes
|