Storybook MCP Server
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.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Storybook MCP Server find components for a login form"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
git clone https://github.com/m-yoshiro/storybook-mcp.git
cd storybook-mcp2. Install dependencies
We recommend using Bun
bun install
# or
npm install3. Build
bun run build
# or
npm run build4. Set up
{
"mcpServers": {
"storybook-mcp": {
"command": "node",
"args": [
"/< your path>/index.js",
// Optional: path to your Storybook static json file
"/< your path>/index.json"
]
}
}
}The server will load your Storybook data and expose MCP tools to external agents.
Related MCP server: MCP Boilerplate
🔧 Available Tools
Tool Name | Description | Parameters |
| Lists all available components from Storybook |
|
| Finds components based on a keyword (partial match supported) |
|
Available Tools
2 toolsfind-components-by-nameC
Search components by name/keyword
Inputs: name (required), path.
list-componentsC
Returns all available components
Inputs: path.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: 'find-components-by-name' searches for specific components based on a name or keyword, while 'list-components' returns all available components without filtering. There is no overlap or ambiguity between these operations.
Both tools follow a consistent verb_noun pattern with hyphen-separated words: 'find-components-by-name' and 'list-components'. The naming is predictable and readable throughout the set.
With only 2 tools, the server feels thin for a Storybook domain, which typically involves browsing, testing, and managing UI components. This limited set may not cover common workflows like viewing component details, running tests, or interacting with stories.
The tool surface is severely incomplete for a Storybook server. It lacks essential operations such as getting component details, listing or running stories, viewing documentation, or managing component states. Agents will face dead ends when trying to perform basic Storybook tasks.
Related MCP Connectors
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Serves your design system and coding standards to coding agents, so they stop guessing.
The Figma MCP server brings Figma design context directly into your AI workflow.
Related MCP Servers
- AlicenseCqualityCmaintenanceA Model Context Protocol server that enables AI agents to generate, fetch, and manage UI components through natural language interactions.37ISC
- AlicenseNot gradedqualityDmaintenanceA server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.12MIT
- AlicenseAqualityBmaintenanceServer that enables AI assistants to interact with Storybook design systems. Extract component HTML, analyze styles, and help with design system adoption and refactoring.9424 npm73MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol (MCP) server for Storybook.2587 npm46MIT