Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
add changesets
  • Loading branch information
JReinhold committed Oct 30, 2025
commit 76c5d19f4be8e7cf415ab37d58a4d851299778e9
9 changes: 9 additions & 0 deletions .changeset/hip-sloths-jog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@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.
Loading