Storybook Preview
FreeNot checkedRenders Storybook component previews inside the IDE as components are edited.
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.
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
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-mcpFAQ
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
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare 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
