本文へスキップ
Kitbay
MCPサーバー

mcp-design-system-extractor

ローカルで動作MIT2026年11月6日 更新73GitHubスター

A local MCP server that reads component information from a Storybook instance whose address is set in the STORYBOOK_URL environment variable.

このサーバーについて

A local MCP server that reads component information from a Storybook instance whose address is set in the STORYBOOK_URL environment variable. It renders stories in headless Chrome through Puppeteer, so the agent can list and search components by name, category or purpose, get the rendered HTML of a story with its styles, see which other components a component uses, and pull theme values such as colours, spacing, typography and breakpoints from CSS custom properties. Another tool fetches stylesheets from the same domain and sorts out their design tokens. Slow HTML extraction runs as background jobs with status, cancel and list tools. It installs through npx, including a claude mcp add command.

できること

  • List and search Storybook components by name, category or purpose
  • Extract rendered HTML and CSS for a component story
  • Extract theme tokens such as colours, spacing and typography
  • Find which components are used inside another component