Storybook MCP
MCP server by storybookjs Verified · npm:@storybook
Storybook MCP serves knowledge about your components, based on your Storybook stories and documentation. It is for teams building UI with AI agents and documenting component libraries.
Install Storybook MCP
Built from the published package, never by AI.
claude mcp add storybook-mcp -- npx -y @storybook/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"storybook-mcp": {
"args": [
"-y",
"@storybook/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"storybook-mcp": {
"args": [
"-y",
"@storybook/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"storybook-mcp": {
"args": [
"-y",
"@storybook/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add storybook-mcp -- npx -y @storybook/mcp{
"mcpServers": {
"storybook-mcp": {
"args": [
"-y",
"@storybook/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add storybook-mcp npx -y @storybook/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the storybook-mcp block.
About
Storybook MCP is an MCP server that serves knowledge about your components, based on your Storybook stories and documentation. The MCP addon runs it from your local Storybook dev server. It serves the same tools as the Storybook CLI commands, so an agent can call Storybook through MCP instead of the command line.
The tools let an agent list components and docs entries, show props and usage examples, find changed stories, run story tests with accessibility checks, and publish a review. When a Storybook is published with Chromatic, Chromatic also publishes an MCP server at the published URL followed by /mcp, so agents can look up components without running Storybook. The source aims this at teams that build UI with agents and at design systems that other teams reuse.
Written from the project's README and checked against it.
Tools it gives your assistant
storybook tools docs listLists all components and docs entries.storybook tools docs showShows the props and usage examples of a component.storybook tools stories changedLists stories that are new, modified, or affected by uncommitted changes.storybook tools test runRuns story tests, with accessibility checks if set up.storybook tools review createPublishes a review of the stories that a change affects.
What you need
- An existing project to run the install command in
- npm, for the npm create storybook command
- A supported frontend framework
- A Storybook published with Chromatic, for the hosted MCP server
Try asking
- List all components and docs entries in my Storybook.
- Show the props and usage examples for my Button component.
- Which stories changed in my uncommitted changes? Run their tests.
Good to know
- The MCP addon serves tools from your local Storybook dev server.
- The hosted MCP server is published by Chromatic at a published Storybook URL.
- Features are listed for the supported frameworks named in the source.
Security check
B- Runs a script automatically when the package is installedIn
package.json:"postinstall":
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Storybook MCP
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Storybook MCP: common questions
Does Storybook MCP need a running Storybook?
The MCP addon serves its tools from your local dev server. A Storybook published with Chromatic lets agents look up components without running Storybook.
Which frameworks does Storybook MCP support?
The source says the features are available for React, Next, TanStack, Vue, Angular, Svelte, Web Components and multiple community frameworks.
Is the hosted Storybook MCP server free?
The source states that Chromatic MCP hosting is entirely free.
How do I install Storybook MCP?
In Claude Code run claude mcp add storybook-mcp -- npx -y @storybook/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Storybook MCP the official server?
Storybook MCP is published by npm:@storybook from its verified domain in the official MCP Registry.
Is Storybook MCP free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Storybook MCP safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade B (runs a script automatically when the package is installed). Review the code before you install. How grades work.
What are alternatives to Storybook MCP?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Storybook MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
