Storybook MCP
JSON →A universal MCP server that connects to any Storybook site and extracts documentation in real-time using Playwright. Use it with any AI or client that supports MCP (Model Context Protocol)âCursor, Claude Desktop, Windsurf, or other MCP hosts.
Install
npx (recommended) Tools · 5
- connect Connect to a Storybook URL and get connection status. Required before other tools.
- list List components and stories in the navigation. Optional: category, full (hierarchy).
- search Search for components by name or path. Required: query.
- get_docs Get documentation, code examples, and content for a component or story. Required: path. Optional: full, format (markdown/structured).
- screenshot Take a screenshot of a component or story. Required: path.
Environment variables
STORYBOOK_URL