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 "Install 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-mcpedit 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/matipojo/simple-storybook-preview-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server