The Storybook MCP Server facilitates integration between Storybook components and external tools (like AI) to enhance UI development workflows. It exposes component data via MCP, allowing you to:
- List all components: Retrieve all available components from Storybook using the
list-components
tool - Search components by name: Find components by name or keyword using the
find-components-by-name
tool, supporting partial matches - Facilitate UI component discovery based on design contexts from Figma
Recommended as a runtime environment for installing dependencies and building the MCP server.
Supported as an alternative package manager for installing dependencies and building the MCP server.
Provides an MCP server that integrates with Storybook, allowing AI tools to query available UI components, retrieve component information and usage examples to help implement UI from design specifications.
Storybook MCP Server
⚠️ This tool was created for testing purposes and is not recommended for use in production environments.
Getting Started
Before you begin, you need to prepare your Storybook static files. https://storybook.js.org/docs/sharing/publish-storybook
1. Clone the repository
2. Install dependencies
We recommend using Bun
3. Build
4. Set up
The server will load your Storybook data and expose MCP tools to external agents.
🔧 Available Tools
Tool Name | Description | Parameters |
---|---|---|
list-components | Lists all available components from Storybook | path (optional): Path to the index.json or stories.json file (optional if default path is provided) |
find-components-by-name | Finds components based on a keyword (partial match supported) | name : Component name or keyword to search forpath (optional): Path to the index.json or stories.json file (optional if default path is provided) |
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that integrates with Storybook to help AI tools query UI components and retrieve usage examples from static Storybook files.
Related MCP Servers
- -securityAlicense-qualityA Model Context Protocol server that provides seamless interaction with Workato's API through custom AI tools, enabling management of recipes, connections, connectors, folders, and activity logs.Last updated -TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.Last updated -275JavaScript
- -securityFlicense-qualityA Model Context Protocol server that bridges AI assistants like Claude with Wordware's specialized agent capabilities, allowing dynamic loading and access to any Wordware flow through a standardized interface.Last updated -Python
- -securityFlicense-qualityAn implementation of a Model Context Protocol server that allows Claude and other AI assistants to interact with Shortcut.com's ticket management system for searching, viewing, creating, and updating stories.Last updated -Python