@primeng/mcp 0.0.1-alpha.1 → 21.0.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 CHANGED
@@ -6,14 +6,6 @@ Model Context Protocol (MCP) server for PrimeNG component library. Provides AI a
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 PrimeNG components and can provide accurate, up-to-date information while helping you build Angular 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 @primeng/mcp
15
- ```
16
-
17
9
  ## Installation
18
10
 
19
11
  ### Claude Code
@@ -48,6 +40,44 @@ After adding, start a new Claude Code session and use `/mcp` to verify the conne
48
40
 
49
41
  ---
50
42
 
43
+ ### VS Code
44
+
45
+ **Option 1: Project Configuration**
46
+
47
+ Create `.vscode/mcp.json` in your project:
48
+
49
+ ```json
50
+ {
51
+ "servers": {
52
+ "primeng": {
53
+ "command": "npx",
54
+ "args": ["-y", "@primeng/mcp"]
55
+ }
56
+ }
57
+ }
58
+ ```
59
+
60
+ **Option 2: Global Configuration**
61
+
62
+ Create or edit `~/Library/Application Support/Code/User/mcp.json` (macOS) or `~/.config/Code/User/mcp.json` (Linux):
63
+
64
+ ```json
65
+ {
66
+ "servers": {
67
+ "primeng": {
68
+ "command": "npx",
69
+ "args": ["-y", "@primeng/mcp"]
70
+ }
71
+ }
72
+ }
73
+ ```
74
+
75
+ After adding, the MCP server will be available in GitHub Copilot Chat.
76
+
77
+ > **Reference:** [VS Code MCP Documentation](https://code.visualstudio.com/docs/copilot/chat/mcp-servers)
78
+
79
+ ---
80
+
51
81
  ### Cursor
52
82
 
53
83
  **Option 1: Project Configuration**
@@ -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-10",
9
+ generatedAt: "2025-12-15",
10
10
  components: [
11
11
  {
12
12
  name: "accordion",
@@ -654,7 +654,7 @@ var components_default = {
654
654
  {
655
655
  name: "animateonscroll",
656
656
  title: "Angular Animate On Scroll Directive",
657
- description: "AnimateOnScroll AnimateOnScroll is used to apply animations to elements when entering or leaving the viewport during scrolling.",
657
+ description: "AnimateOnScroll is used to apply animations to elements when entering or leaving the viewport during scrolling.",
658
658
  sections: [
659
659
  {
660
660
  id: "accessibility",
@@ -24596,6 +24596,91 @@ export class InputTextDisabledDemo {
24596
24596
  tokens: null
24597
24597
  }
24598
24598
  },
24599
+ {
24600
+ name: "mcp",
24601
+ title: "MCP Server - PrimeNG",
24602
+ description: "Model Context Protocol (MCP) server for PrimeNG component library. Provides AI assistants with comprehensive access to PrimeNG component documentation.",
24603
+ sections: [
24604
+ {
24605
+ id: "claudecode",
24606
+ label: "Claude Code",
24607
+ description: "Add the PrimeNG MCP server using the CLI. After adding, start a new session and use /mcp to verify the connection.",
24608
+ examples: null
24609
+ },
24610
+ {
24611
+ id: "cursor",
24612
+ label: "Cursor",
24613
+ description: "Create .cursor/mcp.json in your project or ~/.cursor/mcp.json for global configuration.",
24614
+ examples: {
24615
+ basic: '{\n "mcpServers": {\n "primeng": {\n "command": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n}'
24616
+ }
24617
+ },
24618
+ {
24619
+ id: "exampleprompts",
24620
+ label: "examplepromptsdoc",
24621
+ description: "Once installed, try asking your AI assistant:",
24622
+ examples: {
24623
+ basic: `"Show me how to use the Table component with sorting and filtering"
24624
+ "What props does the Button component have?"
24625
+ "How do I customize the Dialog component styling with Pass Through?"
24626
+ "Compare the Select and Listbox components"
24627
+ "What's the best component for a date picker?"
24628
+ "How do I migrate from PrimeNG v20 to v21?"`
24629
+ }
24630
+ },
24631
+ {
24632
+ id: "introduction",
24633
+ label: "Introduction",
24634
+ description: "Model Context Protocol (MCP) is an open standard that enables AI models to connect with external tools and data sources . The PrimeNG MCP server provides AI assistants with comprehensive access to: Component documentation including props , events , templates , and methods Theming and styling with Pass Through and design tokens Code examples and usage patterns Migration guides for version upgrades Installation and configuration guides",
24635
+ examples: null
24636
+ },
24637
+ {
24638
+ id: "openaicodex",
24639
+ label: "OpenAI Codex",
24640
+ description: "Add the PrimeNG MCP server using the CLI or edit ~/.codex/config.toml directly.",
24641
+ examples: null
24642
+ },
24643
+ {
24644
+ id: "tools",
24645
+ label: "Available Tools",
24646
+ description: "Component Information Tools for exploring and understanding PrimeNG components. list_components : List all PrimeNG 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 templates 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 PrimeNG documentation and guides. list_guides : List all guides and documentation pages get_guide : Get a specific guide by name get_configuration : Get PrimeNG configuration options get_installation : Get installation instructions get_accessibility_guide : Get accessibility guide get_accessibility_info : Get accessibility info for a component Migration Tools for upgrading between PrimeNG versions. get_migration_guide : Get migration guide overview migrate_v18_to_v19 : v18 to v19 migration guide migrate_v19_to_v20 : v19 to v20 migration guide migrate_v20_to_v21 : v20 to v21 migration guide 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",
24647
+ examples: null
24648
+ },
24649
+ {
24650
+ id: "vscode",
24651
+ label: "VS Code",
24652
+ description: "Create .vscode/mcp.json in your project or ~/Library/Application Support/Code/User/mcp.json for global configuration.",
24653
+ examples: {
24654
+ basic: '{\n "servers": {\n "primeng": {\n "command": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n}'
24655
+ }
24656
+ },
24657
+ {
24658
+ id: "windsurf",
24659
+ label: "Windsurf",
24660
+ description: "Edit ~/.codeium/windsurf/mcp_config.json to add the PrimeNG MCP server.",
24661
+ examples: {
24662
+ basic: '{\n "mcpServers": {\n "primeng": {\n "command": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n}'
24663
+ }
24664
+ },
24665
+ {
24666
+ id: "zed",
24667
+ label: "Zed",
24668
+ description: "Add to your Zed settings at ~/.config/zed/settings.json (Linux) or ~/Library/Application Support/Zed/settings.json (macOS).",
24669
+ examples: {
24670
+ basic: '{\n "context_servers": {\n "primeng": {\n "command": {\n "path": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n }\n}'
24671
+ }
24672
+ }
24673
+ ],
24674
+ api: {
24675
+ props: null,
24676
+ templates: null,
24677
+ emits: null,
24678
+ methods: null,
24679
+ pt: null,
24680
+ styles: null,
24681
+ tokens: null
24682
+ }
24683
+ },
24599
24684
  {
24600
24685
  name: "megamenu",
24601
24686
  title: "Angular MegaMenu Component",
@@ -59473,6 +59558,83 @@ export class PanelPtDemo {
59473
59558
  }
59474
59559
  ]
59475
59560
  },
59561
+ {
59562
+ name: "mcp",
59563
+ path: "mcp",
59564
+ title: "MCP Server",
59565
+ description: "Model Context Protocol (MCP) server for PrimeNG component library.",
59566
+ sections: [
59567
+ {
59568
+ id: "claudecode",
59569
+ label: "Claudecode",
59570
+ description: "Add the PrimeNG MCP server using the CLI. After adding, start a new session and use /mcp to verify the connection.",
59571
+ examples: null
59572
+ },
59573
+ {
59574
+ id: "cursor",
59575
+ label: "Cursor",
59576
+ description: "Create .cursor/mcp.json in your project or ~/.cursor/mcp.json for global configuration.",
59577
+ examples: {
59578
+ basic: '{\n "mcpServers": {\n "primeng": {\n "command": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n}'
59579
+ }
59580
+ },
59581
+ {
59582
+ id: "exampleprompts",
59583
+ label: "Exampleprompts",
59584
+ description: "Once installed, try asking your AI assistant:",
59585
+ examples: {
59586
+ basic: `"Show me how to use the Table component with sorting and filtering"
59587
+ "What props does the Button component have?"
59588
+ "How do I customize the Dialog component styling with Pass Through?"
59589
+ "Compare the Select and Listbox components"
59590
+ "What's the best component for a date picker?"
59591
+ "How do I migrate from PrimeNG v20 to v21?"`
59592
+ }
59593
+ },
59594
+ {
59595
+ id: "introduction",
59596
+ label: "Introduction",
59597
+ description: "Model Context Protocol (MCP) is an open standard that enables AI models to connect with external tools and data sources . The PrimeNG MCP server provides AI assistants with comprehensive access to: Component documentation including props , events , templates , and methods Theming and styling with Pass Through and design tokens Code examples and usage patterns Migration guides for version upgrades Installation and configuration guides",
59598
+ examples: null
59599
+ },
59600
+ {
59601
+ id: "openaicodex",
59602
+ label: "Openaicodex",
59603
+ description: "Add the PrimeNG MCP server using the CLI or edit ~/.codex/config.toml directly.",
59604
+ examples: null
59605
+ },
59606
+ {
59607
+ id: "tools",
59608
+ label: "Tools",
59609
+ description: "Component Information Tools for exploring and understanding PrimeNG components. list_components : List all PrimeNG 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 templates 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 PrimeNG documentation and guides. list_guides : List all guides and documentation pages get_guide : Get a specific guide by name get_configuration : Get PrimeNG configuration options get_installation : Get installation instructions get_accessibility_guide : Get accessibility guide get_accessibility_info : Get accessibility info for a component Migration Tools for upgrading between PrimeNG versions. get_migration_guide : Get migration guide overview migrate_v18_to_v19 : v18 to v19 migration guide migrate_v19_to_v20 : v19 to v20 migration guide migrate_v20_to_v21 : v20 to v21 migration guide 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",
59610
+ examples: null
59611
+ },
59612
+ {
59613
+ id: "vscode",
59614
+ label: "Vscode",
59615
+ description: "Create .vscode/mcp.json in your project or ~/Library/Application Support/Code/User/mcp.json for global configuration.",
59616
+ examples: {
59617
+ basic: '{\n "servers": {\n "primeng": {\n "command": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n}'
59618
+ }
59619
+ },
59620
+ {
59621
+ id: "windsurf",
59622
+ label: "Windsurf",
59623
+ description: "Edit ~/.codeium/windsurf/mcp_config.json to add the PrimeNG MCP server.",
59624
+ examples: {
59625
+ basic: '{\n "mcpServers": {\n "primeng": {\n "command": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n}'
59626
+ }
59627
+ },
59628
+ {
59629
+ id: "zed",
59630
+ label: "Zed",
59631
+ description: "Add to your Zed settings at ~/.config/zed/settings.json (Linux) or ~/Library/Application Support/Zed/settings.json (macOS).",
59632
+ examples: {
59633
+ basic: '{\n "context_servers": {\n "primeng": {\n "command": {\n "path": "npx",\n "args": ["-y", "@primeng/mcp"]\n }\n }\n }\n}'
59634
+ }
59635
+ }
59636
+ ]
59637
+ },
59476
59638
  {
59477
59639
  name: "accessibility",
59478
59640
  path: "guides/accessibility",
@@ -59697,11 +59859,11 @@ export class PanelPtDemo {
59697
59859
  // package.json
59698
59860
  var package_default = {
59699
59861
  name: "@primeng/mcp",
59700
- version: "0.0.1-alpha.1",
59862
+ version: "21.0.1",
59701
59863
  author: "PrimeTek Informatics",
59702
59864
  description: "Model Context Protocol (MCP) server for PrimeNg component library",
59703
59865
  homepage: "https://primeng.org/",
59704
- license: "MIT",
59866
+ license: "SEE LICENSE IN LICENSE.md",
59705
59867
  repository: {
59706
59868
  type: "git",
59707
59869
  url: "https://github.com/primefaces/primeng.git",
@@ -59720,16 +59882,17 @@ var package_default = {
59720
59882
  "components"
59721
59883
  ],
59722
59884
  bin: {
59723
- "primeng-mcp": "./dist/index.mjs"
59885
+ "primeng-mcp": "./dist/index.js"
59724
59886
  },
59725
- main: "./dist/index.mjs",
59726
- module: "./dist/index.mjs",
59727
- types: "./dist/index.d.mts",
59887
+ type: "module",
59888
+ main: "./dist/index.js",
59889
+ module: "./dist/index.js",
59890
+ types: "./dist/index.d.ts",
59728
59891
  exports: {
59729
59892
  ".": {
59730
- types: "./dist/index.d.mts",
59731
- import: "./dist/index.mjs",
59732
- default: "./dist/index.mjs"
59893
+ types: "./dist/index.d.ts",
59894
+ import: "./dist/index.js",
59895
+ default: "./dist/index.js"
59733
59896
  }
59734
59897
  },
59735
59898
  publishConfig: {
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@primeng/mcp",
3
- "version": "0.0.1-alpha.1",
3
+ "version": "21.0.1",
4
4
  "author": "PrimeTek Informatics",
5
5
  "description": "Model Context Protocol (MCP) server for PrimeNg component library",
6
6
  "homepage": "https://primeng.org/",
7
- "license": "MIT",
7
+ "license": "SEE LICENSE IN LICENSE.md",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "https://github.com/primefaces/primeng.git",
@@ -23,16 +23,17 @@
23
23
  "components"
24
24
  ],
25
25
  "bin": {
26
- "primeng-mcp": "./dist/index.mjs"
26
+ "primeng-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