height
Viewport height in pixels
How to use it
height is exposed by the Storybook MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the height 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
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.
(required): The ID of the story
(optional): Viewport dimensions
Viewport width in pixels