diff --git a/.changeset/clean-bats-say.md b/.changeset/clean-bats-say.md deleted file mode 100644 index d7d6ae3b..00000000 --- a/.changeset/clean-bats-say.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/addon-mcp': patch ---- - -Add toolset to telemetry payload diff --git a/.changeset/dull-impalas-vanish.md b/.changeset/dull-impalas-vanish.md deleted file mode 100644 index 8fcf3c3e..00000000 --- a/.changeset/dull-impalas-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/addon-mcp': patch ---- - -improve html bundling diff --git a/.changeset/four-owls-taste.md b/.changeset/four-owls-taste.md deleted file mode 100644 index 3cb1e3ea..00000000 --- a/.changeset/four-owls-taste.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@storybook/addon-mcp': patch -'@storybook/mcp': patch ---- - -Docs toolset: output markdown instead of XML, configurable via experimentalOutput: 'markdown' | 'xml' addon option diff --git a/.changeset/heavy-towns-beam.md b/.changeset/heavy-towns-beam.md deleted file mode 100644 index e33cb042..00000000 --- a/.changeset/heavy-towns-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/mcp': patch ---- - -Allow undefined request in server context when using custom manifestProvider diff --git a/.changeset/hip-sloths-jog.md b/.changeset/hip-sloths-jog.md deleted file mode 100644 index 532de13e..00000000 --- a/.changeset/hip-sloths-jog.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@storybook/mcp': minor ---- - -Replace the `source` property in the context with `request`. - -Now you don't pass in a source string that might be fetched or handled by your custom `manifestProvider`, but instead you pass in the whole web request. (This is automatically handled if you use the createStorybookMcpHandler() function). - -The default action is now to fetch the manifest from `../manifests/components.json` assuming the server is running at `./mcp`. Your custom `manifestProvider()`-function then also does not get a source string as an argument, but gets the whole web request, that you can use to get information about where to fetch the manifest from. It also gets a second argument, `path`, which it should use to determine which specific manifest to get from a built Storybook. (Currently always `./manifests/components.json`, but in the future it might be other paths too). diff --git a/.changeset/petite-toes-dig.md b/.changeset/petite-toes-dig.md deleted file mode 100644 index df45bc8f..00000000 --- a/.changeset/petite-toes-dig.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/mcp': patch ---- - -get-component-documentation now only handles one component at a time diff --git a/.changeset/plain-hands-tap.md b/.changeset/plain-hands-tap.md deleted file mode 100644 index 626b9f1b..00000000 --- a/.changeset/plain-hands-tap.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/addon-mcp': patch ---- - -improve handling of disableTelemetry option diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index 752243ab..00000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "mode": "exit", - "tag": "next", - "initialVersions": { - "@storybook/mcp-internal-storybook": "0.0.0", - "@storybook/addon-mcp": "0.1.3", - "@storybook/mcp": "0.0.6" - }, - "changesets": [ - "dull-impalas-vanish", - "ready-ends-attend", - "spotty-buses-sip", - "strict-boxes-sort" - ] -} diff --git a/.changeset/ready-ends-attend.md b/.changeset/ready-ends-attend.md deleted file mode 100644 index 667bff02..00000000 --- a/.changeset/ready-ends-attend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/mcp': patch ---- - -rename examples to stories in manifest diff --git a/.changeset/sour-colts-retire.md b/.changeset/sour-colts-retire.md deleted file mode 100644 index 1a2886f0..00000000 --- a/.changeset/sour-colts-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/addon-mcp': patch ---- - -Handle GET responses in the MCP server diff --git a/.changeset/spotty-buses-sip.md b/.changeset/spotty-buses-sip.md deleted file mode 100644 index ca240a35..00000000 --- a/.changeset/spotty-buses-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/mcp': patch ---- - -Support error.name in manifests diff --git a/.changeset/strict-boxes-sort.md b/.changeset/strict-boxes-sort.md deleted file mode 100644 index 7ae0f778..00000000 --- a/.changeset/strict-boxes-sort.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@storybook/addon-mcp': patch ---- - -Allow Storybook 10.1.0 prerelases as peer dependencies diff --git a/packages/addon-mcp/CHANGELOG.md b/packages/addon-mcp/CHANGELOG.md index 1391f288..22de3ef4 100644 --- a/packages/addon-mcp/CHANGELOG.md +++ b/packages/addon-mcp/CHANGELOG.md @@ -1,5 +1,24 @@ # @storybook/addon-mcp +## 0.1.4 + +### Patch Changes + +- [#78](https://github.com/storybookjs/mcp/pull/78) [`f40da8f`](https://github.com/storybookjs/mcp/commit/f40da8fde7302619f5c5c08bd5958f23ad0e32a2) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add toolset to telemetry payload + +- [#56](https://github.com/storybookjs/mcp/pull/56) [`edcbf4e`](https://github.com/storybookjs/mcp/commit/edcbf4e7a5d85db1f7aeb1d54b90d0d1801774c1) Thanks [@JReinhold](https://github.com/JReinhold)! - improve html bundling + +- [#86](https://github.com/storybookjs/mcp/pull/86) [`94c01d2`](https://github.com/storybookjs/mcp/commit/94c01d2c162b5f6a20268957a17eedf7beeb7156) Thanks [@JReinhold](https://github.com/JReinhold)! - Docs toolset: output markdown instead of XML, configurable via experimentalOutput: 'markdown' | 'xml' addon option + +- [#84](https://github.com/storybookjs/mcp/pull/84) [`47ab165`](https://github.com/storybookjs/mcp/commit/47ab1659b65aa2879267e664bd0b569b2fdb4fa2) Thanks [@JReinhold](https://github.com/JReinhold)! - improve handling of disableTelemetry option + +- [#70](https://github.com/storybookjs/mcp/pull/70) [`cf4ef86`](https://github.com/storybookjs/mcp/commit/cf4ef8697c84102bd274809ec749beb41ebdb98a) Thanks [@kasperpeulen](https://github.com/kasperpeulen)! - Handle GET responses in the MCP server + +- [#59](https://github.com/storybookjs/mcp/pull/59) [`ed0fe09`](https://github.com/storybookjs/mcp/commit/ed0fe09eb2f33b723f50e18fe6e3f6e1ba3d3f80) Thanks [@JReinhold](https://github.com/JReinhold)! - Allow Storybook 10.1.0 prerelases as peer dependencies + +- Updated dependencies [[`94c01d2`](https://github.com/storybookjs/mcp/commit/94c01d2c162b5f6a20268957a17eedf7beeb7156), [`9f75d0f`](https://github.com/storybookjs/mcp/commit/9f75d0f0d9c2e24e6ec4078526a6876ebc31f6bb), [`5d18405`](https://github.com/storybookjs/mcp/commit/5d1840506f2ee4f1ae1f757ff133108a046cfc5d), [`a9321a3`](https://github.com/storybookjs/mcp/commit/a9321a33e6ec907eacd876d7ede368fc672d95c6), [`77536a7`](https://github.com/storybookjs/mcp/commit/77536a71812fe111f6b60c84bd2c26cb0eb00bc5), [`cddbf34`](https://github.com/storybookjs/mcp/commit/cddbf34a0c99296856ecfed2c24cf689fcb2fd2a)]: + - @storybook/mcp@0.1.0 + ## 0.1.4-next.2 ### Patch Changes diff --git a/packages/addon-mcp/package.json b/packages/addon-mcp/package.json index 898b584a..20d455fe 100644 --- a/packages/addon-mcp/package.json +++ b/packages/addon-mcp/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/addon-mcp", - "version": "0.1.4-next.2", + "version": "0.1.4", "description": "Help agents automatically write and test stories for your UI components", "keywords": [ "storybook-addon", diff --git a/packages/mcp/CHANGELOG.md b/packages/mcp/CHANGELOG.md index 6c989ff7..233d1fa7 100644 --- a/packages/mcp/CHANGELOG.md +++ b/packages/mcp/CHANGELOG.md @@ -1,5 +1,27 @@ # @storybook/mcp +## 0.1.0 + +### Minor Changes + +- [#54](https://github.com/storybookjs/mcp/pull/54) [`5d18405`](https://github.com/storybookjs/mcp/commit/5d1840506f2ee4f1ae1f757ff133108a046cfc5d) Thanks [@JReinhold](https://github.com/JReinhold)! - Replace the `source` property in the context with `request`. + + Now you don't pass in a source string that might be fetched or handled by your custom `manifestProvider`, but instead you pass in the whole web request. (This is automatically handled if you use the createStorybookMcpHandler() function). + + The default action is now to fetch the manifest from `../manifests/components.json` assuming the server is running at `./mcp`. Your custom `manifestProvider()`-function then also does not get a source string as an argument, but gets the whole web request, that you can use to get information about where to fetch the manifest from. It also gets a second argument, `path`, which it should use to determine which specific manifest to get from a built Storybook. (Currently always `./manifests/components.json`, but in the future it might be other paths too). + +### Patch Changes + +- [#86](https://github.com/storybookjs/mcp/pull/86) [`94c01d2`](https://github.com/storybookjs/mcp/commit/94c01d2c162b5f6a20268957a17eedf7beeb7156) Thanks [@JReinhold](https://github.com/JReinhold)! - Docs toolset: output markdown instead of XML, configurable via experimentalOutput: 'markdown' | 'xml' addon option + +- [#85](https://github.com/storybookjs/mcp/pull/85) [`9f75d0f`](https://github.com/storybookjs/mcp/commit/9f75d0f0d9c2e24e6ec4078526a6876ebc31f6bb) Thanks [@JReinhold](https://github.com/JReinhold)! - Allow undefined request in server context when using custom manifestProvider + +- [#79](https://github.com/storybookjs/mcp/pull/79) [`a9321a3`](https://github.com/storybookjs/mcp/commit/a9321a33e6ec907eacd876d7ede368fc672d95c6) Thanks [@JReinhold](https://github.com/JReinhold)! - get-component-documentation now only handles one component at a time + +- [#61](https://github.com/storybookjs/mcp/pull/61) [`77536a7`](https://github.com/storybookjs/mcp/commit/77536a71812fe111f6b60c84bd2c26cb0eb00bc5) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - rename examples to stories in manifest + +- [#55](https://github.com/storybookjs/mcp/pull/55) [`cddbf34`](https://github.com/storybookjs/mcp/commit/cddbf34a0c99296856ecfed2c24cf689fcb2fd2a) Thanks [@JReinhold](https://github.com/JReinhold)! - Support error.name in manifests + ## 0.0.7-next.0 ### Patch Changes diff --git a/packages/mcp/package.json b/packages/mcp/package.json index fc29a69f..716838f2 100644 --- a/packages/mcp/package.json +++ b/packages/mcp/package.json @@ -1,6 +1,6 @@ { "name": "@storybook/mcp", - "version": "0.0.7-next.0", + "version": "0.1.0", "description": "MCP server that serves knowledge about your components based on your Storybook stories and documentation", "keywords": [ "storybook",