@primevue/mcp 0.0.1-alpha.7 → 4.5.3

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
@@ -6,14 +6,6 @@ Model Context Protocol (MCP) server for PrimeVue component library. Provides AI
6
6
 
7
7
  [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) is an open standard that enables AI models to connect with external tools and data sources. By installing this MCP server, your AI assistant gains deep knowledge of PrimeVue components and can provide accurate, up-to-date information while helping you build Vue.js applications.
8
8
 
9
- ## Quick Start
10
-
11
- The easiest way to use this MCP server is with `npx` - no installation required:
12
-
13
- ```bash
14
- npx @primevue/mcp
15
- ```
16
-
17
9
  ## Installation
18
10
 
19
11
  ### Claude Code
@@ -92,6 +84,57 @@ After adding, go to **Settings > MCP** and click the refresh button. The Compose
92
84
 
93
85
  ---
94
86
 
87
+ ### VS Code (GitHub Copilot)
88
+
89
+ **Option 1: Project Configuration**
90
+
91
+ Create `.vscode/mcp.json` in your project:
92
+
93
+ ```json
94
+ {
95
+ "servers": {
96
+ "primevue": {
97
+ "command": "npx",
98
+ "args": ["-y", "@primevue/mcp"]
99
+ }
100
+ }
101
+ }
102
+ ```
103
+
104
+ **Option 2: User Configuration (Global)**
105
+
106
+ Create or edit the MCP configuration file in your VS Code user data directory:
107
+
108
+ - **macOS**: `~/Library/Application Support/Code/User/mcp.json`
109
+ - **Windows**: `%APPDATA%\Code\User\mcp.json`
110
+ - **Linux**: `~/.config/Code/User/mcp.json`
111
+
112
+ ```json
113
+ {
114
+ "servers": {
115
+ "primevue": {
116
+ "command": "npx",
117
+ "args": ["-y", "@primevue/mcp"]
118
+ }
119
+ }
120
+ }
121
+ ```
122
+
123
+ **Option 3: Via Command Palette**
124
+
125
+ 1. Open Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`)
126
+ 2. Type "MCP: Add Server"
127
+ 3. Select "Command (stdio)"
128
+ 4. Enter `primevue` as the server ID
129
+ 5. Enter `npx` as the command
130
+ 6. Enter `-y,@primevue/mcp` as the arguments
131
+
132
+ After adding, use Copilot in **Agent mode** to access PrimeVue tools. The MCP server will be available in GitHub Copilot Chat.
133
+
134
+ > **Reference:** [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
135
+
136
+ ---
137
+
95
138
  ### OpenAI Codex CLI
96
139
 
97
140
  **Option 1: Using the CLI**
@@ -255,12 +298,12 @@ After adding, restart Zed. Check the Agent Panel's settings view - a green indic
255
298
 
256
299
  Once installed, try asking your AI assistant:
257
300
 
258
- - "Show me how to use the DataTable component with sorting and filtering"
259
- - "What props does the Button component have?"
260
- - "How do I customize the Dialog component styling with Pass Through?"
261
- - "Compare the Select and Listbox components"
262
- - "What's the best component for a date picker?"
263
- - "Show me examples of the Toast composable"
301
+ - "What are all the props available for the DataTable component?"
302
+ - "Show me how to implement row selection in DataTable"
303
+ - "How do I customize Button styles using Pass Through?"
304
+ - "What design tokens are available for the Card component?"
305
+ - "Find me a component for selecting multiple items from a list"
306
+ - "Compare AutoComplete and Select components"
264
307
 
265
308
  ## Requirements
266
309
 
@@ -6,7 +6,7 @@ import { runPrimeMcpServer } from "@primeuix/mcp";
6
6
  // data/components.json
7
7
  var components_default = {
8
8
  version: "1.0.0",
9
- generatedAt: "2025-12-12",
9
+ generatedAt: "2025-12-15",
10
10
  components: [
11
11
  {
12
12
  name: "accordion",
@@ -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: "openaicodex",
36639
+ label: "OpenAI Codex",
36640
+ description: "Add the PrimeVue MCP server using the CLI or edit ~/.codex/config.toml directly.",
36641
+ examples: {
36642
+ basic: '# Using the CLI\ncodex mcp add primevue -- npx -y @primevue/mcp\n\n# Or edit ~/.codex/config.toml\n[mcp_servers.primevue]\ncommand = "npx"\nargs = ["-y", "@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: "openaicodex",
73273
+ label: "OpenAI Codex",
73274
+ description: "Add the PrimeVue MCP server using the CLI or edit ~/.codex/config.toml directly.",
73275
+ examples: {
73276
+ basic: '# Using the CLI\ncodex mcp add primevue -- npx -y @primevue/mcp\n\n# Or edit ~/.codex/config.toml\n[mcp_servers.primevue]\ncommand = "npx"\nargs = ["-y", "@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.7",
73497
+ version: "4.5.3",
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.mjs"
73520
+ "primevue-mcp": "./dist/index.js"
73366
73521
  },
73367
- main: "./dist/index.mjs",
73368
- module: "./dist/index.mjs",
73369
- types: "./dist/index.d.mts",
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.mts",
73373
- import: "./dist/index.mjs",
73374
- default: "./dist/index.mjs"
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.7",
3
+ "version": "4.5.3",
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.mjs"
26
+ "primevue-mcp": "./dist/index.js"
27
27
  },
28
- "main": "./dist/index.mjs",
29
- "module": "./dist/index.mjs",
30
- "types": "./dist/index.d.mts",
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.mts",
34
- "import": "./dist/index.mjs",
35
- "default": "./dist/index.mjs"
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.2"
48
+ "@primeuix/mcp": "^1.0.0"
48
49
  },
49
50
  "devDependencies": {
50
51
  "tsup": "^8.1.0"
File without changes