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 Server

MCP server by stefanoamorelli Verified · npm:storybook-mcp-server

Gives AI assistants access to a Storybook instance so they can list components, stories and props, and capture story screenshots. Aimed at developers and teams who use Storybook.

  • Score 46
  • 15 stars
  • 52 a week
  • AGPL-3.0
  • Updated

Install Storybook MCP Server

Built from the published package, never by AI.

claude mcp add storybook-mcp-server -- npx -y storybook-mcp-server

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

Step-by-step: install Storybook MCP Server 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-server block.

About

Storybook MCP Server is a TypeScript Model Context Protocol server that gives AI assistants access to a Storybook instance. It can list components, list and filter stories, and return story details and component prop definitions. It can also capture screenshots of individual stories or all stories, with optional viewport sizes.

The server connects to any running Storybook through the STORYBOOK_URL setting, whether it is a local development server, a deployed production Storybook or a public component library. Screenshots are made with Puppeteer and saved to an output directory. It suits developers and teams who want an assistant to inspect components, document props or run visual checks. The project is licensed under AGPL-3.0, and the author offers commercial licensing on request.

Written from the project's README and checked against it.

Tools it gives your assistant

  • storybook_list_componentsLists all components available in the Storybook instance.
  • storybook_list_storiesLists all stories, optionally filtered by component ID.
  • storybook_get_story_detailsGets detailed information about a specific story by story ID.
  • storybook_get_component_propsGets the props and property definitions for a component.
  • storybook_capture_screenshotCaptures a screenshot of a specific story, with an optional viewport size.
  • storybook_capture_all_screenshotsCaptures screenshots of all stories, with an optional viewport size.

What you need

  • Node.js 18 or higher
  • A running Storybook instance
  • Chrome or Chromium, downloaded automatically by Puppeteer

Try asking

  • What components are available in my Storybook?
  • Take a screenshot of the primary button story at mobile size
  • What props does the Button component accept?

Good to know

  • Requires a running Storybook instance at the configured URL.
  • Screenshot tools depend on Puppeteer and Chrome or Chromium.
  • Licensed under AGPL-3.0. Commercial use may need a separate license from the author.

Security check

C
  • Asks for administrator rights (sudo)In README.md: sudo

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Storybook MCP Server

All alternatives →

Compare with GitDiagram, mockserver or XcodeBuildMCP

Storybook MCP Server: common questions

Can it work with a production Storybook?

Yes. The source says the server can connect to a deployed production Storybook or a public component library by setting STORYBOOK_URL.

Do I need to install Chrome for screenshots?

Puppeteer downloads a compatible Chromium automatically when the screenshot command first runs. The source says manual Chrome installation is typically not required.

Which Node.js version does it need?

The source states that Node.js 18 or higher is required.

How do I install Storybook MCP Server?

In Claude Code run claude mcp add storybook-mcp-server -- npx -y storybook-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Storybook MCP Server the official server?

Storybook MCP Server is published by npm:storybook-mcp-server from its verified domain in the official MCP Registry.

Is Storybook MCP Server free?

The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.

Is Storybook MCP Server safe to use?

It scores 46 of 100. Grades: maintenance F, licence C, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.

What are alternatives to Storybook MCP Server?

Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.

Does Storybook MCP Server 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 Server Install

Add to stack

Loading.