theme-mcp
v0.6.8MCP 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")
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query (component name, description, or functionality) |
category | string | Filter by component category |
framework | string | Component library: "svelte" (default), "react" (@classic-homes/theme-react) or "all" |
limit | number | Maximum number of results |
get_component_props
Get detailed prop definitions for a specific component (Svelte by default; framework: "react" for @classic-homes/theme-react)
| Parameter | Type | Description |
|---|---|---|
componentName * | string | Name of the component (e.g., "Button", "DashboardLayout") |
framework | string | Component library: "svelte" (@classic-homes/theme-svelte and the Svelte packages, the default) or "react" (@classic-homes/theme-react) |
includeExamples | boolean | Whether to include usage examples |
suggest_pattern
Get recommended patterns for common use cases
| Parameter | Type | Description |
|---|---|---|
useCase * | string | The use case you need a pattern for |
requirements | array | Additional requirements or constraints |
validate_component_usage
Validate if component usage follows design system guidelines (Svelte by default; framework: "react" for @classic-homes/theme-react)
| Parameter | Type | Description |
|---|---|---|
componentName * | string | Name of the component being used |
props * | object | Props being passed to the component |
context | string | Where the component is being used (e.g., "inside a form", "in modal") |
framework | string | Component library: "svelte" (@classic-homes/theme-svelte and the Svelte packages, the default) or "react" (@classic-homes/theme-react) |