component-metadata-extraction-and-indexing
Extracts and indexes component metadata from Storybook's internal store, including component names, descriptions, properties, and story definitions. Works by connecting to a running Storybook instance via its API or reading the Storybook configuration and story files directly, then exposing this metadata through MCP tools that AI assistants can query to understand the component library structure and available properties.
Unique: Bridges Storybook's internal component registry directly into MCP protocol, allowing AI assistants to query live component metadata without requiring separate documentation or API layers — integrates at the Storybook store level rather than parsing documentation
vs alternatives: More accurate than parsing README files or JSDoc comments because it reads Storybook's authoritative component definitions directly, and more maintainable than manual component registries because it auto-syncs with story definitions
story-argument-schema-generation
Generates JSON Schema representations of Storybook story arguments (controls) by introspecting story definitions and their argTypes metadata. Uses Storybook's controls system to build machine-readable schemas that describe valid prop combinations, default values, and constraints for each story variant, enabling AI assistants to understand how to compose valid component instances.
Unique: Converts Storybook's argTypes control definitions into JSON Schema format, making story constraints machine-readable and queryable by AI models — treats Storybook controls as the source of truth for component prop contracts rather than requiring separate schema definitions
vs alternatives: More maintainable than TypeScript type extraction because it uses Storybook's already-documented controls as the single source of truth, and more flexible than static prop-types parsing because it captures runtime control configurations and constraints
component-screenshot-capture-and-storage
Captures visual screenshots of Storybook stories using Puppeteer (headless browser automation) and stores them as indexed assets accessible via MCP. Renders each story in an isolated browser context, captures the rendered output at specified viewport sizes, and makes screenshots queryable by story name or component, enabling AI assistants to see what components actually look like visually.
Unique: Integrates Puppeteer-based screenshot automation directly into MCP protocol, allowing AI assistants to request and reference visual component representations on-demand — treats screenshots as first-class indexed assets in the component metadata store rather than separate artifacts
vs alternatives: More flexible than static screenshot galleries because screenshots are captured on-demand and can be regenerated, and more integrated than external visual testing tools because screenshots are indexed and queryable alongside component metadata
mcp-tool-exposure-for-ai-assistants
Exposes Storybook component data through MCP (Model Context Protocol) tools that Claude and other AI assistants can call directly. Implements MCP resource and tool handlers that wrap component metadata, story arguments, and screenshot references into callable functions with defined input/output schemas, enabling seamless integration with Claude Desktop and other MCP-compatible AI platforms.
Unique: Implements full MCP server specification for Storybook, exposing component operations as native MCP tools with proper schema validation and error handling — treats Storybook as an MCP resource provider rather than just a documentation source
vs alternatives: More native integration than REST API wrappers because it uses MCP's standardized tool protocol that Claude understands natively, and more maintainable than custom Claude plugins because it follows MCP conventions that work across multiple AI platforms
story-variant-enumeration-and-filtering
Enumerates all story variants within Storybook and provides filtering/search capabilities to find specific stories by component name, story name, tags, or metadata. Builds an in-memory index of all stories from the Storybook configuration and exposes query tools that allow AI assistants to discover relevant stories without needing to know the exact story identifiers upfront.
Unique: Builds a queryable story index that supports multi-criteria filtering (component, variant, status, tags) rather than simple keyword search — enables AI assistants to discover stories programmatically without hardcoded story names
vs alternatives: More powerful than Storybook's built-in search UI because it exposes filtering as machine-readable queries that AI can compose dynamically, and more flexible than static story lists because it indexes all story metadata for multi-dimensional filtering
component-dependency-graph-analysis
Analyzes component dependencies by parsing story files and component source code to build a dependency graph showing which components use other components. Exposes this graph through MCP tools, allowing AI assistants to understand component composition hierarchies and identify which components are safe to modify without breaking dependents.
Unique: Builds a queryable component dependency graph from source code analysis rather than relying on manual documentation — enables AI to make informed decisions about component modification safety based on actual usage patterns
vs alternatives: More accurate than documentation-based dependency tracking because it analyzes actual imports, and more useful than generic code analysis tools because it's specifically optimized for component library structures
story-code-and-source-retrieval
Retrieves and exposes the source code for stories and their underlying components through MCP tools. Allows AI assistants to read the actual implementation code for any story or component, including the story definition (CSF), component source, and any custom hooks or utilities used, enabling code-aware AI interactions.
Unique: Exposes component and story source code as queryable MCP resources, allowing AI to read actual implementations rather than relying on documentation — treats source code as a first-class knowledge source alongside metadata
vs alternatives: More practical than asking developers to copy-paste code because AI can request it programmatically, and more accurate than documentation because it's the actual source of truth
multi-viewport-screenshot-generation
Captures component screenshots across multiple viewport sizes (mobile, tablet, desktop) and device types, storing them indexed by viewport configuration. Uses Puppeteer to render stories at different screen dimensions and device emulations, enabling AI assistants to understand responsive behavior and make viewport-aware design decisions.
Unique: Captures and indexes screenshots across multiple viewports as a first-class feature, allowing AI to reason about responsive behavior — treats viewport variants as important as story variants rather than as an afterthought
vs alternatives: More comprehensive than single-viewport screenshots because it captures responsive behavior, and more automated than manual responsive testing because it generates all viewport variants in one batch
+2 more capabilities