Help agents automatically write and test stories for your UI components.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
[!TIP] This repository has moved to storybookjs/storybook as of Storybook v10.6.0. Please check there for updated documentation.
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 four main packages:
Each 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.
Verify the marketplace and plugin:
Verify the plugin and MCP server:
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)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:
The monorepo uses a centralized Vitest configuration at the root level with projects configured for each package:
Use the MCP Inspector to debug and test MCP server functionality:
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:
You can start Storybook with:
This will build everything and start up Storybook with addon-mcp, and you can then connect your coding agent to it at http://localhost:6006/mcp (or your configured addon endpoint) and try it out.
To work with and debug the MCP app that is rendered as part of the preview-stories tool, you can:
pnpm storybook in the root.vscode/mcp.json file and ensure the Storybook MCP is marked as Running, otherwise click Start.Show me how all the button stories look, using the Storybook MCP
You can also use the inspector from MCPJam to have more low level control of the tool calls.
The monorepo includes several quality checks that run in CI:
Always include file extensions in relative imports:
This project uses Changesets for version management:
When you create a PR, add a changeset if your changes should trigger a release:
We welcome contributions! Here's how to get started:
pnpm build)pnpm test:run)pnpm format)pnpm lint)pnpm typecheck)pnpm changeset)MIT - See LICENSE for details
Note: This project is experimental and under active development. APIs and architecture may change as we explore the best ways to integrate AI agents with Storybook.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/storybook-mcp-addon)<a href="https://allmcps.com/mcp/storybook-mcp-addon"><img src="https://allmcps.com/api/badge/storybook-mcp-addon?style=directory" alt="Storybook MCP Addon on AllMCPs" /></a>