wisdomrock avatar

Primereact Mcp

wisdomrock/primereact-mcp

Community-built bridge to PrimeReact v10's component library until the official v11 MCP ships. Exposes 105 components through 20+ tools including search_components, get_component_props, find_by_prop, and compare_components. The data is generated directly from PrimeReact's TypeScript definitions using the same @primeuix/mcp engine that powers the official PrimeNG server. Useful when you're building React UIs with PrimeReact and want Claude to pull accurate prop types, events, and import statements without leaving your editor. Run it via npx or clone locally, works with Claude Desktop, Cursor, and Windsurf. Regenerate the component data after upgrading PrimeReact by running the included generate-data.mjs script.

tools
24
transport
STDIO
last updated
Jun 5, 2026

Tools

24 tools

Public tool metadata for what this MCP can expose to an agent.

list_componentsList all 105 PrimeReact components, optionally filtered by category

List all 105 PrimeReact components, optionally filtered by category

No parameter schema in public metadata yet.

get_componentGet full details for a component (stats, props preview, sections)

Get full details for a component (stats, props preview, sections)

No parameter schema in public metadata yet.

get_component_propsGet all props for a component with types and descriptions

Get all props for a component with types and descriptions

No parameter schema in public metadata yet.

get_component_eventsGet all event callbacks a component supports

Get all event callbacks a component supports

No parameter schema in public metadata yet.

get_component_methodsGet component methods (where documented)

Get component methods (where documented)

No parameter schema in public metadata yet.

get_component_slotsGet slots/render props for a component

Get slots/render props for a component

No parameter schema in public metadata yet.

get_component_ptGet Pass Through (PT) customization options

Get Pass Through (PT) customization options

No parameter schema in public metadata yet.

get_component_tokensGet design tokens (CSS variables)

Get design tokens (CSS variables)

No parameter schema in public metadata yet.

get_component_stylesGet CSS class names

Get CSS class names

No parameter schema in public metadata yet.

get_component_sectionsGet all sections with examples (basic, advanced, etc.)

Get all sections with examples (basic, advanced, etc.)

No parameter schema in public metadata yet.

get_component_importGet the correct import statement

Get the correct import statement

No parameter schema in public metadata yet.

get_component_urlGet the official documentation URL

Get the official documentation URL

No parameter schema in public metadata yet.

get_usage_exampleGet code examples for a component

Get code examples for a component

No parameter schema in public metadata yet.

search_componentsSearch components by name or description

Search components by name or description

No parameter schema in public metadata yet.

find_by_propFind all components that have a specific prop

Find all components that have a specific prop

No parameter schema in public metadata yet.

find_by_eventFind all components that emit a specific event

Find all components that emit a specific event

No parameter schema in public metadata yet.

find_components_with_featureFind components with a feature (e.g. "filter", "lazy", "virtual")

Find components with a feature (e.g. "filter", "lazy", "virtual")

No parameter schema in public metadata yet.

compare_componentsCompare two components side by side

Compare two components side by side

No parameter schema in public metadata yet.

suggest_componentSuggest components based on a use-case description

Suggest components based on a use-case description

No parameter schema in public metadata yet.

get_categoriesGet all component categories

Get all component categories

No parameter schema in public metadata yet.

get_version_infoGet PrimeReact version and compatibility info

Get PrimeReact version and compatibility info

No parameter schema in public metadata yet.

get_form_componentsGet all form input components

Get all form input components

No parameter schema in public metadata yet.

get_data_componentsGet all data display components (tables, lists, trees)

Get all data display components (tables, lists, trees)

No parameter schema in public metadata yet.

get_overlay_componentsGet all overlay/popup components

Get all overlay/popup components

No parameter schema in public metadata yet.

Sponsors

Readme

primereact-mcp

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

Why does this exist?
The PrimeReact team has not yet published an official @primereact/mcp package. This server fills that gap using the same engine (@primeuix/mcp) that powers the official PrimeNG MCP server, with component data extracted from PrimeReact's TypeScript definitions. The official PrimeReact MCP will be launched with v11.


Features

  • 105 PrimeReact v10 components with full prop/event documentation
  • 15+ MCP tools: search, suggest, inspect props, get examples, compare components, and more
  • Works with Claude Code, Claude Desktop, Cursor, Windsurf, and any MCP-compatible client
  • Generated directly from PrimeReact's TypeScript .d.ts source — no stale hand-written docs

Quick Start

Prerequisites

  • Node.js 18 or later
  • An MCP-compatible AI client (see below)

Option A — npx (no install needed)

Use npx -y primereact-mcp directly in your MCP client config. Component data ships pre-generated inside the package.


View the full README on GitHub

Details

Repository
github.com/wisdomrock/primereact-mcp
Package
primereact-mcp
Transport
STDIO
Registry
MCP registry, active