Workshop setup
Spin up a fully-configured Atelier workspace in one command — framework selection, library install, and MCP MCP Model Context Protocol — a JSON-RPC standard that lets AI assistants call structured tools on external servers, instead of guessing from training data. In this workshop: three Storybook MCP servers expose component props to Claude Code. server wired up automatically.
What you'll learn
- Scaffold an Atelier workspace with one command
- Verify your environment with
preflight - Connect Claude Code to the Storybook MCP servers
- Run the Figma → token → component loop end-to-end
Before you start
- Frontend experience in Angular, React or Vue
- Comfortable with the terminal — Node 22+ available
- Claude Code CLI (we walk you through installing it)
- Figma account — optional, demo flow works without one
Install prerequisites
Troubleshooting
Pick your platform, run the commands below, then verify with npm run preflight
inside the scaffolded workspace. Connecting Figma? See Figma Setup
— it walks through the Desktop Bridge plugin and the optional REST token.
# 1. Node 22+ (use Homebrew or nvm)node --version # need v22.12 or newer
# 2. Claude Code CLInpm install -g @anthropic-ai/claude-codeclaude --version
# 3. Figma access token (or use the demo token)export FIGMA_ACCESS_TOKEN=figd_...# 1. Node 22+ (nvm recommended)node --version # need v22.12 or newer
# 2. Claude Code CLInpm install -g @anthropic-ai/claude-codeclaude --version
# 3. Figma access token (or use the demo token)export FIGMA_ACCESS_TOKEN=figd_...# Run in PowerShell (or use WSL for the macOS/Linux steps)
# 1. Node 22+ (winget or nvm-windows)node --version # need v22.12 or newer
# 2. Claude Code CLInpm install -g @anthropic-ai/claude-codeclaude --version
# 3. Figma access token$env:FIGMA_ACCESS_TOKEN = "figd_..."- 01
Run the workspace generator
Run the following command, then follow the prompts to choose your workspace name and frameworks:
Terminal window npx create-atelier-ui-workspace? Workspace name: › my-workshop? Which framework(s) do you want to use?◉ Angular◉ React◉ VueOr pass the name directly to skip the first prompt:
Terminal window npx create-atelier-ui-workspace my-workshop - 02
Install dependencies & run preflight
Navigate into your workspace, install deps, and verify your environment:
Terminal window cd my-workshopnpm installnpm run preflightpreflightchecks Node, Claude Code CLI, the Figma token, MCP reachability, and port availability. If anything fails, each line prints a one-step fix.preflight — successful run ➜ npm run preflight Atelier UI Preflight Checking your environment for the workshop… Runtime ✓ Node.js — v22.12.0 ✓ npm — v10.9.4 ✓ git — git version 2.43.0 Claude Code ✓ Claude Code CLI — 2.1.121 (Claude Code) Figma ✓ Figma Desktop Bridge plugin — manifest at ~/.figma-console-mcp/plugin/manifest.json ✓ Bridge port range 9223–9232 — all free (MCP will bind on first launch) ✓ FIGMA_ACCESS_TOKEN — set (45 chars, REST reads enabled) MCP reachability ✓ MCP: storybook-angular — https://atelier.pieper.io/storybook-angular/mcp (HTTP 200) ✓ MCP: storybook-react — https://atelier.pieper.io/storybook-react/mcp (HTTP 200) ✓ MCP: storybook-vue — https://atelier.pieper.io/storybook-vue/mcp (HTTP 200) ✓ MCP: nx-mcp — https://atelier.pieper.io/nx-mcp (HTTP 200) Local ports ✓ Port 4200 — free ✓ Port 4201 — free ✓ Port 4202 — free ✓ Port 6006 — free All hard checks passed · 15 ok, 0 warning(s)
preflight — failed run with fix hints ➜ npm run preflight Atelier UI Preflight Checking your environment for the workshop… Runtime ✓ Node.js — v22.12.0 ✓ npm — v10.9.4 ✓ git — git version 2.43.0 Claude Code ✗ Claude Code CLI — not found on PATH → Install: https://docs.claude.com/en/docs/claude-code/setup Figma ✓ Figma Desktop Bridge plugin — manifest at ~/.figma-console-mcp/plugin/manifest.json ✓ Bridge port range 9223–9232 — all free (MCP will bind on first launch) ⚠ FIGMA_ACCESS_TOKEN (optional) — not set — REST reads disabled, plugin tools still work → See https://atelier.pieper.io/figma-token if you need metadata reads MCP reachability ✓ MCP: storybook-angular — https://atelier.pieper.io/storybook-angular/mcp (HTTP 200) ✗ MCP: storybook-react — https://atelier.pieper.io/storybook-react/mcp unreachable (timeout) → Check your network or proxy settings ✓ MCP: storybook-vue — https://atelier.pieper.io/storybook-vue/mcp (HTTP 200) ✓ MCP: nx-mcp — https://atelier.pieper.io/nx-mcp (HTTP 200) Local ports ⚠ Port 4200 — in use → Run `lsof -ti :4200 | xargs kill` (macOS/Linux) ✓ Port 4201 — free ✓ Port 4202 — free ✓ Port 6006 — free 2 check(s) failed · 11 ok, 2 warning(s) Fix the items above, then re-run `npm run preflight`. Full troubleshooting guide: https://atelier.pieper.io/troubleshooting
Toggle the tabs above to compare. Each ✗ line ends with a one-step fix — copy, run, re-run
preflight. - 03
Serve your app
Start the dev server for your chosen framework:
Terminal window npx nx serve workshop-angularTerminal window npx nx serve workshop-reactTerminal window npx nx serve workshop-vue - 04
Open in Claude Code
Open the workspace in VS Code or any editor with Claude Code. The MCP servers connect automatically — your AI assistant can look up component props, variants, and usage examples directly from Storybook without any extra setup.
MCP auto-configuration
The generated
.claude/settings.jsonwires up the Nx MCP and hosted Storybook MCP servers for all selected frameworks automatically.
What gets created
Based on your framework selection the preset scaffolds one app per framework, installs the matching Atelier UI package, and pre-configures Claude Code's MCP servers.
| Framework | App | Package | MCP |
|---|---|---|---|
| Angular | workshop-angular | @atelier-ui/angular | storybook-angular |
| React | workshop-react | @atelier-ui/react | storybook-react |
| Vue | workshop-vue | @atelier-ui/vue | storybook-vue |
- App
workshop-angular- Package
@atelier-ui/angular- MCP
storybook-angular
- App
workshop-react- Package
@atelier-ui/react- MCP
storybook-react
- App
workshop-vue- Package
@atelier-ui/vue- MCP
storybook-vue
MCP configuration
The generated .claude/settings.json wires up the Nx MCP, the hosted
Storybook MCP servers for each selected framework, and figma-console
— needed for the Figma-to-Code Tutorial:
{ "mcpServers": { "nx-mcp": { "type": "stdio", "command": "npx", "args": ["nx", "mcp"] }, "storybook-angular": { "type": "http", "url": "https://atelier.pieper.io/storybook-angular/mcp" }, "storybook-react": { "type": "http", "url": "https://atelier.pieper.io/storybook-react/mcp" }, "storybook-vue": { "type": "http", "url": "https://atelier.pieper.io/storybook-vue/mcp" }, "figma-console": { "command": "npx", "args": ["-y", "figma-console-mcp@latest"], "env": { "FIGMA_ACCESS_TOKEN": "${FIGMA_ACCESS_TOKEN}", "ENABLE_MCP_APPS": "true" } } }} figma-console requires the Desktop Bridge plugin and a personal access
token — see Figma Setup.
If you only want the Storybook MCP workflow, you can remove the figma-console entry.