# storybookjs/storybook [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/storybookjs/storybook/tree/next/code/addons/mcp  
**GitHub Stars:** 91785  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/storybookjs-storybook

## Description
Helps agents write and test Storybook stories for UI components.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What storybookjs/storybook does

storybookjs/storybook extends a Storybook project with an MCP endpoint for agent-assisted UI development. Its focus is working with Storybook stories for UI components: agents can help create stories and test them as part of a Storybook-based workflow.

The server is delivered as the `@storybook/addon-mcp` addon rather than as a separate application described independently from Storybook. This makes it a fit for teams already using Storybook who want an MCP-connected development workflow around their component stories.

## How it works

After the addon is configured in Storybook, it exposes the MCP server through an HTTP-style URL pathname. The default endpoint is `/mcp`. MCP-capable tooling can use that endpoint to interact with the Storybook addon for supported UI development tasks, including writing and testing stories.

The endpoint is configured in `.storybook/main.ts` alongside the other Storybook addons. A project can retain the default path or provide a custom pathname such as `/custom-mcp` or `/tools/mcp`.

## Setup and configuration

Add `@storybook/addon-mcp` to the Storybook addon configuration in `.storybook/main.ts`:

```ts
export default {
  addons: [
    {
      name: '@storybook/addon-mcp',
      options: {
        endpoint: '/custom-mcp',
      },
    },
  ],
};
```

The `endpoint` option accepts a literal URL pathname. Use a leading slash and provide a path such as `/custom-mcp` or `/tools/mcp`. If the option is omitted, the addon uses `/mcp`.

## Tools and capabilities

- Exposes an MCP server from a Storybook addon
- Helps agents write stories for UI components
- Supports testing Storybook stories in agent-driven UI workflows
- Allows projects to choose a custom MCP endpoint pathname

## Limitations and notes

The endpoint setting is a pathname, not a complete URL. The addon uses `/mcp` unless a different literal path is configured. The repository includes a Claude Code showcase, making Claude Code a documented client context for the addon. Installation instructions, usage examples, and API details are maintained in the Storybook MCP documentation.

_Full upstream README: https://allmcps.com/mcp/storybookjs-storybook/readme_

