MCP.so
登录

Storybook MCP Server

@storybookjs

基本信息

分类

其他

传输方式

stdio

作者

storybookjs

提交者

Michael Shilman

关于 Storybook MCP Server

Help agents automatically write and test stories for your UI components.

Storybook MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Storybook MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Storybook MCP?

Storybook MCP is a Model Context Protocol server that exposes UI component information and development workflows from Storybook, enabling AI agents to work more efficiently with component libraries. It is available as a standalone library (@storybook/mcp) or as a Storybook addon (@storybook/addon-mcp) that runs the MCP server within your existing Storybook dev server.

How to use Storybook MCP?

Install @storybook/mcp as a standalone server, or add @storybook/addon-mcp to your Storybook setup. When using the addon, the MCP server is automatically available at http://localhost:6006/mcp while Storybook is running. Connect your AI agent (e.g., a coding assistant) to that endpoint. For the standalone server, the default address is http://localhost:13316/mcp. Use the MCP Inspector (pnpm inspect) or curl to test the server.

Key features of Storybook MCP

  • Exposes UI component metadata via MCP protocol
  • Provides tools for exploring component stories and properties
  • Integrates directly into a running Storybook dev server
  • Can be run as a standalone server independent of Storybook
  • Supports debugging with MCP Inspector and curl

Use cases of Storybook MCP

  • AI coding assistants retrieving component documentation while building UIs
  • Automated agents exploring available UI components and their variants
  • AI-powered testing or visual regression workflows using Storybook data
  • Integrating an AI chat interface with a design system’s component library

常见问题

1

What is the difference between `@storybook/mcp` and `@storybook/addon-mcp`?

`@storybook/mcp` is a standalone library that can be used independently of Storybook. `@storybook/addon-mcp` is a Storybook addon that runs the MCP server within your Storybook dev server and includes all functionality from the standalone library.

2

What are the runtime requirements?

The project requires Node.js 24 or higher. For development, pnpm 10.19.0+ is used, but end users only need Node.js and the appropriate package manager.

3

How do I connect an AI agent to the MCP server?

Start Storybook with the addon installed, then configure your agent to use the MCP server URL (default: `http://localhost:6006/mcp`). For the standalone server, use `http://localhost:13316/mcp`. You can verify connectivity with the `tools/list` MCP method.

4

Is authentication required?

Authentication is not mentioned in the README. The server is assumed to run locally on `localhost` during development.

评论

其他 分类下的更多 MCP 服务器