Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 92k stars
  • 2.9M a week
  • MIT
  • Updated

Install Storybook MCP

Built from the published package, never by AI.

claude mcp add storybook-mcp -- npx -y @storybook/mcp

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Storybook MCP in Claude Code

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 →

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.

Storybook MCP Install

Add to stack

Loading.