connect
Connect to a Storybook URL and return connection status. Required before other tools.
Point at a running Storybook and read its component tree, documentation, code examples and rendered screenshots.
LABSCO SUMMARY
What comes back is the design system's own material — navigation, documented examples, component source — plus a screenshot, which is how you check that a story renders the way its docs claim. That combination is what makes it useful to an agent writing UI against components someone else built: find the component that already exists, read the props and examples the team documented, and look at it before copying a pattern. Nothing writes back, so the Storybook stays the source of truth.
A reader for a running Storybook instance: connect to its URL, then browse the navigation, search components, pull documentation and capture a rendering.
A running Storybook the server can reach over HTTP, at the url you hand to connect. No account or key is configured.
One command — npx -y @raksbisht/storybook-mcp
USE CASES
Attach to the team's Storybook, find the component by whatever name you know it under, and read the props and examples its authors documented.
Browse the navigation the way a developer would before writing anything new, narrowing to the category the component would live in.
Read what the documentation says the component does, then capture the rendering and compare them rather than trusting the prose.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
connectConnect to a Storybook URL and return connection status. Required before other tools.
get_docsGet documentation, code examples, and content for a component or story.
listList components and stories in the Storybook navigation.
screenshotTake a screenshot of a component or story.
searchSearch for components by name or path.
BEFORE YOU INSTALL
5 tools when we connected.
npx on PATH
CONTEXT COST
Rated by the size of the 5 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
Add the block to your client, or run the command directly.
{
"mcpServers": {
"storybook-mcp": {
"command": "npx",
"args": [
"-y",
"@raksbisht/storybook-mcp"
]
}
}
}npx -y @raksbisht/storybook-mcp