Back to Servers

Storybook MCP Server

Official

by Storybook

Storybook MCP Server is the official Model Context Protocol integration from the Storybook team that gives AI coding agents direct access to your UI component library. It serves component metadata, usage snippets, prop types, and documentation in a token-optimized payload, so agents generate frontend code that follows your team's design system instead of relying on generic training data. The server runs within your Storybook dev server as an addon, exposing an MCP endpoint at your Storybook URL's /mcp path. AI agents connect to browse your component catalog, read prop definitions, view usage examples from stories, and run interaction and accessibility tests. A self-healing error loop lets agents autonomously detect test failures and fix their own bugs before human review. Benchmarks from the Storybook team show that agents working with MCP context finish tasks faster using fewer tokens while producing code that stays within your standards. The addon supports React, Angular, Svelte, Vue, and Web Components. Deploy locally or host via Chromatic for remote access. Currently 271k estimated weekly visitors on PulseMCP, making it one of the most popular MCP servers available.

developer toolsstorybookmcpui-componentstestingdesign-systemcode-generationreactfrontend

Installation

npx @storybook/addon-mcp

Key Features

  • Serves component metadata, prop types, and usage snippets in a token-optimized payload to AI agents
  • Self-healing error loop that runs interaction and accessibility tests, detects failures, and auto-corrects
  • Exposes your full component catalog with JSDoc descriptions and validated prop definitions
  • Supports React, Angular, Svelte, Vue, Preact, and Web Components
  • Deployable locally or hosted via Chromatic for remote MCP access
  • Curates context from existing stories and documentation to align generated code with team patterns

Use Cases

  • AI agents generating new UI components that follow your existing design system conventions
  • Automated story generation and visual testing for every component an agent creates
  • Reducing token costs by providing curated component context instead of raw codebase access
  • Enabling autonomous code review loops where agents fix accessibility and interaction test failures
  • Remote design system access for distributed teams via Chromatic-hosted MCP endpoints

FAQ

Server Stats

GitHub Stars
212
Updated
3/14/2026
NPM Package
@storybook/addon-mcp

Related Resources

Weekly AI Digest