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-componentstoolSearch components by name: Find components by name or keyword using the
find-components-by-nametool, supporting partial matchesFacilitate 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.
Related MCP server: SourceSync.ai MCP Server
š§ Available Tools
Tool Name | Description | Parameters |
| Lists all available components from Storybook |
(optional): Path to the index.json or stories.json file (optional if default path is provided) |
| Finds components based on a keyword (partial match supported) |
: Component name or keyword to search for
(optional): Path to the index.json or stories.json file (optional if default path is provided) |