theme-mcp

v0.6.8
@classic-homes/theme-mcp Checked 1 hour ago Published 5 days ago

MCP server for Classic Theme design system - enables AI assistants to understand and correctly use components, tokens, and patterns

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, category, or functionality (Svelte by default; framework: "react" or "all")

ParameterTypeDescription
query *stringSearch query (component name, description, or functionality)
categorystringFilter by component category
frameworkstringComponent library: "svelte" (default), "react" (@classic-homes/theme-react) or "all"
limitnumberMaximum number of results

get_component_props

Get detailed prop definitions for a specific component (Svelte by default; framework: "react" for @classic-homes/theme-react)

ParameterTypeDescription
componentName *stringName of the component (e.g., "Button", "DashboardLayout")
frameworkstringComponent library: "svelte" (@classic-homes/theme-svelte and the Svelte packages, the default) or "react" (@classic-homes/theme-react)
includeExamplesbooleanWhether to include usage examples

suggest_pattern

Get recommended patterns for common use cases

ParameterTypeDescription
useCase *stringThe use case you need a pattern for
requirementsarrayAdditional requirements or constraints

validate_component_usage

Validate if component usage follows design system guidelines (Svelte by default; framework: "react" for @classic-homes/theme-react)

ParameterTypeDescription
componentName *stringName of the component being used
props *objectProps being passed to the component
contextstringWhere the component is being used (e.g., "inside a form", "in modal")
frameworkstringComponent library: "svelte" (@classic-homes/theme-svelte and the Svelte packages, the default) or "react" (@classic-homes/theme-react)