ds-mcp-server

v13.2.2
@redsift/ds-mcp-server Checked 2 days ago Published 1 day ago

MCP server for the Red Sift Design System — provides component lookup, prop documentation, and code generation tools for AI assistants.

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

search_components

Search for components by name, description, or keyword. Returns matching components with their package, description, and prop count.

ParameterTypeDescription
query *stringSearch query — component name, keyword, or description fragment
limitintegerMaximum results to return (default: 10)
packagestringOptional package filter (e.g. "design-system", "charts")

get_component_props

Get full prop documentation for a specific component, including types, defaults, and descriptions. Returns props grouped by category.

ParameterTypeDescription
name *stringComponent name (PascalCase, e.g. "Button", "TextField")
packagestringPackage name for disambiguation (e.g. "design-system")

get_component_usage

Get the import statement and a minimal JSX usage example for a component.

ParameterTypeDescription
name *stringComponent name (PascalCase)
packagestringPackage name for disambiguation

list_packages

List all packages in the design system with their component counts and descriptions.

generate_component_scaffold

Generate boilerplate files for a new component following the design system conventions. Returns file contents for: ComponentName.tsx, types.ts, styles.ts, index.ts, ComponentName.test.tsx, and ComponentName.stories.tsx.

ParameterTypeDescription
name *stringComponent name in PascalCase (e.g. "StatusCard")
package *stringTarget package (e.g. "design-system", "charts")
descriptionstringComponent description for JSDoc
elementstringHTML element to extend (default: "div"). E.g. "button", "input", "a"
propsarrayCustom props to include

search_design_tokens

Search for design tokens (colors, typography, spacing, z-index) by name, value, or CSS variable. Returns matching tokens with their values and CSS variable names.

ParameterTypeDescription
query *stringSearch query — token name, color name, hex value, or CSS variable fragment (e.g. "blue", "#4285f4", "button", "font-size")
categorystringFilter by category: "color", "typography", "layout", "border-radius", "component"
limitintegerMaximum results (default: 20)

get_design_tokens

Get all design tokens for a specific category (color, typography, layout, border-radius, component). Returns the full list of tokens with their values and CSS variables.

ParameterTypeDescription
category *stringToken category: "color", "typography", "layout", "border-radius", or "component"

get_css_variables

Find CSS custom properties (variables) used in the design system. Search by component name or token type to find the exact var() values to use in styles.

ParameterTypeDescription
pattern *stringPattern to match in CSS variable names (e.g. "button", "tooltip-background", "dark-components-alert")
limitintegerMaximum results (default: 50)

update_changelog

Generate a properly formatted CHANGELOG.md entry for the [Unreleased] section. Returns the formatted entry text to insert — does not modify the file directly.

ParameterTypeDescription
description *stringDescription of the change
type *stringChange type
packagestringAffected package (omit for repo-wide changes)

search_patterns

Search for composition patterns — proven component groupings for common UI scenarios like data tables, modals, dashboards, and forms. Returns matching patterns with their components, layout, and documentation link.

ParameterTypeDescription
query *stringSearch query — pattern name, component name, tag, or UI concept (e.g. "table", "modal", "form", "dashboard")
limitintegerMaximum results to return (default: 10)