Clavue · MCP
Clavue
Developer ToolsMCP Server

Storybook and Clavue

UI component workshop. Connect Storybook across the entire Clavue family: invoke tools locally in CLI / TUI, imux IDE, and Clavue GUI, and orchestrate specs, routines, and OpenAI-compatible workflows in Chat, Bot, and Models API.

#ui#components
One-line install (Clavue CLI / TUI)CLI / TUI
clavue plugin install storybook@plugins --trust

Discover ID

storybook@plugins

Marketplace

plugins

CLAVUE FAMILY MATRIX

How to use across all 6 Clavue product lines

One shared Discover catalog and membership account spanning terminal CLI, imux IDE, Clavue GUI, Chat, Bot routines, and the OpenAI-compatible API.

Clavue · CLIPrimary install & runtime

Clavue CLI / TUI

Install Storybook once via iclavue in your terminal and invoke it directly in interactive TUI sessions or scripts.

  1. 01Run `npm i -g iclavue && clavue login` to sign in.
  2. 02Run `clavue plugin install storybook@plugins --trust` to install and trust the integration.
  3. 03Launch `clavue` in your project directory or run `clavue plugin list` to confirm.
CLI install & verify
clavue plugin install storybook@plugins --trust
clavue plugin list
imux · IDEmacOS AI command center

imux IDE

imux shares your local Clavue plugin config—combining Storybook context with workspace files, Git diffs, split terminals, and the built-in browser.

  1. 01Confirm your Clavue plugin/MCP setup in an imux terminal pane or Settings → Agent / MCP.
  2. 02Invoke Storybook inside imux Agent Chat to pull context alongside local repo edits.
  3. 03Review generated diffs in the imux Changes panel and verify before keeping.
imux Agent Chat prompt
Use Storybook to gather live context, cross-check against our workspace files and git diff, and propose scoped edits before applying.
Clavue · GUIDesktop workbench (Mac / Win)

Clavue GUI

Clavue GUI reads the same Discover catalog—enable Storybook per project visually, inspect tool-call timelines, and manage approvals without editing raw JSON.

  1. 01Open Clavue GUI → Discover and search for `storybook@plugins`.
  2. 02Enable it for the target project and bind any scoped environment credentials.
  3. 03Run tasks in the GUI timeline with visual approval cards for sensitive actions.
GUI Discover search key
storybook@plugins
Clavue · ChatBrowser planning & specs

Clavue Chat

Use the same membership on chat.clavue.com to browse Discover, draft specs and prompts tailored for Storybook, and hand off execution to CLI / imux / GUI.

  1. 01Locate Storybook in Chat's Discover drawer and copy its install command.
  2. 02Draft architecture specs, query plans, and acceptance criteria with `clavue` in the browser.
  3. 03Hand off the verified plan to Clavue CLI or imux for local execution.
Chat planning prompt
Help me design a least-privilege integration plan for Storybook with clear input/output contracts and 3 verification gates.
Clavue · BotAutonomous staff & routines

Clavue Bot

Bind Storybook into Clavue Bot recurring routines or cloud-computer tasks for automated digests, triage, and checks with explicit approval gates.

  1. 01Attach a workspace runtime or cloud computer that has the required scoped credentials.
  2. 02Create a scheduled or triggered Routine using Storybook for read-only collection and summarization.
  3. 03Gate external writes or mutations behind explicit approval rules.
Bot routine instruction
Every weekday at 09:00, use Storybook (read-only) to collect the last 24h events, flag anomalies, and post a 5-bullet digest.
Clavue · ModelsOpenAI-compatible API & CI

Clavue Models & API

Pair Storybook tool schemas with Clavue Models & API (api.clavue.com/v1) function calling in CI pipelines, scripts, and custom backends.

  1. 01Create an API key in Account and point your SDK base URL to `https://api.clavue.com/v1`.
  2. 02Call `clavue` (or `clavue-5.5` / `clavue-2.1`) with the tool schemas exposed by Storybook.
  3. 03Execute tool calls in your runner and return `tool` role outputs to close the loop.
API tool-calling example
curl https://api.clavue.com/v1/chat/completions \
  -H "Authorization: Bearer $CLAVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"clavue","messages":[{"role":"user","content":"Plan next task with storybook"}]}'

END-TO-END WORKFLOW

Recommended cross-family workflow

STEP 01Clavue Chat

Scope goals & permissions first

Use Chat to define least-privilege permissions, input/output contracts, and acceptance checks for Storybook.

STEP 02CLI / TUI

Install once & run a read-only smoke check

Install with `clavue plugin install` and verify tool discovery and latency with a read-only call.

STEP 03imux IDE / GUI

Deliver inside workspace context

Pair Storybook with local code, terminal tests, and diff review inside imux IDE or Clavue GUI.

STEP 04Bot & API

Promote to Bot routines or CI

Turn proven workflows into scheduled Clavue Bot digests or `api.clavue.com/v1` automation.

PLAYBOOK & PROMPTS

High-leverage scenarios & copyable prompts

Clavue CLI / imux

Read-only discovery & context sync

Fetch live external context via Storybook and cross-reference it with local repository files.

Prompt template
Use Storybook (read-only first) to gather the latest context for this task, summarize key findings, and propose next steps in our workspace.
Clavue GUI / Chat

Human-in-the-loop execution

Draft structured changes in Chat, then review and approve actions in GUI or imux.

Prompt template
Prepare a structured action plan using Storybook, listing every external write or state change for approval before executing.
Clavue Bot / Models API

Automated routine or API pipeline

Turn repeatable Storybook checks into scheduled Bot digests or API tool calls.

Prompt template
Run a read-only Storybook check and emit a concise Markdown/JSON summary suitable for Clavue Bot or CI pipelines.

PRODUCTION GUARDRAILS

Security & reliability best practices

✓Start read-only, gate every mutation

Validate Storybook with read-only credentials first and require human confirmation before any external write, delete, or publish step.

✓Scope credentials per project

Bind tokens and connection strings to the narrowest project or workspace scope possible and keep secrets in environment variables, never in prompts.

✓Split planning and execution across the family

Draft specs and acceptance criteria in Clavue Chat, then execute against real files, tests, and Git diffs inside imux IDE, Clavue GUI, or CLI / TUI.

✓Bound tool payload size

Pass explicit filters (date windows, path prefixes, page limits) so tool responses stay crisp and leave plenty of room in the context window.

VERIFICATION & FAQ

Troubleshooting & quick checks

Tools do not appear in imux or CLI after running `clavue plugin install storybook@plugins --trust`?

Verify `clavue login` is active and run `clavue plugin list` to confirm installation. In imux IDE, start a fresh Agent Chat turn or refresh Settings → Agent / MCP.

Why does the web catalog not install directly into my machine?

For security isolation, the web catalog only browses metadata and builds install commands. Actual installation, credential binding, and process execution happen inside Clavue CLI, GUI, or imux.

How do I debug intermittent auth errors or timeouts?

Confirm the required environment variables are exported in your shell, test a narrow read-only query in CLI first, and verify token scope.

ECOSYSTEM

Related integrations