Storybook MCP Component Validation
Use Storybook as a controlled component evidence surface. Start with inventory and inspect existing stories before changing code or generated examples.
Workflow
- Discover the Storybook endpoint, version, component inventory, and relevant stories. Confirm whether it reflects the target branch and build.
- Inspect all meaningful states: loading, empty, error, disabled, focus, overflow, responsive, localization, and dark/light themes where applicable.
- Compare documented props/tokens with implementation, then make the smallest project-native change and add or update the corresponding story/test.
- Run the repository's accessibility, visual, and unit gates; report any Storybook/build mismatch separately.
Guardrails
- Do not infer production behavior from a stale or mock-only story.
- Keep network-backed, token-bearing, and write-capable stories isolated.
- Treat third-party example source as provenance-reviewed input, not copy-paste.