Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/soft-schools-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@storybook/addon-mcp': patch
---

Support Storybook 9.1.16 and up
6 changes: 4 additions & 2 deletions packages/addon-mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@

- [#36](https://github.com/storybookjs/mcp/pull/36) [`93f88e4`](https://github.com/storybookjs/mcp/commit/93f88e4a28c3dae1b4c02c29839eb5e8b9375146) Thanks [@JReinhold](https://github.com/JReinhold)! - Add support for Webpack (including Webpack-based frameworks like Next.js)

# Breaking Change
# 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](https://github.com/storybookjs/mcp/tree/%40storybook/addon-mcp%400.0.9).
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](https://github.com/storybookjs/mcp/tree/%40storybook/addon-mcp%400.0.9).

EDIT: The above is not true anymore, see version [0.1.1](#011) of this package.

### Patch Changes

Expand Down
3 changes: 2 additions & 1 deletion packages/addon-mcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The addon provides tools to improve agents' UI development capabilities, retriev
### Installation and Setup

> [!NOTE]
> This addon requires Storybook 10.1 or higher, currently only available as the canary version `0.0.0-pr-32810-sha-6e759c7e`.
> This addon requires Storybook version 9.1.16 or higher.

Use Storybook's CLI to automatically install and configure the addon:

Expand Down Expand Up @@ -125,6 +125,7 @@ These additional tools are available when the **experimental** component manifes

**Requirements:**

- Storybook version 10.1.0 or higher (currently only available as prereleases, `storybook@next`)
- React-based framework (`react-vite`, `nextjs-vite`, `nextjs`, `react-webpack5`)
- Feature flag `features.experimentalComponentsManifest` set to `true` in `.storybook/main.js`

Expand Down
2 changes: 1 addition & 1 deletion packages/addon-mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"vitest": "catalog:"
},
"peerDependencies": {
"storybook": "catalog:"
"storybook": "^9.1.16 || ^10.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
Loading