MCP server

Story UI MCP Server: Storybook Screens in Your Design System

The Story UI MCP server lets an AI coding agent generate, update and inspect real Storybook stories built from your own design system components, with props checked.

Run
npx @tpitre/story-ui@latest init
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the Story UI MCP server?

Story UI adds an AI workspace to Storybook and exposes eight MCP tools. An AI coding agent can generate and update stories, list components and stories and read component props, so screens use the components your team actually ships, and each story is rendered and checked before you see it.

Story UI adds a workspace to the Storybook you already have. You describe a screen and it writes a real .stories.tsx file using your design system's components. The result shows in Storybook's own preview with your providers, theme and tokens.

The MCP server exposes that same generation loop to an AI coding agent. Both its stdio and remote transports call the Story UI HTTP server, which must be running from your project directory.

What changes in your agent's output

  • Components are discovered from your project, so the agent cannot invent a component you do not own, and props are checked against real types.
  • Output is a story file in your repository, ready for review and a pull request.
  • Stories are rendered in a real browser and measured for overflow, overlap, blank areas and broken layout, then regenerated if they fail.
  • A direct inspector edits a property without calling a model at all.

How the setup works

  1. In your Storybook project, run the init command, then the check command to confirm the install works.
  2. Start Storybook and Story UI together, then add the MCP entry to your client.
  3. Ask the agent to generate or update a story using your components.

Who the Story UI MCP server is for

Best for

  • Design system teams with a React and TypeScript component library who want agents to use it correctly.
  • Product designers exploring whole screens in the real system without waiting on engineering.
  • Teams that pair it with a knowledge server such as Design Systems MCP and a code-side review via a critique skill.

Not for

  • Projects without Storybook. It requires Storybook 10 or newer, and the other frameworks get only the classic panel.
  • Reading design files. The Figma MCP server covers Figma, while Story UI works from code.
  • Setups with no model provider. An Anthropic, OpenAI or Google Gemini key is needed.

Use it with UiChemy

Story UI produces component stories for a design system you host in Storybook. For a WordPress site, UiChemy builds the pages: Figma to WordPress turns a design into editable blocks, and Composer edits them inside Elementor or Gutenberg. Click Get Started on uichemy.com.