Storybook MCP Server for Claude

Give Claude Code access to documented components, story links, and available tests from a running Storybook project.

How to set up the Storybook MCP Server in Claude

  1. Install the addon from an existing Storybook project and start its dev server.
  2. Run the registration command with the actual localhost port printed by Storybook, then choose a project-specific server name.
  3. Ask Claude to list documented components. If that tool is missing, verify your Storybook manifest configuration.
npm · Install the Storybook MCP addon
npx storybook add @storybook/addon-mcp
Claude Code · Register the local Storybook MCP server
npx mcp-add --type http --url "http://localhost:6006/mcp" --scope project

Read the stories that actually ship

Connect an existing Storybook when Claude needs your team's component examples rather than generic examples from a framework. The server can return direct story links. Component-documentation tools depend on a generated component manifest, and test execution requires the Vitest addon.

Check the empty state of a component

Ask Claude for the story links and documented controls for the empty state of a SearchResults component. Open the returned story in your browser and check that its controls and fixture match the project. If the story link works but no component description appears, check the project’s manifest before assuming the story is missing.

Keep the dev server running

The addon runs inside the Storybook development server. Use the actual local port reported by your project. You can open the local /mcp page to inspect the available tools and find the manifest debugger.

Publisher setup and documentation

Browse MCP servers