$ timeahead.in
/ servers/npm/@storybook/mcp
npm

@storybook/mcp

MCP server that serves knowledge about your components based on your Storybook stories and documentation

263 stars1.9M/wkupdated 6d agogithub ↗
56poor
▣ Overview

What it does

This MCP server exposes your Storybook stories and component documentation to AI agents like Claude and Codex. It runs either as a standalone Node.js server or as an addon integrated directly into your Storybook dev server, making component knowledge available to AI-assisted development workflows. Agents can query component documentation, stories, and metadata to generate code, answer questions about your component library, and maintain consistency with existing implementations.

Who it's for

Frontend developers and component library maintainers who use Storybook to document UI components and want AI agents to understand their component APIs and usage patterns. Design systems teams and larger codebases benefit most, where component knowledge is already centralized in Storybook but unavailable to AI coding assistants.

Common use cases

  • Query component APIs and design documentation from Claude Code while writing features.
  • Generate component code with AI assistance that aligns with your design system.
  • Ask Claude to explain component variations based on existing Storybook stories.
  • Integrate Storybook knowledge into documentation generation and component discovery workflows.
  • Debug component behavior by providing AI agents with story context and props.

Setup pitfalls

  • Node.js and pnpm version strict: Requires Node.js 24 or higher and pnpm 10.19.0+; older versions will fail during installation.
  • High risk classification: This server is marked high-risk; review the code and dependencies before deploying in production or against sensitive codebases.
  • Secrets detected: Scanner found 5 secrets in the repository — audit environment variables and code paths before use, especially if connecting to private components or APIs.
  • Port binding: Standalone server uses port 13316; addon uses your Storybook port (default 6006). Ensure no conflicts or firewalls block these ports.
5 credentials detected in repository history via Gitleaks
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
0
0.0
Freshness
25%
100
25.0
Adoption
20%
84
16.8
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
55.8
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecevalsecrets
◆ Risk level: high
fs read + fs write + network + exec + eval + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "storybookmcp": {
      "command": "npx",
      "args": [
        "-y",
        "@storybook/mcp"
      ]
    }
  }
}
📈 Score historylast 49 snapshots
4/30/20267/21/2026 · 49 snapshots
⚙ Maintenance health
83/ 100 · is this project alive?
contributors (1y)14
top contributor share29%
releases (1y)54
last release12d ago
ci✓ passing
⛁ Raw data
weekly downloads1.9M
github stars263
forks39
open issues39
license✓ present
readme length7885 chars
last publish1d ago
last commit6d ago
last updated7d ago
install verified✓ pass · 65d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points