simple-storybook-preview-mcp
Provides live preview of Storybook components directly in the IDE, allowing AI agents to view component renders as they edit.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@simple-storybook-preview-mcp edit the Button component and preview live"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Simple Storybook Preview MCP
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.
Related MCP server: Storybook MCP
Configuration
Env Variable | Default | Description |
|
| Base URL of your running Storybook dev server |
|
| Set to |
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--withlabelRequirements
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
Available Tools
1 toolrender_componentRender ComponentA
Renders a Storybook story in an inline preview panel. Use after editing a component file to show the updated result. The storyId follows Storybook convention: title segments joined by dashes, double-dash before story name (e.g. "example-button--primary" for title "Example/Button", export "Primary").
Inputs: storyId (required), theme. Returns: url, story, theme, storyId
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool there is no possibility of confusion or overlap with other tools. The single purpose of rendering a Storybook story is clearly defined.
The tool name 'render_component' follows a clear verb_noun pattern, which is consistent and predictable. Even as a lone tool, the naming convention is clear and readable.
A single tool for a very narrow 'simple storybook preview' purpose is borderline. It is not trivial, but the surface feels thin and lacks supplementary functionality that might be expected in a fuller server.
The tool fully covers the core rendering action, and the convention-based storyId allows agents to target stories. A notable gap is the absence of a discovery mechanism to list available stories or validate storyIds, but for a 'simple' preview server this is a minor limitation.
Maintenance
Related MCP Connectors
Create, edit, preview, and deploy full-stack web apps to a live URL from any MCP client.
Lets your AI build and edit websites in Xodia, a visual website builder for real code (Vite, React, Tailwind CSS or plain HTML in your own git repo): read and write site files, create pages and CMS collections, run typecheck, design and link checks, take screenshots, manage forms and translations, and pick up change requests the user sends from the visual editor. Sign in once with your Xodia account (OAuth). Free plan, no card needed. Setup: https://xodia.ai/ai/mcp
Build and update complete applications in Apper through AI assistants using MCP.
Let your AI agent build, preview and update web apps, download source and publish when you allow it.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables AI assistants to browse Storybook components, manage stories, inspect props, and capture screenshots of components.211 npm14AGPL 3.0

Storybook MCPofficial
AlicenseNot gradedqualityFmaintenanceEnables AI agents to interact with Storybook by exposing UI component information and development workflows through the Model Context Protocol.271MIT- AlicenseAqualityDmaintenanceIntegrates with a running Storybook instance to let AI-powered coding tools browse, inspect, and scaffold components from natural language.4MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to dynamically add, update, and remove Mock Service Worker network mocks through MCP tools, including scaffolding project setup. Changes take effect in the running browser app without restarting the application source code.15 npmMIT