Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Storybook Preview

FreeNot checked

Renders Storybook component previews inside the IDE as components are edited.

GitHubEmbed

About

Renders Storybook component previews inside the IDE as components are edited.

README

See your components render live inside the IDE as the AI edits them. No switching windows.

Documentation & Live Demo

MCP Apps TypeScript Node 18+

Quick Start

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "storybook-preview": {
      "command": "npx",
      "args": ["-y", "simple-storybook-preview-mcp"],
      "env": {
        "STORYBOOK_URL": "http://localhost:6006"
      }
    }
  }
}

Start your Storybook dev server (npm run storybook), then ask the AI to edit a component — the preview appears automatically.

Configuration

Env Variable Default Description
STORYBOOK_URL http://localhost:6006 Base URL of your running Storybook dev server
DEBUG false Set to true or 1 to show a debug log panel

How Story IDs Work

The AI derives story IDs from your Storybook file structure:

title segments lowercased, joined by dashes + double-dash + story export name

"Components/Button" + "Primary" → components-button--primary
"Forms/Input" + "WithLabel"     → forms-input--withlabel

Requirements

  • Node.js 18+
  • Storybook 7+ dev server running
  • IDE with MCP Apps support (e.g. Cursor)

Works with any framework Storybook supports (React, Vue, Angular, Svelte, etc.).

Links

License

MIT

from github.com/matipojo/simple-storybook-preview-mcp

Installing Storybook Preview

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/matipojo/simple-storybook-preview-mcp

FAQ

Is Storybook Preview MCP free?

Yes, Storybook Preview MCP is free — one-click install via Unyly at no cost.

Does Storybook Preview need an API key?

No, Storybook Preview runs without API keys or environment variables.

Is Storybook Preview hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Storybook Preview in Claude Desktop, Claude Code or Cursor?

Open Storybook Preview on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Storybook Preview with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs