# Design System Extractor MCP Server

> Extract components and styles from Storybook design systems.

- **URL**: https://followmcp.com/en/servers/mcp-design-system-extractor
- **Category**: Dev Tools
- **Origin**: Community
- **Stars**: 73
- **FMRS Score**: 47/100 (Grade D)
- **Source**: https://github.com/freema/mcp-design-system-extractor
- **Transports**: stdio (local process)
- **Runtimes**: Node.js 22.12+
- **Auth**: No credential needed

## Overview
Design System Extractor MCP Server connects to Storybook instances to extract component HTML, styles, and metadata. It also supports component search, dependency analysis, and design theme inspection.

## Best for
- Developers and AI assistants that need component structure, styles, or design tokens from a Storybook design system.
- Teams using Storybook 7, 8, 9, or 10.

## Not for
- Users without access to a Storybook instance.
- Projects using Storybook 6 or earlier.

## Required permissions
- Needs access to the configured Storybook host to read the story index, render story pages, and fetch same-domain CSS.
- Runtime requirements include Node.js 22.12+ and Chrome or Chromium for Puppeteer.

## Risks
- Component HTML and CSS may reveal internal design and implementation details; connect only to Storybook instances you are authorized to access.
- Setting NODE_TLS_REJECT_UNAUTHORIZED to 0 skips TLS certificate verification and weakens HTTPS connection security.
- External CSS retrieval is restricted to URLs on the Storybook's domain.

## Client config (JSON)
```json
{"mcpServers":{"design-system":{"command":"npx","args":["mcp-design-system-extractor@latest"],"env":{"STORYBOOK_URL":"http://localhost:6006"}}}}
```

## Tools (9)
- `list_components`: Lists Storybook components, with category filtering, pagination, and compact output.
- `get_component_html`: Extracts rendered HTML for a component story; can list variants and optionally include styles. Runs asynchronously by default.
- `search_components`: Searches components by name, title, category, or purpose, with pagination.
- `get_component_dependencies`: Analyzes rendered HTML to find other components used internally.
- `get_theme_info`: Extracts design system colors, spacing, typography, breakpoints, and CSS custom properties.
- `get_external_css`: Fetches and analyzes same-domain CSS to extract design tokens, with optional full CSS output.
- `job_status`: Checks an asynchronous job and returns its result when complete or its error if it failed.
- `job_cancel`: Cancels a queued or running job.
- `job_list`: Lists jobs and their status, with filters for active or completed jobs.
