About
A TypeScript MCP server that connects to any running Storybook instance, enabling AI assistants to discover components, list and filter stories, inspect props, capture screenshots, and perform responsive testing.
Capabilities
Overview
The Storybook MCP Server bridges the gap between AI assistants and component libraries by exposing a rich, programmatic interface to any running Storybook instance. Whether you’re working locally on a new feature, reviewing production components, or browsing public component libraries, the server gives Claude (or any MCP‑compliant AI) instant, authoritative access to every component and story in the repository. This eliminates the need for manual exploration or reliance on static documentation, enabling developers to query, inspect, and test UI elements in a single conversational flow.
At its core, the server provides three layers of interaction. First, Component Discovery lets the AI enumerate all components and their associated stories, giving developers a quick inventory of available UI building blocks. Second, Story Management allows filtering by component and retrieving detailed metadata—such as args, parameters, and prop definitions—so the assistant can answer questions like “What props does Button accept?” with structured, trustworthy data. Third, Visual Testing captures screenshots of individual stories or entire component sets across arbitrary viewport sizes. These images are returned directly in the conversation, enabling the AI to analyze layout, styling, and responsiveness on the fly.
The value for developers lies in streamlined workflows. During local development, a developer can ask the AI to “show me all Button stories” or “take a screenshot of the Card component at 375x667,” and receive immediate, accurate results without leaving their IDE or toggling between tabs. In production environments, the server can connect to remote Storybook URLs—such as a public component library—to audit styling consistency or regressions across releases. The AI’s ability to capture and compare screenshots also supports automated visual regression testing, where the assistant can flag differences between current and baseline images.
Key features that set this server apart include automatic Smart Detection of Storybook versions and API endpoints, ensuring compatibility across diverse setups without manual configuration. The integration with Puppeteer allows headless rendering of stories, guaranteeing that screenshots reflect the real rendered output. Because the server is written in TypeScript and adheres to MCP 1.0, it offers type safety and a standardized interface that can be easily extended or combined with other MCP servers.
In practice, the Storybook MCP Server empowers developers to:
- Rapidly prototype by querying component APIs and visual states in a conversational manner.
- Validate UI consistency across multiple devices by capturing responsive screenshots on demand.
- Audit public libraries for compliance with design systems or accessibility standards without manual inspection.
By consolidating component discovery, metadata retrieval, and visual testing into a single AI‑friendly API, the Storybook MCP Server transforms how developers interact with UI libraries, turning what used to be a manual, multi‑tool process into an instant, conversational experience.
Related Servers
MarkItDown MCP Server
Convert documents to Markdown for LLMs quickly and accurately
Context7 MCP
Real‑time, version‑specific code docs for LLMs
Playwright MCP
Browser automation via structured accessibility trees
BlenderMCP
Claude AI meets Blender for instant 3D creation
Pydantic AI
Build GenAI agents with Pydantic validation and observability
Chrome DevTools MCP
AI-powered Chrome automation and debugging
Weekly Views
Server Health
Information
Tags
Explore More Servers
FileSystem MCP Server
Local workspace access for AI agents in VS 2022
LinkedIn Posts Hunter MCP Server
AI‑powered LinkedIn job post automation and tracking
Codacy MCP Server
Unified API for Codacy repository, quality, and security analysis
AutoSpectra MCP Server
All-In-One AI Agent Automation Platform
Aegntic MCP Collection
Unified Model Context Protocol servers for AI agents
Backlog MCP Server
AI‑powered Backlog API integration for projects and issues