Skip to main content Home About the Design SystemRoadmap OverviewDesignersDevelopers OverviewColorGridIconographyInteractionsSpacingTypography Overview Global colorBox shadowTypographyBorderOpacitySpaceLengthIconBreakpointsMedia queries All elements Accordion Alert Announcement Audio player Avatar Back to top Badge Blockquote Breadcrumb Button group Button Card Chip Code block Call to action Dialog Disclosure Footer Health index Icon Jump links Menu dropdown Navigation link Navigation (primary) Navigation (secondary) Navigation (vertical) Pagination PopoverPlanned Progress stepper Readtime Scheme dropdown Scheme toggle Select Site status Skeleton Skip link Spinner Statistic Subnavigation Surface Switch Table Tabs Tag Tile Timestamp Tooltip Video embed How to useProject FeltColor PalettesCustomizingDevelopers All PatternsAccordionAlertCall to ActionCardFilterFormLink with iconLogo wallSearch barSticky bannerSticky cardTabsTagTile AI design principlesLegal requirementsTransparency noticesIconographyColorChatbot avatarsAnimation All Personalization PatternsAnnouncement FundamentalsColorAccessibility toolsAssistive technologiesCI/CDContentContributorsDesignDevelopmentManual testingResourcesScreen readers Design/code status Release notes Get support

Developers

OverviewInstallationUsageTokensCSS foundationsContributingAI Tooling
OverviewSetupVerify your setupLearn moreOverviewSetupVerify your setupLearn more

Overview

Two MCP servers give your AI assistant structured knowledge of Red Hat Design System components and design tokens. Once configured, your assistant can generate correct RHDS markup, suggest token values, and validate your usage.

Server What it knows Install
CEM Elements: attributes, slots, events, CSS custom properties, guidelines npm i -g @pwrs/cem
Asimonim Design tokens: colors, spacing, typography, shadows, and more npm i -g @pwrs/asimonim

Both are also available via go install:

go install bennypowers.dev/cem@latest
go install bennypowers.dev/asimonim@latest

Verify both are installed:

cem version
asimonim version

Setup

Pick your editor below and follow the steps. You only need to configure one.

Claude Code

Install both plugins:

/plugin marketplace add bennypowers/cem
/plugin install cem
/plugin marketplace add bennypowers/asimonim
/plugin install asimonim

No additional configuration needed. Both plugins discover RHDS manifests and token files from node_modules automatically.

Cursor

Add both servers to your Cursor MCP config:

{
  "mcpServers": {
    "cem": {
      "command": "cem",
      "args": ["mcp"]
    },
    "asimonim": {
      "command": "asimonim",
      "args": ["mcp"]
    }
  }
}

VS Code

For component intelligence, install the Custom Elements Language Server extension from the marketplace.

For MCP support, add both servers to your MCP configuration the same way as Cursor (above).

Neovim

For Neovim 0.11+ with native LSP support, create two files:

~/.config/nvim/lsp/cem.lua:

return {
  cmd = { 'cem', 'lsp' },
  root_markers = { 'custom-elements.json', 'package.json', '.git' },
  filetypes = { 'html', 'twig', 'php', 'typescript', 'javascript' },
}

~/.config/nvim/lsp/asimonim.lua:

return {
  cmd = { 'asimonim', 'lsp' },
  root_markers = { 'package.json', '.git' },
  filetypes = {
    'css', 'html', 'twig', 'php',
    'javascript', 'javascriptreact',
    'typescript', 'typescriptreact',
    'json', 'yaml',
  },
}

Verify your setup

  1. Open an HTML or CSS file in a project that depends on @rhds/elements
  2. Type <rh- and confirm that autocomplete suggestions appear
  3. In a CSS file, type --rh- and confirm that token suggestions appear
  4. If using MCP, ask your AI assistant to generate an RHDS component or list available tokens

If completions do not appear, make sure your project has @rhds/elements in its dependencies. If your project has its own web components, you can generate a manifest with:

cem generate

Learn more

Designers

To get started using our design system as a designer, go to the Designers page.

© 2026 Red Hat Deploys by Netlify