MCP server
by mcpland
Integrate with Storybook to extract component info, props, and custom design elements like icons and color palettes usin
Extracts component information, props data, and design system elements from Storybook documentation using browser automation.
Storybook is a community-built MCP server published by mcpland that provides AI assistants with tools and capabilities via the Model Context Protocol. Integrate with Storybook to extract component info, props, and custom design elements like icons and color palettes usin It is categorized under browser automation, developer tools.
You can install Storybook in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.
MIT
Storybook is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
Fetch and extract information from websites automatically
Example
Research competitor pricing, scrape product reviews, monitor news mentions
Automate 5-10 hours/week of manual web research
Track website changes, new content, price updates
Example
Monitor competitor blog for new posts, track stock availability, watch for pricing changes
Stay informed without manual checking, never miss important updates
Extract structured data from multiple websites
Example
Compile product listings from 10 e-commerce sites, aggregate job postings, collect real estate data
Build datasets 100x faster than manual copying
Share your MCP server with the developer community
Storybook is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
Useful MCP listing: Storybook is the kind of server we cite when onboarding engineers to host + tool permissions.
We evaluated Storybook against two servers with overlapping tools; this profile had the clearer scope statement.
Storybook has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Storybook is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.
According to our notes, Storybook benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
We evaluated Storybook against two servers with overlapping tools; this profile had the clearer scope statement.
Storybook is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
Storybook has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
Storybook reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
showing 1-10 of 71
A Model Context Protocol (MCP) server that provides tools to interact with Storybook documentation and component information.
<a href="https://glama.ai/mcp/servers/@mcpland/storybook-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@mcpland/storybook-mcp/badge" alt="storybook-mcp MCP server" /> </a>Add the following configuration to MCP settings:
{
"mcpServers": {
"storybook": {
"command": "npx",
"args": ["-y", "storybook-mcp@latest"],
"env": {
"STORYBOOK_URL": "<your_storybook_url>/index.json"
}
}
}
}
STORYBOOK_URL (required): The URL to your Storybook's index.json fileCUSTOM_TOOLS (optional): JSON array of custom tool definitions for extracting specific information from your StorybookThe server provides built-in tools and supports custom tools:
Retrieves a list of all available components from the configured Storybook.
Example:
Available components:
Accordion
Avatar
Badge
Button
...
Gets detailed props information for multiple components, including:
Parameters:
componentNames (array of strings): Array of component names to get props information forExample usage:
Tool: getComponentsProps
Parameters: { "componentNames": ["Button", "Input", "Avatar"] }
You can define custom tools to extract specific information from your Storybook pages. Each custom tool can:
Custom Tool Structure:
interface CustomTool {
name: string; // Unique tool name
description: string; // Tool description for the AI
parameters: object; // Input parameters schema (optional)
page: string; // URL to navigate to
handler: string; // JavaScript code to execute on the page
}
Example Custom Tools:
[
{
"name": "getIconList",
"description": "Get All Icons from the Icon page",
"parameters": {},
"page": "https://your-storybook.com/?path=/docs/icon--docs",
"handler": "Array.from(document.querySelectorAll('.icon-name')).map(i => i.textContent)"
},
{
"name": "getColorPalette",
"description": "Extract color palette from design tokens",
"parameters": {},
"page": "https://your-storybook.com/?path=/docs/design-tokens--colors",
"handler": "Array.from(document.querySelectorAll('.color-swatch')).map(el => ({ name: el.getAttribute('data-color-name'), value: el.style.backgroundColor }))"
}
]
For more examples and detailed documentation, see examples/custom-tools-example.md.
Set Spectrum storybook-mcp config with STORYBOOK_URL and CUSTOM_TOOLS environment variables.
{
"mcpServers": {
"storybook-mcp": {
"command": "npx",
"args": ["-y", "storybook-mcp@latest"],
"env": {
"STORYBOOK_URL": "https://opensource.adobe.com/spectrum-web-components/storybook/index.json",
"CUSTOM_TOOLS": "[{"name":"getIconList","description":"Get All Icons from the Icon page","parameters":{},"page":"https://opensource.adobe.com/spectrum-web-components/storybook/iframe.html?viewMode=docs&id=icons--docs&globals=","handler":"Array.from(document.querySelector('icons-demo').shadowRoot.querySelectorAll('.icon')).map(i => i.textContent)"}]"
}
}
}
}
index.json file(v3 is stories.json) and extracts all components marked as "docs" typeThe server works with any Storybook that exposes an index.json file(v3 is stories.json). Common patterns:
https://your-storybook-domain.com/index.jsonhttps://your-storybook-domain.com/storybook/index.jsonyarn installnpx playwright install chromiumexport STORYBOOK_URL="your-storybook-url"yarn devNote: You can also use
npx @modelcontextprotocol/inspector tsx src/index.tsinstead ofyarn devif you prefer.
yarn build
yarn test
The server includes comprehensive error handling for:
Storybook MCP is MIT licensed.
Interact with services that don't offer APIs
Example
Check form submissions, validate website functionality, test user flows
Automate interactions with any website, even without API
Prerequisites
Time Estimate
20-40 minutes including configuration and testing
Steps
Troubleshooting
✓ Do
✗ Don't
💡 Pro Tips
Architecture
MCP server handles HTTP requests, HTML parsing, JavaScript rendering (if headless browser), and returns structured data to Claude.
Protocols
Compatibility
✓ Use when
Use for research automation, content monitoring, data aggregation from multiple sources, and when official APIs don't exist. Best for read-only information gathering.
✗ Avoid when
Avoid for sites with APIs (use API instead), sites that explicitly forbid scraping, when data is copyrighted, or for login-required content without proper authorization.