Primereact-mcp Server

A Model Context Protocol (MCP) server that gives AI assistants full access to PrimeReact v10 component documentation — props, events, examples, and search.

Local serverstdioMIT

What is the Primereact-mcp Server?

Unofficial Mcp Server For Primereact 10.x is an MCP project maintained in the wisdomrock/primereact-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that gives AI assistants full access to PrimeReact v10 component documentation — props, events, examples, and search”. Read the project documentation for the complete scope.

Installation

The documented npm package is primereact-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
list_componentsList all 105 PrimeReact components, optionally filtered by category
get_componentGet full details for a component (stats, props preview, sections)
get_component_propsGet all props for a component with types and descriptions
get_component_eventsGet all event callbacks a component supports
get_component_methodsGet component methods (where documented)
get_component_slotsGet slots/render props for a component
get_component_ptGet Pass Through (PT) customization options
get_component_tokensGet design tokens (CSS variables)
get_component_stylesGet CSS class names
get_component_sectionsGet all sections with examples (basic, advanced, etc.)
get_component_importGet the correct import statement
get_component_urlGet the official documentation URL
get_usage_exampleGet code examples for a component
search_componentsSearch components by name or description
find_by_propFind all components that have a specific prop
find_by_eventFind all components that emit a specific event
find_components_with_featureFind components with a feature (e.g. "filter", "lazy", "virtual")
compare_componentsCompare two components side by side
suggest_componentSuggest components based on a use-case description
get_categoriesGet all component categories
get_version_infoGet PrimeReact version and compatibility info
get_form_componentsGet all form input components
get_data_componentsGet all data display components (tables, lists, trees)
get_overlay_componentsGet all overlay/popup components

How to install the Primereact-mcp Server

{
  "mcpServers": {
    "primereact": {
      "command": "npx",
      "args": [
        "-y",
        "primereact-mcp"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.