Skip to main content
Glama

Storybook MCP Server

by m-yoshiro

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": [ "/< your path>/index.js", // Optional: path to your Storybook static json file "/< your path>/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)

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

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

  1. 🎯 Purpose
    1. Getting Started
      1. Clone the repository
      2. Install dependencies
      3. Build
      4. Set up
    2. 🔧 Available Tools
      1. 🔍 Find a matching component for a Figma element
      2. ✨ Auto-generate UI code from a Figma section
    3. 🧠 Why MCP?
      1. 📁 Project Structure
        1. 🤝 Contributing
          1. 📜 License

            Related MCP Servers

            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that provides seamless interaction with Workato's API through custom AI tools, enabling management of recipes, connections, connectors, folders, and activity logs.
              Last updated -
              TypeScript
              MIT License
              • Apple
              • Linux
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that connects AI assistants like Claude to Notion workspaces, enabling them to view, search, create, and update Notion databases, pages, and content blocks.
              Last updated -
              275
              JavaScript
              • Apple
            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that bridges AI assistants like Claude with Wordware's specialized agent capabilities, allowing dynamic loading and access to any Wordware flow through a standardized interface.
              Last updated -
              Python
            • -
              security
              F
              license
              -
              quality
              An implementation of a Model Context Protocol server that allows Claude and other AI assistants to interact with Shortcut.com's ticket management system for searching, viewing, creating, and updating stories.
              Last updated -
              Python
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/m-yoshiro/storybook-mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server