This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Summary
AI summaryUpdates Patch Changes, https://github.com/kasperpeulen, and Minor Changes across a mixed release.
Full changelog
Minor Changes
-
#298
ae6e9bbThanks @kasperpeulen! - Expose serverless Storybook AI metadata from addon-mcp presets. The new preset returns MCP-shaped instructions and tool descriptors, plus a localget-storybook-story-instructionsrunner that shares the same builders as the live MCP server. -
#308
ff09619Thanks @JReinhold! - Support v0 (inline) and v1 (split/ref) Storybook manifest formats.@storybook/mcpfollows$refpointers into siblingservices/payloads for static and remote sources;@storybook/addon-mcpadds an in-process manifest provider forexperimentalDocgenServerdev mode and fixes composition so local docgen-server and remote v0/v1 composed sources all work.
Patch Changes
-
#329
86ff2bfThanks @kasperpeulen! - Fold the "CRITICAL: Never hallucinate component properties!" guidance from the documented AGENTS.md snippet into the Documentation Workflow server instructions, so the docs no longer need to recommend a manual AGENTS.md addition. The separate "Verification Rules" section is merged into the Documentation Workflow (the guidance is about checking documentation before starting work, not about verifying it afterwards), keeping the full default instructions under the 2,048-character client truncation limit. -
#242
d142450Thanks @kasperpeulen! - Show private composed Storybooks as own-MCP guidance when accessed through the local MCP proxy. -
#335
3486c0dThanks @kasperpeulen! - Close the shared-code and docs-question gaps in the default (review-off) workflow steering, which eval runs showed agents falling through:- The dev and validation instructions now trigger on "anything that changes how the UI looks" (the stories skill's proven phrasing) instead of only "any component or story" — a theme-token edit is literally neither, so agents (GPT-5.5 on the MCP path consistently) finished shared-file changes with shell-level verification only, never calling preview-stories or run-story-tests. The preview-stories and run-story-tests descriptions carry the same trigger, including that a shared file has no stories of its own so the consumers' stories are the ones to surface, and that typecheck/lint does not replace story tests.
- The docs-question rule now opens the server instructions ("Answer questions about component props, API, or usage with the documentation tools — never from source or type definitions") — Claude Code was observed grepping component source for props questions without ever reaching the rule further down. Design-system discovery is unconditional for new UI work — agents answered docs requests by grepping component source while still producing a correct-looking answer. The get-documentation and list-all-documentation descriptions repeat that steering at the tool level, where it reaches agents even when a client truncates server instructions, and get-storybook-story-instructions (the tool billed as the source of truth for story work, on both the MCP and
storybook aiCLI channels) appends a Design-System Documentation section whenever the docs tools are registered.
The review-off server instructions stay under the 2,048-char client truncation limit (now 2,046 chars), paid for by tightening existing sentences without dropping any rule.
-
#320
da8d525Thanks @kasperpeulen! - Slimmed theexperimentalReviewserver instructions under the 2,048-character client truncation limit. Claude Code hard-truncates MCP server instructions at 2,048 characters, and the review-flavored instructions had grown to ~8.7k — the Validation and Documentation workflow sections never reached the model and agents stopped using the documentation tools. With the flag on, the dev, test, and docs sections now use slim variants that only carry the workflow triggers; the detailed guidance moved into the tool descriptions and tool results (get-stories-by-component,get-changed-stories,display-review,list-all-documentation), which are never truncated. The default (review off) instructions are unchanged. A unit test enforces the limit for every toolset configuration in both review modes. -
#279
367ecc1Thanks @huang-julien! - Support the externalized-docgen component manifest format. Newer Storybooks emit acomponents.jsonwhose entries are lightweight stubs carrying adocgen.$refpointer instead of inlinepath/docgen data, with the full component data served from a referenced file.get-documentationandget-documentation-for-storynow resolve that reference (through the same auth-aware manifest provider) before formatting, so composition/multi-source documentation works against Storybooks using the new format.pathand the top-level manifestvfield are now optional to accommodate stubs and referenced docgen files.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About storybookjs/addon-mcp
Help agents automatically write and test stories for your UI components.
Related context
Beta — feedback welcome: [email protected]