1. Conduid
  2. Data
  3. storybookjs/addon-mcp
MCP server · Data

storybookjs/addon-mcp

🤖

Unclaimed MIT data
64Good

Scored 21 hours ago · breakdown

About storybookjs/addon-mcp

storybookjs/addon-mcp is an MCP server published by storybookjs in the Data category: 🤖. Conduid read 16 tools from its source: js, js_add_node_module_dir, js_reset, preview_click, preview_console_logs, preview_eval and 10 more. No package is published for it, so it installs from a source checkout.

The repository has 272 stars and 41 forks, is licensed MIT, and its last commit was on 7 Sep 2026. The latest release is @storybook/addon-mcp@0.7.0 (10 Jul 2026): Minor Changes 357 4a19151 Thanks @kasperpeulen. It follows @storybook/mcp@0.8.0 (8 Jul 2026), and the 5 most recent releases go back to @storybook/mcp@0.6.2 (2 Apr 2026). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Its topics include data.

Install

From source
git clone https://github.com/storybookjs/mcp

Tools (16)

jsRun JavaScript in a persistent Node-backed kernel with top-level await. This is the JavaScript execution tool for the `node_repl` MCP server; use it whenever instructions say to use `node_repl`, the Node REPL MCP, or run Node REPL code. If `timeout_ms` is omitted, execution defaults to 30000 ms (30 seconds). Bindings persist across calls until `js_reset`.
ParameterTypeDescription
code *stringJavaScript source to execute in the persistent Node-backed kernel. The code runs with top-level await and can use the `nodeRepl` helpers. Examples: `nodeRepl.write(nodeRepl.cwd)`, `const { chromium } = await import("playwright")`, or `await nodeRepl.emitImage(pngBuffer)`.
timeout_msintegerOptional execution timeout in milliseconds. Defaults to 30000 (30 seconds) when omitted.
titlestringShort user-facing description of what this code block is doing. Use a few words, for example `Inspect package layout`.
js_add_node_module_dirAdd an absolute `node_modules` directory to the REPL-wide Node module search roots for future package imports. The directory stays available for this MCP server lifetime, including after `js_reset`. Returns `true` when the search root is newly added.
ParameterTypeDescription
path *stringAbsolute path to a node_modules directory to add to Node package resolution.
js_resetReset the persistent JavaScript kernel and clear all bindings created by prior `js` calls. Use this when you need a clean state, or when reusing existing bindings, top-level `var` declarations, or fresh names cannot recover from conflicting declarations.
preview_clickClick an element by CSS selector (e.g., 'button.primary', '#submit', '[data-testid="btn"]').
ParameterTypeDescription
doubleClickbooleanPerform a double-click
selector *stringCSS selector for the element to click
serverId *stringServer ID
preview_console_logsGet browser console output (log, info, warn, error, debug). Use to check runtime behavior, debug values, or client-side errors. Use 'level' to filter to errors or warnings only.
ParameterTypeDescription
levelstringFilter by level: 'all' (default), 'error' (errors only), 'warn' (warnings + errors)
linesnumberMax lines to return (default: 50, max: 200)
serverId *stringServer ID
preview_evalExecute JavaScript in the preview page for DEBUGGING and INSPECTION only. Use for reading page state, DOM queries, checking variables, navigation, page reload, hover/type/key events. Do NOT use this to implement UI changes the user requests — edit the source code instead. Any DOM modifications via eval are temporary and lost on reload. Wrap multi-step logic in an IIFE.
ParameterTypeDescription
expression *stringJavaScript expression to evaluate in the page context. Return values are serialized as JSON.
serverId *stringServer ID
preview_fillFill an input, textarea, or select element with a value. For select elements, matches by value or text.
ParameterTypeDescription
selector *stringCSS selector for the input element
serverId *stringServer ID
value *stringValue to fill
preview_inspectInspect a DOM element by CSS selector. Returns text content, className, tagName, id, computed styles, and bounding box. BEST tool for verifying visual properties like colors, fonts, spacing, and dimensions — more accurate than screenshots.
ParameterTypeDescription
selector *stringCSS selector (e.g., '.button', '#header')
serverId *stringServer ID
stylesarrayCSS properties to return (e.g., ['padding', 'color']). Defaults to common properties.
preview_listList servers started with preview_start. Returns serverIds for use with other preview_* tools.
preview_logsGet server stdout/stderr output. Use to check for build errors, verify server behavior, or read debug output. Use 'level' to filter to errors only, or 'search' to filter for specific text. Use after preview_start.
ParameterTypeDescription
levelstringFilter by level: 'all' (default) shows all output, 'error' shows only lines containing error/exception/failed/fatal
linesnumberMax lines to return (default: 50)
searchstringFilter to lines containing this text (e.g., '[DEBUG]', 'POST /api')
serverId *stringServer ID
preview_networkList network requests or inspect a specific response body. Without requestId, lists all requests with URL, method, status, and requestId. With requestId, returns the full response body for that request (useful for inspecting API payloads).
ParameterTypeDescription
filterstringFilter: 'all' (default) shows all requests, 'failed' shows only 4xx/5xx and network errors. Ignored when requestId is provided.
requestIdstringIf provided, returns the response body for this specific request instead of listing all requests. Get requestIds from the listing output.
serverId *stringServer ID
preview_resizeResize the preview viewport to test responsive layouts. Presets: mobile (375x812), tablet (768x1024), desktop (1280x800). Also supports custom dimensions and color scheme emulation for dark mode testing.
ParameterTypeDescription
colorSchemestringEmulate prefers-color-scheme media feature for dark/light mode testing.
heightnumberViewport height in pixels
presetstringDevice preset. Overrides width/height if provided.
serverId *stringServer ID
widthnumberViewport width in pixels
preview_screenshotTake a screenshot of the page. Good for checking layout and general appearance, but DO NOT rely on it for verifying colors, font sizes, or precise styles — use preview_inspect with specific CSS properties instead. Returns a compressed JPEG image.
ParameterTypeDescription
serverId *stringServer ID
preview_snapshotGet an accessibility tree snapshot of the page. Returns exact text content, roles, and element UIDs for use with click/fill/hover. PREFERRED over screenshot for verifying text, element presence, and page structure.
ParameterTypeDescription
serverId *stringServer ID
preview_startStart a dev server by name from .claude/launch.json. If .claude/launch.json doesn't exist, create it first with this format:
ParameterTypeDescription
name *stringServer name from .claude/launch.json.
preview_stopStop a server started with preview_start.
ParameterTypeDescription
serverId *stringServer ID to stop

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and 5 more.
  • !No dynamic code executionScanned 397 source files and found 2 calls to eval or shell execution, in eval/tasks/903-create-component-async-fetch-reshaped/hooks.ts:29 and packages/addon-mcp/src/utils/detect-unreachable-changes.ts:54. Review how tool inputs reach them before granting credentials.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPpackages/mcp/bin.ts:17, apps/self-host-mcp/netlify/functions/mcp.ts:14
Starts other programs
9 callsagent-eval/lib/mcp/preview-browser-mock.mjs:435, agent-eval/lib/mcp/preview-browser-mock.mjs:481, agent-eval/lib/mcp/preview-browser-mock.mjs:484
Outbound network calls
21 callsapps/self-host-mcp/server.ts:43, apps/self-host-mcp/server.ts:78, packages/mcp/bin.ts:89
Writes or deletes files
57 callseval/lib/agents/claude-code-cli.ts:252, eval/lib/agents/claude-code-cli.ts:382, eval/lib/agents/codex-cli.ts:361
Lockfile
pnpm-lock.yaml and 5 more

Pattern matches on the source text of 397 files: places to read, not proof of what the code does at run time.

Releases

@storybook/addon-mcp@0.7.0@storybook/addon-mcp@0.7.0 · 10 Jul 2026Minor Changes 357 `4a19151` Thanks @kasperpeulen! - Added the `display-review` tool. The agent pushes a curated review of current changes and returns the review-page URL. Pairs with the `@storybook/addon-review` Storybook addon. 357…
@storybook/mcp@0.8.0@storybook/mcp@0.8.0 · 8 Jul 2026Minor Changes 298 `ae6e9bb` Thanks @kasperpeulen! - Expose serverless Storybook AI metadata from addon-mcp presets. The new preset returns MCP-shaped instructions and tool descriptors, plus a local `get-storybook-story-instructions` runner…
@storybook/mcp@0.7.0@storybook/mcp@0.7.0 · 14 Apr 2026Minor Changes 209 `f59e38c` Thanks @kasperpeulen! - Add support for subcomponent docs
@storybook/addon-mcp@0.6.0@storybook/addon-mcp@0.6.0 · 14 Apr 2026Minor Changes 209 `f59e38c` Thanks @kasperpeulen! - Add support for subcomponent docs Patch Changes 212 `27a53b3` Thanks @yannbf! - Add support for Storybook canaries Updated dependencies \[`f59e38c`]: @storybook/mcp@0.7.0
@storybook/mcp@0.6.2@storybook/mcp@0.6.2 · 2 Apr 2026Patch Changes 206 `70b5b23` Thanks @kasperpeulen! - Support Storybook component manifests that use `reactComponentMeta` for React prop extraction. This keeps MCP documentation output working when Storybook is configured to emit the newer…

README

The repository's README runs to about 1.3K words, fetched yesterday. The original in the repository is authoritative.

Read full README
Questions

About storybookjs/addon-mcp

How do I install storybookjs/addon-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is storybookjs/addon-mcp safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass No dynamic code execution and Scoped permissions. Conduid's scan of 397 source files found that it serves MCP over stdio and Streamable HTTP, starts other programs (9 calls), makes outbound network calls (21 calls) and writes or deletes files (57 calls). Its dependencies are pinned by pnpm-lock.yaml and 5 more. It has no ConduID identity yet, so agent calls to it are not receipted.

Is storybookjs/addon-mcp still maintained?

Yes — the latest release is @storybook/addon-mcp@0.7.0 (10 Jul 2026), and the last commit was 2 months ago. The repository has 272 stars and 16 open issues.

What tools does storybookjs/addon-mcp provide?

Conduid read 16 tools from the source: js, js_add_node_module_dir, js_reset, preview_click, preview_console_logs, preview_eval, preview_fill, preview_inspect and 8 more. 14 of them publish their parameters, listed under Tools above.

What license is storybookjs/addon-mcp released under?

The repository declares the MIT license. That applies to the latest release, @storybook/addon-mcp@0.7.0, as well.