Skip to content

Latest commit

 

History

History
362 lines (193 loc) · 22.4 KB

File metadata and controls

362 lines (193 loc) · 22.4 KB

@storybook/addon-mcp

0.6.0

Minor Changes

Patch Changes

0.5.0

Minor Changes

Patch Changes

0.4.2

Patch Changes

0.4.1

Patch Changes

  • #172 a610073 Thanks @JReinhold! - Simplify package READMEs for docs-site-first documentation

  • Updated dependencies [a610073]:

    • @storybook/mcp@0.6.1

0.4.0

Minor Changes

  • #185 c5439b7 Thanks @copilot-swe-agent! - Add MCP server-level instructions to both packages

    Both @storybook/mcp and @storybook/addon-mcp now include server instructions in the MCP initialize response. These instructions guide agents on how to use the available tools effectively without requiring explicit prompting from users.

Patch Changes

0.3.4

Patch Changes

  • #179 ec300bd Thanks @copilot-swe-agent! - Improve /mcp HTML response

  • #181 ff217d8 Thanks @copilot-swe-agent! - Rename feature flag experimentalComponentsManifestcomponentsManifest

    The Storybook feature flag has been renamed from experimentalComponentsManifest to componentsManifest and now defaults to true in Storybook core.

  • Updated dependencies [ff217d8]:

    • @storybook/mcp@0.5.1

0.3.3

Patch Changes

  • #171 b3a8356 Thanks @copilot-swe-agent! - Fix: expose the get-documentation-for-story tool in the MCP Addon.

  • #176 8afbb72 Thanks @JReinhold! - Improve preview-stories tool description to make agent behavior more consistent.

  • #175 6a098f9 Thanks @JReinhold! - Add story ID based inputs for preview/testing workflows and surface story IDs in docs outputs.

    This change keeps existing path-based story inputs (absoluteStoryPath + exportName) while adding a storyId input shape for preview-stories and run-story-tests. It also adds withStoryIds to list-all-documentation and includes story IDs in get-documentation story sections, so agents can discover and reuse IDs directly without extra filesystem lookup steps.

  • Updated dependencies [b3a8356, 6a098f9]:

    • @storybook/mcp@0.5.0

0.3.2

Patch Changes

  • #131 9cf991c Thanks @JReinhold! - Added run-story-tests tool that is available when:

    1. @storybook/addon-vitest is configured
    2. Running Storybook 10.3.0-alpha.8 or above

    Additionally, if @storybook/addon-a11y is configured, the tool returns accessibility violations too.

  • Updated dependencies [9cf991c]:

    • @storybook/mcp@0.4.1

0.3.1

Patch Changes

  • Updated dependencies [c0793d4]:
    • @storybook/mcp@0.4.0

0.3.0

Minor Changes

  • #165 e088e05 Thanks @JReinhold! - Remove support for XML format.

    Breaking Change

    The related option to configure XML vs markdown format now has no impact, the output is always formatted as markdown.

  • #140 f9fce2a Thanks @kasperpeulen! - Add multi-source composition with OAuth for private Storybooks

Patch Changes

  • #163 68cb213 Thanks @domazet93! - Fix preview-stories failing to find stories in monorepo packages directories.

  • Updated dependencies [e088e05, f9fce2a]:

    • @storybook/mcp@0.3.0

0.2.3

Patch Changes

  • #141 03e957d Thanks @shilman! - Upgrade deprecated MCP server methods

  • #160 bab8ec9 Thanks @JReinhold! - Render component-attached MDX docs entries in markdown output for get-documentation.

    This fixes a regression where docs attached to components via component.docs in components.json were not included in markdown responses. The markdown formatter now emits a ## Docs section below stories (and before props).

  • Updated dependencies [b7aeb40, bab8ec9]:

    • @storybook/mcp@0.2.2

0.2.2

Patch Changes

0.2.1

Patch Changes

  • #134 457b349 Thanks @JReinhold! - Add support for MCP App, rendering stories directly in the agent chat in MCP clients that support it

0.2.0

Minor Changes

  • #118 bafbfc6 Thanks @valentinpalkovic! - Renamed tool get-ui-building-instructions to get-storybook-story-instructions to increase the likelihood of Agents calling the MCP tool.

    Further updates:

    • Updated storybook-story building instructions template to be more specific about what a good story is.
    • Added an extensive description for the get-storybook-story-instructions tool to give agents more information of when to call the MCP tool

Patch Changes

  • #128 20d97e2 Thanks @JReinhold! - Fix disabled docs toolset in Storybook version prior to v10.2.0-alpha.10

0.1.8

Patch Changes

0.1.7

Patch Changes

  • #120 c1fc816 Thanks @JReinhold! - Add support for docs entries in manifests, sourced by MDX files.

  • Updated dependencies [c1fc816]:

    • @storybook/mcp@0.2.0

0.1.6

Patch Changes

  • #105 e27f6b2 Thanks @copilot-swe-agent! - Update Valibot to v1.2.0 to fix security vulnerabilities

    Valibot 1.1.0 contained 3 security vulnerabilities that are addressed in v1.2.0. This is a non-breaking security patch - no changes required for consumers.

  • Updated dependencies [e27f6b2]:

    • @storybook/mcp@0.1.1

0.1.5

Patch Changes

0.1.4

Patch Changes

0.1.4-next.2

Patch Changes

  • Updated dependencies [77536a7, cddbf34]:
    • @storybook/mcp@0.0.7-next.0

0.1.4-next.1

Patch Changes

0.1.4-next.0

Patch Changes

0.1.3

Patch Changes

  • #50 0334d29 Thanks @JReinhold! - Add GET handler that serves HTML when visiting /mcp, and redirects to human-readable component manifest when applicable

  • #50 0334d29 Thanks @JReinhold! - Update manifest format

0.1.2

Patch Changes

0.1.1

Patch Changes

0.1.0

Minor Changes

  • #36 93f88e4 Thanks @JReinhold! - Add support for Webpack (including Webpack-based frameworks like Next.js)

Breaking Change

This requires version 10.1 of Storybook, currently only available as the canary version 0.0.0-pr-32810-sha-6e759c7e. If you want to continue to use the addon with Storybook 9 or 10.0 (and Vite), stick to version 0.0.9 of this package.

EDIT: The above is not true anymore, see version 0.1.1 of this package.

Patch Changes

0.0.9

Patch Changes

0.0.8

Patch Changes

  • #33 ae6ab44 Thanks @JReinhold! - Add tools to get documentation for components, based on the component manifest being generated in the Storybook dev server.

    Requirements:

    1. That the experimental feature flag features.experimentalComponentsManifest is set to true in the main config.
    2. Only React-based frameworks supports component manifest generation for now.
    3. Requires Storybook v10.1 (prereleases), which at the time of writing is available as a canary version 0.0.0-pr-32810-sha-af0645cd.
  • Updated dependencies [531a2d4, ae6ab44]:

    • @storybook/mcp@0.0.3

0.0.7

Patch Changes

0.0.6

Patch Changes

0.0.5

Patch Changes

0.0.4

Patch Changes

0.0.3

Patch Changes

  • #11 bba9b8c Thanks @JReinhold! - - Improved UI Building Instructions

    • Improved output format of Get Story URLs tool
  • #9 e5e2adf Thanks @JReinhold! - Add basic telemetry for sessions and tool calls

0.0.2

Patch Changes

0.0.1

Patch Changes