Storybook Compass MCP
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| STORYBOOK_BASE_URL | Yes | The base URL of a published Storybook that serves /index.json (Storybook 7+). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| smoke_testB | Returns a successful response from the Compass MCP scaffold. |
| list_componentsC | Lists Compass components from normalized Storybook metadata. |
| search_componentsB | Searches Compass components by path, ids, tags, import paths, and entry names. |
| get_component_docsB | Returns compact metadata-derived component guidance, availability, ids, examples metadata, and usage caveats for a component, story id, or docs id. |
| recommend_componentB | Recommends Compass components for a plain-language UI use case using deterministic metadata matching. |
| create_component_recommendation_matrixB | Creates a generic component recommendation matrix for multiple UI needs using deterministic metadata matching. |
| discover_foundation_entriesA | Returns metadata-derived discovery guidance for foundation-related Compass catalog entries only; not authoritative token values, CSS, package APIs, or rendered docs. |
| get_design_tokensC | Returns metadata-discovered Compass design token guidance with source confidence and evidence. |
| get_color_paletteC | Returns metadata-discovered Compass color guidance with explicit unavailable handling. |
| get_typography_guidanceC | Returns metadata-discovered Compass typography guidance with source confidence and evidence. |
| get_spacing_guidanceB | Returns metadata-discovered Compass spacing guidance with source confidence and evidence. |
| get_base_style_guidanceB | Returns metadata-discovered Compass base-style guidance with explicit unavailable handling. |
| get_theme_usage_examplesC | Returns metadata-discovered Compass theme usage guidance and examples. |
| get_component_style_dependenciesA | Returns metadata-derived discovery guidance for style dependency hints on a known component path only; not authoritative token values, CSS, package APIs, or rendered docs. |
| get_catalog_quality_reportA | Returns a compact metadata quality report for current catalog coverage and known limitations. |
| refresh_metadata_cacheB | Forces an in-memory refresh of normalized Storybook metadata and reports stale fallback details when refresh fails. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| use_compass_components | Guide coding assistants to choose and inspect Compass components before implementing UI. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| components | Compact normalized Compass component index from cached Storybook metadata. |
| server-help | Compact help for Compass MCP tools, resources, and v1 limitations. |
TDQS
Scored across 16 tools
The component-facing tools (list, search, get_component_docs, recommend_component, create_component_recommendation_matrix) are reasonably distinct, but the foundation/guidance cluster overlaps heavily: get_design_tokens, get_color_palette, get_typography_guidance, discover_foundation_entries, get_base_style_guidance and get_theme_usage_examples all read as 'get guidance about a foundation category' with unclear boundaries. An agent could easily pick color_palette when design_tokens or foundation_entries was intended. get_component_style_dependencies versus get_component_docs is also a subtle distinction.
The set follows a clear verb_noun convention (list_components, search_components, get_*_guidance, recommend_component, refresh_metadata_cache). Deviations are minor: smoke_test lacks an action verb and create_component_recommendation_matrix is unusually long but still follows the pattern.
16 tools is at the upper edge for a metadata/guidance server, and the count is inflated by six near-adjacent foundation guidance endpoints that could plausibly be consolidated into one parameterized tool. Each tool is small, so it is borderline rather than clearly over-scoped.
The surface covers discovery (list/search), detail retrieval (docs), recommendation (single and matrix), foundation guidance across spacing, color, typography, tokens and theming, plus cache refresh and a quality report. Gaps are minor, e.g. no explicit per-component prop/API or story enumeration beyond get_component_docs, but core lifecycle is covered.