storybook-mcp
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., "@storybook-mcplist all components in storybook"
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.
๐ Storybook MCP Server ๐
์ด ์๋ฒ๋ Model Context Protocol (MCP) ์ ํตํด
AI ์์ด์ ํธ(Cline, Roo Code, Claude Desktop ๋ฑ)๊ฐ
๋ก์ปฌ Storybook ์ปดํฌ๋ํธ ๋ช
์ธ๋ฅผ ์ง์ ์ฝ๊ณ ๋ถ์ํ ์ ์๋๋ก ๋๋ ๋๊ตฌ์
๋๋ค.
โจ ์ฃผ์ ๊ธฐ๋ฅ (Core Features)
๐ ์ค๋งํธ ์ปดํฌ๋ํธ ํ์
configure.mdx์ ๊ฐ์ ๋จ์ ๋ฌธ์๋ ์ ์ธ์ค์ ์ฌ์ฉ ์์(Story)๊ฐ ์กด์ฌํ๋ ์ง์ง UI ์ปดํฌ๋ํธ๋ง ์ ๋ณํ์ฌ ๋ชฉ๋ก ์ ๊ณต
๐ Props ๋ช ์ธ ์ถ์ถ
์ปดํฌ๋ํธ์ Docs ํ์ด์ง ๋ถ์
ArgsTable์ ์ ์๋ Props์
์ด๋ฆ / ์ค๋ช / ๊ธฐ๋ณธ๊ฐ์ ์ ํํ๊ฒ ์ถ์ถ
๐ป ์์ค ์ฝ๋ ์ถ์ถ
Docs ํ์ด์ง์ โShow codeโ ๋ฒํผ์ ์๋ ํด๋ฆญ
๊ฐ ์คํ ๋ฆฌ๋ณ ์ค์ React / JSX ๊ตฌํ ์์ ์ฝ๋ ์์ง
๐ง ์๋ ํ๊ฒฝ ๋์
Docs ํญ์ด ์๋ ์ปดํฌ๋ํธ์ ๊ฒฝ์ฐ
Story(Canvas) ํญ์ผ๋ก ์๋ ์ ํํ์ฌ ์ ์ฐํ๊ฒ ์ฒ๋ฆฌ
Related MCP server: File Context MCP Server
โ๏ธ ์ค์น ๋ฐ ์ค์ (Setup)
1๏ธโฃ ์ฌ์ ์๊ตฌ ์ฌํญ
Node.js ์ค์น
๋ถ์ ๋์ ํ๋ก์ ํธ์ Storybook ์คํ ์ค
๊ธฐ๋ณธ URL:
http://localhost:6006
2๏ธโฃ MCP ์ค์ (Configuration)
claude_desktop_config.json ๋๋
VS Code์ MCP ์ค์ ํ์ผ(Cline ์ค์ ๋ฑ)์ ์๋ ๋ด์ฉ์ ์ถ๊ฐํฉ๋๋ค.
{
"mcpServers": {
"storybook-mcp": {
"command": "node",
"args": [
"-y",
"@woori-fisa-6th/storybook-mcp"
],
"env": {
"STORYBOOK_URL": "storybook_url_to_access"
}
}
}
}๐งฐ ๋๊ตฌ ๋ช ์ธ (Tool Definitions)
1๏ธโฃ list_storybook_components
์ค๋ช
์ค์ ๋ Storybook URL์ index.json์ ๋ถ์ํ์ฌ
์คํ ๋ฆฌ๊ฐ ์กด์ฌํ๋ ์ ํจ ์ปดํฌ๋ํธ ๋ชฉ๋ก์ ๋ฐํํฉ๋๋ค.
๋์ ๋ฐฉ์
configure.mdx๋ฑ ๋จ์ ๋ฌธ์ ์คํ ๋ฆฌ ์ ์ธ์ค์ Story๊ฐ ์กด์ฌํ๋ ์ปดํฌ๋ํธ๋ง ํํฐ๋ง
๋ฐํ ๋ฐ์ดํฐ
name: ์ปดํฌ๋ํธ ์ด๋ฆurl: ์ ์ ๊ฐ๋ฅํ Docs ๋๋ Story ํ์ด์ง URLhasDocs: Docs ํ์ด์ง ์กด์ฌ ์ฌ๋ถ (true | false)availableStories: ํฌํจ๋ ์คํ ๋ฆฌ ์ด๋ฆ ๋ชฉ๋ก
2๏ธโฃ analyze_storybook_props
์ธ์
url(string) : ๋ถ์ํ ์ปดํฌ๋ํธ์ Docs ํ์ด์ง ์ฃผ์
์ค๋ช
Puppeteer๋ฅผ ์ฌ์ฉํ์ฌ ํ์ด์ง๊ฐ ์์ ํ ๋ ๋๋ง๋ ๋๊น์ง ๋๊ธฐํ ํ,ArgsTable (.docblock-argstable)์ ์ ์๋ ์ค์ Props ์ ๋ณด๋ฅผ ์ถ์ถํฉ๋๋ค.
๋์ ๋ฐฉ์
Docs ํญ ์๋ ์ง์
Props ํ ์ด๋ธ ๋ ๋๋ง ๊ฐ์ง ํ ๋ฐ์ดํฐ ์์ง
๋ฐํ ๋ฐ์ดํฐ
name: Prop ์ด๋ฆdescription: Prop ์ค๋ชdefaultValue: ๊ธฐ๋ณธ๊ฐ
3๏ธโฃ extract_component_stories
์ธ์
url(string) : ์ปดํฌ๋ํธ Docs ํ์ด์ง ์ฃผ์
์ค๋ช
์ปดํฌ๋ํธ์ ์ค์ ๊ตฌํ ์์๋ฅผ ์ป๊ธฐ ์ํด
ํ์ด์ง ๋ด ๋ชจ๋ โShow codeโ ๋ฒํผ์ ์๋์ผ๋ก ํด๋ฆญํ์ฌ
์คํ ๋ฆฌ๋ณ ์์ค ์ฝ๋๋ฅผ ์์งํฉ๋๋ค.
๋์ ๋ฐฉ์
Docs ํญ ์ฐ์ ์๋
Docs๊ฐ ์์ ๊ฒฝ์ฐ Canvas(Story) ํญ์ผ๋ก ์๋ ์ ํ
๊ฐ ์คํ ๋ฆฌ์ ์ฝ๋ ๋ธ๋ก ์ถ์ถ
๋ฐํ ๋ฐ์ดํฐ
stories: ์คํ ๋ฆฌ ๋ฐฐ์ดname: ์คํ ๋ฆฌ ์ด๋ฆcode: ํด๋น ์คํ ๋ฆฌ์ React / JSX ์์ค ์ฝ๋
This server cannot be deployed
Maintenance
Related MCP Connectors
Serves your design system and coding standards to coding agents, so they stop guessing.
Live React design-system APIs, patterns, and code validation so AI agents build real UI, not slop.
Search and reason over your Obsidian-style Markdown vault, right from ChatGPT.
Open-source Obsidian for MDX - edit local docs with agent assistance
Related MCP Servers
- AlicenseAqualityBmaintenanceServer that enables AI assistants to interact with Storybook design systems. Extract component HTML, analyze styles, and help with design system adoption and refactoring.9105 npm69MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to read, search, and analyze local file systems with tools for reading file contents, listing directories, searching by patterns, and analyzing folder structures for context-aware queries.-

Storybook MCPofficial
AlicenseNot gradedqualityFmaintenanceEnables AI agents to interact with Storybook by exposing UI component information and development workflows through the Model Context Protocol.270MIT- AlicenseNot gradedqualityDmaintenanceProvides AI agents with secure, read-only file system access to analyze and understand project codebases, enabling multi-repository context aggregation and cross-project code tracing.5MIT