Help us improve
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
Share bugs, ideas, or general feedback.
By storybookjs
Manage the full Storybook workflow from Claude: initialize Storybook in a project, write and review component stories with a strict workflow, preview components in a running dev server, and upgrade Storybook across major versions.
npx claudepluginhub storybookjs/mcp --plugin storybookWrite, create, update, or review Storybook stories. Use whenever the user asks to write, add, or generate stories, to write Storybook stories for a component or project, to cover a component with stories, or to create or edit any *.stories.* file (.stories.tsx/.ts/.jsx/.js/.svelte/.vue) — and when building or changing a UI component that should have stories, or before starting or previewing Storybook to verify UI. Pulls story-writing guidance from the Storybook MCP, keeps the preview running so stories can be verified, and repairs the Claude launch config when Storybook is not running.
Use when adding Storybook to a project that does not have Storybook configured yet, especially before enabling Storybook MCP workflows.
Create or repair the .claude/launch.json so Claude can start the project's Storybook dev server. Use when the user asks to set up or repair launch config, detect dev servers, create or update .claude/launch.json, or start Storybook through the Claude launcher — or when repair instructions mention a missing launch entry.
Use when configuring Storybook preview and writing example stories from real components in an existing React+Vite Storybook project.
Use when a project has an older Storybook version or proxy repair instructions that require upgrading Storybook.
External network access
Connects to servers outside your machine
Share bugs, ideas, or general feedback.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Validation and quality enforcement for Storybook projects, ensuring stories always build and render correctly.
Design superpowers for Claude Code — 35 skills that teach your agent to ideate, research, generate, iterate, and ship beautiful UIs using Google Stitch MCP.
Generate distinct UI design variations, collect feedback, synthesize the best elements, and produce implementation plans
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Use this agent when creating user interfaces, designing components, building design systems, or improving visual aesthetics. This agent specializes in creating beautiful, functional interfaces that can be implemented quickly within 6-day sprints. Examples:\n\n<example>\nContext: Starting a new app or feature design
Reusable UI component patterns for implementing common features across different frameworks and tech stacks
Create and edit React Native Storybook stories using Component Story Format (CSF). Includes controls reference, addon configuration, and portable story patterns.
Welcome to the Storybook MCP Addon monorepo! This project enables AI agents to work more efficiently with Storybook by providing an MCP (Model Context Protocol) server that exposes UI component information and development workflows.
This monorepo contains five main packages:
@storybook/mcp-proxy@storybook/mcp-proxyEach package has its own README with user-facing documentation. This document is for contributors looking to develop, test, or contribute to these packages.
External testers can install the plugin marketplace directly from this repository's
main branch. No local clone is required.
codex plugin marketplace add storybookjs/mcp --ref main
codex plugin add storybook@storybook
Verify the marketplace and plugin:
codex plugin marketplace list
codex plugin list --marketplace storybook
claude plugin marketplace add storybookjs/mcp@main --scope user
claude plugin install storybook@storybook --scope user
Verify the plugin and MCP server:
claude plugin list --json
claude mcp list
claude mcp list should show plugin:storybook:storybook using the
@storybook/mcp-proxy preview URL from pkg.pr.new.
The repository intentionally keeps marketplace catalogs in two places. The root
catalogs support GitHub installs from storybookjs/mcp; the package-local
catalogs support local package development scripts. They should stay identical
except for the relative plugin source path, and the package validation checks
that they do.
.nvmrc)package.json)# Use the correct Node version
nvm use
# Install pnpm if you don't have it
npm install -g pnpm@10.19.0
# Clone the repository
git clone https://github.com/storybookjs/mcp.git
cd addon-mcp
# Install all dependencies (for all packages in the monorepo)
pnpm install
# Build all packages
pnpm build
# Start development mode (watches for changes in all packages)
pnpm dev
# Run unit tests in watch mode
pnpm test
# Run unit tests once
pnpm test:run
# Run Storybook with the addon for testing
pnpm --filter internal-storybook storybook
The Storybook command starts:
http://localhost:6006http://localhost:6006/mcpThe turbo watch build command runs all packages in watch mode, automatically rebuilding when you make changes:
# Start development mode for all packages
pnpm turbo watch build
# This is usually all you need - starts Storybook AND watches addon for changes
pnpm storybook
# Build all packages
pnpm build
The monorepo uses a centralized Vitest configuration at the root level with projects configured for each package:
# Watch tests across all packages
pnpm test
# Run tests once across all packages
pnpm test:run
# Run tests with coverage and CI reporters
pnpm test:ci
Use the MCP Inspector to debug and test MCP server functionality:
# Launches the MCP inspector (requires Storybook to be running)
pnpm inspect
This uses the configuration in .mcp.inspect.json to connect to your local MCP servers.
Alternatively, you can also use these curl comamnds to check that everything works:
# test that the mcp server is running
# use port 6006 to test the addon-mcp server instead
curl -X POST \
http://localhost:13316/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list",
"params": {}
}'