spor-mcp-server
v2.2.14MCP server for Spor Design System
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_components
List all documented Spor components with their slugs and a short description. Use this as the starting point to discover what components are available.
get_component_docs
Get full documentation for a specific component: introduction, usage guidelines, and all code examples. Pass the component slug obtained from list_components.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Component slug, e.g. 'autocomplete-new-combobox'. Obtain slugs from list_components. |
get_component_examples
Get only the code examples (TSX snippets) for a component. Useful when you want copy-paste-ready code without the surrounding prose.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Component slug, e.g. 'autocomplete-new-combobox'. |
get_component_guidelines
Get the design / usage guidelines for a component — when to use it, when not to, and UX best practices.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Component slug, e.g. 'autocomplete-new-combobox'. |
search_components
Search for components by keyword across titles and documentation content. Returns matching components with summaries.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search term, e.g. 'dropdown', 'form', 'navigation'. |
get_component_props
Get the props (API reference) for all sub-components of a given component. Returns a markdown table per sub-component with prop name, type, whether it's required, and description. Pass the article slug from list_components, e.g. 'autocomplete-new-combobox'.
| Parameter | Type | Description |
|---|---|---|
slug * | string | Article slug, e.g. 'autocomplete-new-combobox'. Obtain slugs from list_components. |
get_spor_tokens
Get Spor design tokens for a specific theme and category. Returns flattened color tokens with their alias names, palette keys, and hex values, plus size, font, depth, and transition tokens.
| Parameter | Type | Description |
|---|---|---|
theme * | string | Theme to fetch tokens for. |
category | string | Token category to fetch. Omit to get all. Use 'color' for semantic color tokens, 'palette' for raw color values. |
colorKey | string | Specific color group within the theme, e.g. 'brand', 'alert', 'badge'. Only used when category is 'color'. |
colorMode | string | Resolve _light or _dark values. |
list_spor_react_exports
List all exported names from the @vygruppen/spor-react package. Useful to check what components, hooks, and utilities are available to import.