Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Remote MCP Server
  • Amazon VPC Lattice MCP Server
  • LSP Tools MCP Server
  • DeepSource MCP Server
  • IR Toolshed MCP Server
Back to MCP Servers
Storybook MCP Server

Storybook MCP Server

Public
m-yoshiro/storybook-mcp

A Model Context Protocol server that integrates with Storybook to help AI tools query UI components and retrieve usage examples from static Storybook files.

Verified
javascript
0 tools
May 30, 2025
Updated May 30, 2025

Storybook MCP Server

āš ļø This tool was created for testing purposes and is not recommended for use in production environments.


Getting Started

Before you begin, you need to prepare your Storybook static files. https://storybook.js.org/docs/sharing/publish-storybook

1. Clone the repository

git clone https://github.com/m-yoshiro/storybook-mcp.git cd storybook-mcp

2. Install dependencies

We recommend using Bun

bun install # or npm install

3. Build

bun run build # or npm run build

4. Set up

{ "mcpServers": { "storybook-mcp": { "command": "node", "args": [ "//index.js", // Optional: path to your Storybook static json file "//index.json" ] } } }

The server will load your Storybook data and expose MCP tools to external agents.


šŸ”§ Available Tools

Tool NameDescriptionParameters
list-componentsLists all available components from Storybookpath (optional): Path to the index.json or stories.json file (optional if default path is provided)
find-components-by-nameFinds components based on a keyword (partial match supported)name: Component name or keyword to search forpath (optional): Path to the index.json or stories.json file (optional if default path is provided)

"What Storybook component matches this 'CTA Button' in my Figma design?"

āž”ļø MCP server runs:

  • find-component-by-name("cta button")
  • get-component-details("PrimaryButton")
  • get-component-usage-examples("PrimaryButton")

✨ Auto-generate UI code from a Figma section

Ask the AI:

"Generate a contact form using our design system"

āž”ļø MCP server:

  • Suggests TextField, Textarea, PrimaryButton
  • Provides JSX using those components

🧠 Why MCP?

MCP (Model Context Protocol) provides a standard interface for large language models to safely and efficiently access contextual information like UI components, documentation, and code.

By integrating your Storybook via MCP:

  • AI agents can suggest components intelligently
  • Designers and developers get a shared source of truth
  • Natural language is enough to drive UI generation

šŸ“ Project Structure

storybook-mcp/
ā”œā”€ā”€ tools/
│   ā”œā”€ā”€ list-components.ts
│   ā”œā”€ā”€ get-component-details.ts
│   ā”œā”€ā”€ get-component-usage-examples.ts
│   └── ...
ā”œā”€ā”€ config.ts
ā”œā”€ā”€ index.ts
└── README.md

šŸ¤ Contributing

If you have ideas to improve or want to contribute new tools, feel free to open a PR or issue!


šŸ“œ License

MIT -->

Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Remote MCP Server
    Remote MCP Server

    A Model Context Protocol server for Cloudflare Workers that integrates with Claude AI, enabling tool...

    Added May 30, 2025
  • Amazon VPC Lattice MCP Server
    Amazon VPC Lattice MCP Server

    A Model Context Protocol server that provides tools for accessing and managing AWS VPC Lattice infor...

    2 tools
    Added May 30, 2025
  • LSP Tools MCP Server
    LSP Tools MCP Server

    A Model Context Protocol server that provides tools to find regex pattern positions in files and lis...

    Added May 30, 2025
  • DeepSource MCP Server
    DeepSource MCP Server

    A Model Context Protocol server that integrates with DeepSource to provide AI assistants with access...

    9 tools
    Added May 30, 2025
  • IR Toolshed MCP Server
    IR Toolshed MCP Server

    A Model Context Protocol server that provides network analysis tools for security professionals, ena...

    Added May 30, 2025