design-system-mcp

v0.17.0
@wordpress/design-system-mcp Checked 3 hours ago Published 12 days ago

MCP server for the WordPress Design System.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_components Get Components

Get a list of all available WordPress Design System components with their package names and descriptions.

get_component_details Get Component Details

Get detailed documentation for one or more WordPress Design System components including props, usage examples, and import statements. Pass multiple names to fetch several components in a single call instead of making repeated calls.

ParameterTypeDescription
name *A component name, or an array of component names to fetch in a single call (e.g. "Button" or ["Button", "Tabs"]).

get_design_tokens Get Design Tokens

Get the WordPress Design System design tokens reference (colors, spacing, typography, motion, etc.).

get_patterns Get Patterns

List the WordPress Design System patterns, each with a short description. A pattern explains how to approach a specific kind of interaction, such as confirming a destructive action or saving a form. Check this list before building an interface or a user flow. The list does not cover every interaction: use a pattern only when it fits the situation, and otherwise work from the components.

get_pattern_details Get Pattern Details

Get the full guidance for one or more WordPress Design System patterns. A pattern explains which components to choose for a kind of interaction and how to configure them. Use the slugs listed by get_patterns. Pass multiple slugs to fetch several patterns in a single call instead of making repeated calls.

ParameterTypeDescription
slug *A pattern slug, or an array of pattern slugs to fetch in a single call (e.g. "destructive-actions" or ["destructive-actions", "error-messages"]).