Storybook MCP Server
MCP server by stefanoamorelli Verified · npm:storybook-mcp-server
Gives AI assistants access to a Storybook instance so they can list components, stories and props, and capture story screenshots. Aimed at developers and teams who use Storybook.
Install Storybook MCP Server
Built from the published package, never by AI.
claude mcp add storybook-mcp-server -- npx -y storybook-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"storybook-mcp-server": {
"args": [
"-y",
"storybook-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Storybook MCP Server in Claude Desktop
{
"mcpServers": {
"storybook-mcp-server": {
"args": [
"-y",
"storybook-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"storybook-mcp-server": {
"args": [
"-y",
"storybook-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add storybook-mcp-server -- npx -y storybook-mcp-server{
"mcpServers": {
"storybook-mcp-server": {
"args": [
"-y",
"storybook-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Storybook MCP Server in Antigravity CLI
gemini mcp add storybook-mcp-server npx -y storybook-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the storybook-mcp-server block.
About
Storybook MCP Server is a TypeScript Model Context Protocol server that gives AI assistants access to a Storybook instance. It can list components, list and filter stories, and return story details and component prop definitions. It can also capture screenshots of individual stories or all stories, with optional viewport sizes.
The server connects to any running Storybook through the STORYBOOK_URL setting, whether it is a local development server, a deployed production Storybook or a public component library. Screenshots are made with Puppeteer and saved to an output directory. It suits developers and teams who want an assistant to inspect components, document props or run visual checks. The project is licensed under AGPL-3.0, and the author offers commercial licensing on request.
Written from the project's README and checked against it.
Tools it gives your assistant
storybook_list_componentsLists all components available in the Storybook instance.storybook_list_storiesLists all stories, optionally filtered by component ID.storybook_get_story_detailsGets detailed information about a specific story by story ID.storybook_get_component_propsGets the props and property definitions for a component.storybook_capture_screenshotCaptures a screenshot of a specific story, with an optional viewport size.storybook_capture_all_screenshotsCaptures screenshots of all stories, with an optional viewport size.
What you need
- Node.js 18 or higher
- A running Storybook instance
- Chrome or Chromium, downloaded automatically by Puppeteer
Try asking
- What components are available in my Storybook?
- Take a screenshot of the primary button story at mobile size
- What props does the Button component accept?
Good to know
- Requires a running Storybook instance at the configured URL.
- Screenshot tools depend on Puppeteer and Chrome or Chromium.
- Licensed under AGPL-3.0. Commercial use may need a separate license from the author.
Security check
C- Asks for administrator rights (sudo)In
README.md:sudo
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Storybook MCP Server
All alternatives →Turns GitHub repositories into architecture diagrams, written explanations, Mermaid source and narrated explainer videos. Built for developers who want to understand a codebase, and for AI agents that need to read one.
Mocks, records, and chaos-tests HTTP(S) dependencies for development and testing. One port serves many protocols, including gRPC, WebSockets, and LLM chat APIs. Built for developers and testers who need stand-in services during tests.
Provides MCP server and CLI tools that let AI coding agents build, test and manage iOS and macOS projects with Xcode and simulators. It is aimed at developers working on Apple platform apps.
Creates editable draw.io diagrams in AI chat from Mermaid, PlantUML, CSV or draw.io XML. Built for people who want diagrams from text prompts that stay editable in draw.io.
Indexes your code, git history, tests and decisions on your machine so AI coding agents can query the index instead of re-reading files. Built for developers who want fewer files opened and clearer answers about change risk and code health.
Gives your AI assistant hosted codebase intelligence for repos indexed on repowise.dev. Use it to ask how code works, what a change may break, and which tests to run.
Compare with GitDiagram, mockserver or XcodeBuildMCP
Storybook MCP Server: common questions
Can it work with a production Storybook?
Yes. The source says the server can connect to a deployed production Storybook or a public component library by setting STORYBOOK_URL.
Do I need to install Chrome for screenshots?
Puppeteer downloads a compatible Chromium automatically when the screenshot command first runs. The source says manual Chrome installation is typically not required.
Which Node.js version does it need?
The source states that Node.js 18 or higher is required.
How do I install Storybook MCP Server?
In Claude Code run claude mcp add storybook-mcp-server -- npx -y storybook-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Storybook MCP Server the official server?
Storybook MCP Server is published by npm:storybook-mcp-server from its verified domain in the official MCP Registry.
Is Storybook MCP Server free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is Storybook MCP Server safe to use?
It scores 46 of 100. Grades: maintenance F, licence C, quality C. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to Storybook MCP Server?
Similar MCP servers: GitDiagram, mockserver, XcodeBuildMCP, draw.io.
Does Storybook MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
