Simple Storybook Preview
БесплатноНе проверенEnables live preview of Storybook components inside the IDE as the AI edits them, using MCP Apps integration.
Описание
Enables live preview of Storybook components inside the IDE as the AI edits them, using MCP Apps integration.
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
Установка Simple Storybook Preview
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/matipojo/simple-storybook-preview-mcpFAQ
Simple Storybook Preview MCP бесплатный?
Да, Simple Storybook Preview MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Simple Storybook Preview?
Нет, Simple Storybook Preview работает без API-ключей и переменных окружения.
Simple Storybook Preview — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Simple Storybook Preview в Claude Desktop, Claude Code или Cursor?
Открой Simple Storybook Preview на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
автор: modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
автор: xuzexin-hzCompare Simple Storybook Preview with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории ai
