storybook-mcp-integration
Skill by yonatangross
Explains the Storybook MCP server (@storybook/addon-mcp) and its six tools across dev, docs and testing toolsets. Useful for agents that call these tools on existing components in a Storybook project.
Install storybook-mcp-integration
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yonatangross/orchestkit /tmp/orchestkit && mkdir -p ~/.claude/skills && cp -r /tmp/orchestkit/src/skills/storybook-mcp-integration ~/.claude/skills/storybook-mcp-integrationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install storybook-mcp-integration in Claude Code
git clone --depth 1 https://github.com/yonatangross/orchestkit /tmp/orchestkit && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/orchestkit/src/skills/storybook-mcp-integration ~/.gemini/antigravity-cli/skills/storybook-mcp-integrationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install storybook-mcp-integration in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill is a reference for the Storybook MCP server (@storybook/addon-mcp). It describes the server's six tools, grouped into three toolsets: dev, docs and testing. It also covers how to call those tools on components that already exist, and how to check whether the server is available.
Agents can use the tools to check a project's component library before generating new components, preview stories, inventory component props, and run story tests with a11y audits. Per-agent toolset filtering uses the X-MCP-Toolsets header to reduce agent context. The skill is aimed at developers and agents working in Storybook 10.3+ projects that use Vite. For the full mockup-to-component pipeline, the source points to the design-to-code skill.
Written from the project's SKILL.md and checked against it.
What it can do
- get-storybook-story-instructionsGives guidance on writing stories and interaction tests (dev toolset).
- preview-storiesReturns embeddable preview URLs for stories (dev toolset).
- list-all-documentationReturns the full component and docs manifest index (docs toolset).
- get-documentationReturns props, first 3 stories, story index and docs for a component (docs toolset).
- get-documentation-for-storyReturns full story source and component docs (docs toolset).
- run-story-testsRuns component and a11y tests and returns pass/fail with violations (testing toolset).
What you need
- Claude Code 2.1.277 or later
- Storybook 10.3 or later with the Vite builder (no webpack)
- @storybook/addon-mcp installed in the Storybook project
- @storybook/addon-vitest for the testing toolset
Try asking
- Check Storybook for an existing button component before creating a new one
- Preview the stories for my form components and embed the URLs here
- Run story tests with a11y checks on the card component I just built
Good to know
- Supports Storybook with the Vite builder only, not webpack.
- The dev and testing toolsets need a local Storybook.
- When published on Chromatic, only the docs toolset is available remotely.
- The testing toolset requires the addon-vitest package.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: src/skills/storybook-mcp-integration/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Glob Grep WebFetch WebSearch ToolSearch mcp__storybook-mcp__get-storybook-story-instructions mcp__storybook-mcp__preview-stories mcp__storybook-mcp__list-all-documentation mcp__storybook-mcp__get-documentation mcp__storybook-mcp__get-documentation-for-story mcp__storybook-mcp__run-story-tests
Alternatives to storybook-mcp-integration
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
storybook-mcp-integration: common questions
What tools does the Storybook MCP server provide?
The server provides six tools in three toolsets: dev, docs and testing. The tools cover story instructions, story previews, documentation lookup and running story tests.
How can I limit which Storybook MCP tools an agent sees?
Filter toolsets with the X-MCP-Toolsets header. The source gives examples such as docs only for a component curator agent and dev,docs,testing for a frontend developer agent.
What should an agent do if the Storybook MCP server is not available?
The source says to fall back to filesystem-based discovery, using Glob and Grep to inventory components. It also lists 21st.dev search and manual screenshot analysis as alternatives.
How do I install storybook-mcp-integration?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is storybook-mcp-integration free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is storybook-mcp-integration safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to storybook-mcp-integration?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
