Overview
Features
Standalone MCP library
A standalone MCP library for serving Storybook component knowledge that can be used independently of an addon.
Addon-integrated MCP server
An addon that runs an MCP server inside the Storybook dev server, exposing local component knowledge through MCP.
Exposes UI component knowledge and workflows
Provides access to Storybook UI component information and development workflows via the MCP server.
Tools API (JSON-RPC)
Offers a Tools API with methods like tools/list and tools/call to discover and invoke actions against the MCP server.
Example tool: list-all-components
Demonstrates how to enumerate Storybook components using the Tools API (e.g., tools/call with name 'list-all-components').
MCP Inspector integration
Supports debugging and testing MCP functionality via the MCP Inspector, configurable with .mcp.inspect.json.
Accessible MCP endpoint
MCP server is served from the Storybook instance at /mcp (e.g., http://localhost:6006/mcp) for easy integration.
Storybook-centric workflow
Designed to work with internal Storybook workflows, enabling AI agents and automation to navigate UI components and development tasks within Storybook.
Who Is This For?
- AI agents:Access Storybook component knowledge and development workflows to automate UI testing and documentation.
- Developers & contributors:Develop, test, and contribute to the MCP server and addon integration within the Storybook monorepo.




