storyId
(required): The ID of the story
How to use it
storyId is exposed by the Storybook MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the storyId tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Storybook MCP Server
npm install -g storybook-mcp-serverOther tools in Storybook MCP Server (10)
(optional): Filter stories by component ID
Viewport height in pixels
Captures screenshots of all stories.
Captures a screenshot of a specific story.
Gets the props/properties definition for a component.
Gets detailed information about a specific story.
Lists all components available in the Storybook instance.
Lists all stories, optionally filtered by component.
(optional): Viewport dimensions
Viewport width in pixels