mcp-storybook

mcp-storybook

3.4

If you are the rightful owner of mcp-storybook and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol server for interacting with Storybook.

Storybook MCP Server

A Model Context Protocol server for interacting with Storybook.

Usage

{
  "mcpServers": {
    "storybook": {
      "command": "npx",
      "args": ["-y", "mcp-storybook@latest"]
    }
  }
}

Tools

get-stories

Retrieves a list of stories from a Storybook configuration.

Parameters:

  • configDir (string): Absolute path to directory containing the .storybook config folder

Returns:

  • List of story ids

Technical Details

  • Built using @modelcontextprotocol/sdk
  • Uses stdio transport for communication
  • Caches data in ./cache relative to script location

Unfortunately we need to install any framework that might be encountered to this package so that the index building doesn't fail.