From c47395926d5d06ad89e805fbbaf11181f9dab4a9 Mon Sep 17 00:00:00 2001 From: yannbf Date: Thu, 16 Apr 2026 12:15:09 +0200 Subject: [PATCH 1/4] First pass at agentic flow docs --- docs/ai/index.mdx | 1 + docs/ai/setup.mdx | 85 ++++++++++++++++++++++++++++++++++++++++ docs/api/cli-options.mdx | 41 +++++++++++++++++++ 3 files changed, 127 insertions(+) create mode 100644 docs/ai/setup.mdx diff --git a/docs/ai/index.mdx b/docs/ai/index.mdx index 809e20ad6533..870f1ce578cf 100644 --- a/docs/ai/index.mdx +++ b/docs/ai/index.mdx @@ -83,6 +83,7 @@ These manifests are automatically generated and updated as you work on your Stor **More AI resources** +- [Agentic setup](./setup.mdx) - [MCP server overview](./mcp/overview.mdx) - [MCP server API](./mcp/api.mdx) - [Sharing your MCP server](./mcp/sharing.mdx) diff --git a/docs/ai/setup.mdx b/docs/ai/setup.mdx new file mode 100644 index 000000000000..5f432976e817 --- /dev/null +++ b/docs/ai/setup.mdx @@ -0,0 +1,85 @@ +--- +title: Agentic setup +sidebar: + order: 4 + title: Agentic setup +--- + + + Storybook's agentic setup is currently only available for projects using the [React](?renderer=react) renderer with the [Vite](../builders/vite.mdx) builder. Support for additional renderers and builders will follow. + + The API may change in future releases. We welcome feedback and contributions to help improve this feature. + + + + +Getting Storybook wired up to an existing application โ€” configuring providers, mocking side effects, and writing the first few real stories โ€” is the kind of repetitive, project-specific work that AI agents are well suited for. The **agentic setup** flow uses the [`storybook ai setup`](../api/cli-options.mdx#ai) command to generate a detailed, project-aware instruction set that an AI agent can follow to make Storybook fully functional in your project. + +The command analyzes your Storybook configuration (framework, renderer, builder, language, addons) and produces a Markdown prompt containing step-by-step instructions tailored to your project. The instructions cover how to: + +- Read the codebase to understand providers, CSS, portals, and data fetching +- Configure `preview.tsx` with the right decorators and global setup +- Mock side effects (network, storage, timers, navigation) at the preview level +- Write stories that follow your existing component patterns +- Add play functions for interaction testing +- Verify stories render and pass type checks using Vitest + +There are two ways to kick off the flow, depending on who is in the driver's seat. + +## Agent-initiated setup + +In this flow, you ask your agent to set up Storybook and the agent runs `storybook ai setup` itself to fetch the instructions it needs. + +1. Make sure Storybook is installed in your project (e.g. via [`storybook init`](../api/cli-options.mdx#init)). +2. In your agent (Claude Code, Cursor, Windsurf, VS Code Copilot, etc.), ask it to set up Storybook โ€” for example: + + > Use Storybook's agentic setup command to configure Storybook for this project and write some initial stories. + +3. The agent will run `storybook ai setup` from your project root, read the generated prompt from stdout, and follow the steps in order โ€” analyzing your codebase, updating `preview.tsx`, and writing stories. +4. After each story, the agent runs Vitest to verify that the story renders and fixes any failures before moving on. + +This flow works best when your agent has access to a terminal in your project (most modern coding agents do). No flags or additional configuration is required โ€” the generated instructions are self-contained. + +## User-initiated setup + +If you'd rather drive the process yourself, you can run the command manually and hand the output to any agent โ€” even one that can't execute shell commands. + +1. From your project root, run: + + ```shell + npx storybook ai setup --output storybook-setup.md + ``` + + This writes the instructions to `storybook-setup.md` instead of printing them to your terminal. Omit `--output` to print to stdout and pipe it elsewhere. + +2. Open the generated file and paste its contents into your agent's chat, or attach it as context. The prompt is designed to be self-contained: it references your specific `configDir`, framework, and renderer, and links back to the relevant Storybook docs in Markdown form. + +3. Let the agent work through the steps. You can review each change as the agent applies it. + +Use this flow when you want tighter control over what the agent does, when you're working with an agent that doesn't have shell access, or when you want to save the prompt to reuse across projects. + +## What the generated prompt covers + +Regardless of how the flow is initiated, the generated Markdown prompt walks the agent through the same ordered steps: + +1. **Analyze the codebase** โ€” read providers, global CSS, portals, and data-fetching patterns. +2. **Configure the preview** โ€” set up decorators, global styles, and any framework-level providers in `preview.tsx`. +3. **Support portals** โ€” ensure portal roots exist in the Storybook preview DOM. +4. **Mock side effects** โ€” intercept network requests (via MSW), storage, timers, and navigation at the preview level rather than per-story. +5. **Write stories** โ€” copy real usage patterns from the app, tagging generated stories with `ai-generated` and `needs-work` so you can review them later. +6. **Add play functions** โ€” implement interaction tests for the most important flows. +7. **Cover additional patterns** โ€” expand coverage across the components the agent has already touched. +8. **Verify** โ€” run Vitest against every new story to confirm it renders, and run the type checker. + +Under the hood, the command also snapshots your `preview` file so that subsequent runs of `storybook dev`, `storybook build`, and `storybook doctor` can detect progress the agent made and report it via telemetry. If you'd prefer not to share this data, pass `--disable-telemetry` (see [telemetry](../configure/telemetry.mdx)). + +## Next steps + +Once the agent has completed the setup: + +- Connect the [Storybook MCP server](./mcp/overview.mdx) to your agent so it can continue reading manifests, generating stories, and running tests against your live Storybook. +- Review the stories tagged `ai-generated` and `needs-work`, and remove those tags once you've validated each one. +- Follow the [best practices](./best-practices.mdx) to make your stories and documentation maximally useful to both humans and agents. + + +{/* End supported renderers */} diff --git a/docs/api/cli-options.mdx b/docs/api/cli-options.mdx index ccbd8fa769b4..4f2d5569fc02 100644 --- a/docs/api/cli-options.mdx +++ b/docs/api/cli-options.mdx @@ -271,6 +271,47 @@ Options include: | `--package-manager` | Sets the package manager to use when running the health check.
Available package managers include `npm`, `yarn`, and `pnpm`.
`storybook doctor --package-manager pnpm` | | `--debug` | Outputs more logs in the CLI to assist debugging.
`storybook doctor --debug` | +### `ai` + +Helpers for AI agents. The `ai` command exposes subcommands that generate AI-friendly instructions for automating Storybook tasks. See the [agentic setup docs](../ai/setup.mdx) for a full walkthrough. + +```shell +storybook ai [options] [command] +``` + +Options include: + +| Option | Description | +| --------------------- | ------------------------------------------------------------------------------------------------------------------------ | +| `-h`, `--help` | Output usage information.
`storybook ai --help` | +| `-o`, `--output ` | Write the prompt output to a file instead of printing it to stdout.
`storybook ai setup --output storybook-setup.md` | + +#### `ai setup` + +Generates a detailed, project-aware Markdown prompt that instructs an AI agent to configure Storybook in your project and write initial stories for real components. The prompt is built from your detected Storybook configuration (framework, renderer, builder, language, addons) and covers analyzing the codebase, configuring the preview, mocking side effects, writing stories, and verifying them with Vitest. + + + `storybook ai setup` is currently only available for projects using the React renderer with the Vite builder. + + +```shell +storybook ai setup [options] +``` + +Options include: + +| Option | Description | +| ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `-h`, `--help` | Output usage information.
`storybook ai setup --help` | +| `-c`, `--config-dir [dir-name]` | Storybook configuration directory.
`storybook ai setup -c .storybook` | +| `--package-manager ` | Force package manager to use when detecting project information.
Available package managers include `npm`, `yarn`, and `pnpm`.
`storybook ai setup --package-manager pnpm` | +| `--disable-telemetry` | Disables Storybook's telemetry. Learn more about it [here](../configure/telemetry.mdx#how-to-opt-out).
`storybook ai setup --disable-telemetry` | +| `--debug` | Outputs more logs in the CLI to assist debugging.
`storybook ai setup --debug` | +| `--loglevel [level]` | Controls level of logging.
Available options: `trace`, `debug`, `info` (default), `warn`, `error`, `silent`.
`storybook ai setup --loglevel warn` | +| `--logfile ` | Write debug logs to a file.
`storybook ai setup --logfile ./sb.log` | + +When run without `--output`, the generated prompt is printed to stdout โ€” this is how AI agents typically consume it, by running the command directly and reading the result. When run with `--output`, the prompt is written to the given file path so you can paste or attach it to an agent that doesn't have shell access. See [agent-initiated vs. user-initiated setup](../ai/setup.mdx) for details. + ### `info` Reports useful debugging information about your environment. Helpful in providing information when opening an issue or a discussion. From 2ec3044119cad5e282c750f788862665be645c90 Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Fri, 17 Apr 2026 10:00:58 -0600 Subject: [PATCH 2/4] Improve agentic setup docs: style, structure, and links - Remove redundant sidebar.title, em dashes, and npx prefix - Add "Starting from storybook init" section - Reduce intro/detail redundancy with anchor link - Replace inline code block with CodeSnippets for package manager variants - Add cross-references to decorators, preview, MSW, stories, tags, play functions, Vitest - Wrap telemetry note in callout - Clarify cli-options.mdx link text and prose Co-Authored-By: Claude Opus 4.6 (1M context) --- docs/_snippets/ai-setup-output.md | 11 ++++++ docs/ai/setup.mdx | 58 ++++++++++++++----------------- docs/api/cli-options.mdx | 2 +- 3 files changed, 39 insertions(+), 32 deletions(-) create mode 100644 docs/_snippets/ai-setup-output.md diff --git a/docs/_snippets/ai-setup-output.md b/docs/_snippets/ai-setup-output.md new file mode 100644 index 000000000000..3f4e43400e07 --- /dev/null +++ b/docs/_snippets/ai-setup-output.md @@ -0,0 +1,11 @@ +```shell renderer="common" language="js" packageManager="npm" +npx storybook ai setup --output storybook-setup.md +``` + +```shell renderer="common" language="js" packageManager="pnpm" +pnpm exec storybook ai setup --output storybook-setup.md +``` + +```shell renderer="common" language="js" packageManager="yarn" +yarn exec storybook ai setup --output storybook-setup.md +``` diff --git a/docs/ai/setup.mdx b/docs/ai/setup.mdx index 5f432976e817..04809678d79a 100644 --- a/docs/ai/setup.mdx +++ b/docs/ai/setup.mdx @@ -2,7 +2,6 @@ title: Agentic setup sidebar: order: 4 - title: Agentic setup --- @@ -13,42 +12,35 @@ sidebar: -Getting Storybook wired up to an existing application โ€” configuring providers, mocking side effects, and writing the first few real stories โ€” is the kind of repetitive, project-specific work that AI agents are well suited for. The **agentic setup** flow uses the [`storybook ai setup`](../api/cli-options.mdx#ai) command to generate a detailed, project-aware instruction set that an AI agent can follow to make Storybook fully functional in your project. +Getting Storybook wired up to an existing application (configuring providers, mocking side effects, and writing the first few real stories) is the kind of repetitive, project-specific work that AI agents are well suited for. The **agentic setup** flow uses the [`storybook ai setup`](../api/cli-options.mdx#ai) command to generate a detailed, project-aware instruction set that an AI agent can follow to make Storybook fully functional in your project. -The command analyzes your Storybook configuration (framework, renderer, builder, language, addons) and produces a Markdown prompt containing step-by-step instructions tailored to your project. The instructions cover how to: +The command analyzes your Storybook configuration (framework, renderer, builder, language, addons) and produces a Markdown prompt containing step-by-step instructions tailored to your project, covering everything from configuring your preview file to writing and verifying stories. See [what the generated prompt covers](#what-the-generated-prompt-covers) for the full list of steps. -- Read the codebase to understand providers, CSS, portals, and data fetching -- Configure `preview.tsx` with the right decorators and global setup -- Mock side effects (network, storage, timers, navigation) at the preview level -- Write stories that follow your existing component patterns -- Add play functions for interaction testing -- Verify stories render and pass type checks using Vitest +## Starting from `storybook init` -There are two ways to kick off the flow, depending on who is in the driver's seat. +When an agent runs [`storybook init`](../api/cli-options.mdx#init) to add Storybook to a new project, the output instructs the agent to continue with `storybook ai setup`. No extra prompting is needed; the agent will pick up the agentic setup flow automatically. -## Agent-initiated setup +If Storybook is already installed, you can kick off the flow yourself using one of the two approaches below. -In this flow, you ask your agent to set up Storybook and the agent runs `storybook ai setup` itself to fetch the instructions it needs. +## Agent-initiated setup -1. Make sure Storybook is installed in your project (e.g. via [`storybook init`](../api/cli-options.mdx#init)). -2. In your agent (Claude Code, Cursor, Windsurf, VS Code Copilot, etc.), ask it to set up Storybook โ€” for example: +In this flow, you ask your agent to run `storybook ai setup`. For example: - > Use Storybook's agentic setup command to configure Storybook for this project and write some initial stories. +```txt +Use Storybook's agentic setup command to configure Storybook for this project and write some initial stories. +``` -3. The agent will run `storybook ai setup` from your project root, read the generated prompt from stdout, and follow the steps in order โ€” analyzing your codebase, updating `preview.tsx`, and writing stories. -4. After each story, the agent runs Vitest to verify that the story renders and fixes any failures before moving on. +The agent will run the command from your project root, read the generated prompt from stdout, and follow the steps in order: analyzing your codebase, updating `preview.tsx`, and writing stories. After each story, it runs Vitest to verify that the story renders and fixes any failures before moving on. -This flow works best when your agent has access to a terminal in your project (most modern coding agents do). No flags or additional configuration is required โ€” the generated instructions are self-contained. +This flow works best when your agent has access to a terminal in your project (most modern coding agents do). No flags or additional configuration is required. The generated instructions are self-contained. ## User-initiated setup -If you'd rather drive the process yourself, you can run the command manually and hand the output to any agent โ€” even one that can't execute shell commands. +If you'd rather drive the process yourself, you can run the command manually and hand the output to any agent, even one that can't execute shell commands. 1. From your project root, run: - ```shell - npx storybook ai setup --output storybook-setup.md - ``` + This writes the instructions to `storybook-setup.md` instead of printing them to your terminal. Omit `--output` to print to stdout and pipe it elsewhere. @@ -62,16 +54,20 @@ Use this flow when you want tighter control over what the agent does, when you'r Regardless of how the flow is initiated, the generated Markdown prompt walks the agent through the same ordered steps: -1. **Analyze the codebase** โ€” read providers, global CSS, portals, and data-fetching patterns. -2. **Configure the preview** โ€” set up decorators, global styles, and any framework-level providers in `preview.tsx`. -3. **Support portals** โ€” ensure portal roots exist in the Storybook preview DOM. -4. **Mock side effects** โ€” intercept network requests (via MSW), storage, timers, and navigation at the preview level rather than per-story. -5. **Write stories** โ€” copy real usage patterns from the app, tagging generated stories with `ai-generated` and `needs-work` so you can review them later. -6. **Add play functions** โ€” implement interaction tests for the most important flows. -7. **Cover additional patterns** โ€” expand coverage across the components the agent has already touched. -8. **Verify** โ€” run Vitest against every new story to confirm it renders, and run the type checker. +1. **Analyze the codebase:** read providers, global CSS, portals, and data-fetching patterns. +2. **Configure the [preview](../configure/story-rendering.mdx):** set up [decorators](../writing-stories/decorators.mdx), global styles, and any framework-level providers in `preview.tsx`. +3. **Support portals:** ensure portal roots exist in the Storybook preview DOM. +4. **Mock side effects:** intercept [network requests](../writing-stories/mocking-data-and-modules/mocking-network-requests.mdx) (via MSW), storage, timers, and navigation at the preview level rather than per-story. +5. **Write [stories](../writing-stories/index.mdx):** copy real usage patterns from the app, [tagging](../writing-stories/tags.mdx) generated stories with `ai-generated` and `needs-work` so you can review them later. +6. **Add [play functions](../writing-stories/play-function.mdx):** implement interaction tests for the most important flows. +7. **Cover additional patterns:** expand coverage across the components the agent has already touched. +8. **Verify:** run [Vitest](../writing-tests/integrations/vitest-addon/index.mdx) against every new story to confirm it renders, and run the type checker. + + -Under the hood, the command also snapshots your `preview` file so that subsequent runs of `storybook dev`, `storybook build`, and `storybook doctor` can detect progress the agent made and report it via telemetry. If you'd prefer not to share this data, pass `--disable-telemetry` (see [telemetry](../configure/telemetry.mdx)). +The command snapshots your `preview` file so that subsequent runs of `storybook dev`, `storybook build`, and `storybook doctor` can detect progress the agent made and report it via telemetry. If you'd prefer not to share this data, pass `--disable-telemetry` (see [telemetry](../configure/telemetry.mdx)). + + ## Next steps diff --git a/docs/api/cli-options.mdx b/docs/api/cli-options.mdx index 4f2d5569fc02..624bd6184427 100644 --- a/docs/api/cli-options.mdx +++ b/docs/api/cli-options.mdx @@ -310,7 +310,7 @@ Options include: | `--loglevel [level]` | Controls level of logging.
Available options: `trace`, `debug`, `info` (default), `warn`, `error`, `silent`.
`storybook ai setup --loglevel warn` | | `--logfile ` | Write debug logs to a file.
`storybook ai setup --logfile ./sb.log` | -When run without `--output`, the generated prompt is printed to stdout โ€” this is how AI agents typically consume it, by running the command directly and reading the result. When run with `--output`, the prompt is written to the given file path so you can paste or attach it to an agent that doesn't have shell access. See [agent-initiated vs. user-initiated setup](../ai/setup.mdx) for details. +When run without `--output`, the generated prompt is printed to stdout. This is how AI agents typically consume it, by running the command directly and reading the result. When run with `--output`, the prompt is written to the given file path so you can paste or attach it to an agent that doesn't have shell access. See the [agentic setup](../ai/setup.mdx#user-initiated-setup) docs for details on both flows. ### `info` From 12ae3fefe275af6801d133a90c012766994b181a Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Fri, 17 Apr 2026 10:14:33 -0600 Subject: [PATCH 3/4] Address feedback and format --- docs/ai/setup.mdx | 6 ++++-- docs/api/cli-options.mdx | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/ai/setup.mdx b/docs/ai/setup.mdx index 04809678d79a..c9955e441ad9 100644 --- a/docs/ai/setup.mdx +++ b/docs/ai/setup.mdx @@ -5,9 +5,11 @@ sidebar: --- - Storybook's agentic setup is currently only available for projects using the [React](?renderer=react) renderer with the [Vite](../builders/vite.mdx) builder. Support for additional renderers and builders will follow. - The API may change in future releases. We welcome feedback and contributions to help improve this feature. +Storybook's agentic setup is currently only available for projects using the [React](?renderer=react) renderer with the [Vite](../builders/vite.mdx) builder. Support for additional renderers and builders will follow. + +The API may change in future releases. We welcome feedback and contributions to help improve this feature. + diff --git a/docs/api/cli-options.mdx b/docs/api/cli-options.mdx index 624bd6184427..313602fd5250 100644 --- a/docs/api/cli-options.mdx +++ b/docs/api/cli-options.mdx @@ -291,7 +291,9 @@ Options include: Generates a detailed, project-aware Markdown prompt that instructs an AI agent to configure Storybook in your project and write initial stories for real components. The prompt is built from your detected Storybook configuration (framework, renderer, builder, language, addons) and covers analyzing the codebase, configuring the preview, mocking side effects, writing stories, and verifying them with Vitest. - `storybook ai setup` is currently only available for projects using the React renderer with the Vite builder. + +`storybook ai setup` is currently only available for projects using the React renderer with the Vite builder. + ```shell @@ -308,7 +310,7 @@ Options include: | `--disable-telemetry` | Disables Storybook's telemetry. Learn more about it [here](../configure/telemetry.mdx#how-to-opt-out).
`storybook ai setup --disable-telemetry` | | `--debug` | Outputs more logs in the CLI to assist debugging.
`storybook ai setup --debug` | | `--loglevel [level]` | Controls level of logging.
Available options: `trace`, `debug`, `info` (default), `warn`, `error`, `silent`.
`storybook ai setup --loglevel warn` | -| `--logfile ` | Write debug logs to a file.
`storybook ai setup --logfile ./sb.log` | +| `--logfile [path]` | Write debug logs to a file.
`storybook ai setup --logfile ./sb.log` | When run without `--output`, the generated prompt is printed to stdout. This is how AI agents typically consume it, by running the command directly and reading the result. When run with `--output`, the prompt is written to the given file path so you can paste or attach it to an agent that doesn't have shell access. See the [agentic setup](../ai/setup.mdx#user-initiated-setup) docs for details on both flows. From 809ba4e3167c163faa6d17bf5f1f529ee170f28e Mon Sep 17 00:00:00 2001 From: Kyle Gach Date: Fri, 17 Apr 2026 10:20:58 -0600 Subject: [PATCH 4/4] Add new page to "more resources" list --- docs/ai/best-practices.mdx | 3 +-- docs/ai/index.mdx | 2 +- docs/ai/manifests.mdx | 1 + docs/ai/mcp/api.mdx | 1 + docs/ai/mcp/overview.mdx | 1 + docs/ai/mcp/sharing.mdx | 1 + 6 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/ai/best-practices.mdx b/docs/ai/best-practices.mdx index 3143c2d8c303..4910e7ad2b4f 100644 --- a/docs/ai/best-practices.mdx +++ b/docs/ai/best-practices.mdx @@ -131,5 +131,4 @@ import { Meta } from '@storybook/addon-docs/blocks'; - [MCP server API](./mcp/api.mdx) - [Sharing your MCP server](./mcp/sharing.mdx) - [Manifests](./manifests.mdx) - - +- [Agentic setup](./setup.mdx) diff --git a/docs/ai/index.mdx b/docs/ai/index.mdx index 870f1ce578cf..9feddf7a196d 100644 --- a/docs/ai/index.mdx +++ b/docs/ai/index.mdx @@ -83,9 +83,9 @@ These manifests are automatically generated and updated as you work on your Stor **More AI resources** -- [Agentic setup](./setup.mdx) - [MCP server overview](./mcp/overview.mdx) - [MCP server API](./mcp/api.mdx) - [Sharing your MCP server](./mcp/sharing.mdx) - [Best practices for using Storybook with AI](./best-practices.mdx) - [Manifests](./manifests.mdx) +- [Agentic setup](./setup.mdx) diff --git a/docs/ai/manifests.mdx b/docs/ai/manifests.mdx index 5ecab4c782f3..56d60ef291f1 100644 --- a/docs/ai/manifests.mdx +++ b/docs/ai/manifests.mdx @@ -286,3 +286,4 @@ import { Meta } from '@storybook/addon-docs/blocks'; - [MCP server API](./mcp/api.mdx) - [Sharing your MCP server](./mcp/sharing.mdx) - [Best practices for using Storybook with AI](./best-practices.mdx) +- [Agentic setup](./setup.mdx) diff --git a/docs/ai/mcp/api.mdx b/docs/ai/mcp/api.mdx index 7d825cab597a..b2560461a7e2 100644 --- a/docs/ai/mcp/api.mdx +++ b/docs/ai/mcp/api.mdx @@ -76,3 +76,4 @@ The testing toolset includes the [`run-story-tests`](./overview.mdx#run-story-te - [Sharing your MCP server](./sharing.mdx) - [Best practices for using Storybook with AI](../best-practices.mdx) - [Manifests](../manifests.mdx) +- [Agentic setup](../setup.mdx) diff --git a/docs/ai/mcp/overview.mdx b/docs/ai/mcp/overview.mdx index dab0b2f8a7a4..d7954d031d12 100644 --- a/docs/ai/mcp/overview.mdx +++ b/docs/ai/mcp/overview.mdx @@ -173,3 +173,4 @@ The docs toolset relies on the [manifests](../manifests.mdx) generated by Storyb - [Sharing your MCP server](./sharing.mdx) - [Best practices for using Storybook with AI](../best-practices.mdx) - [Manifests](../manifests.mdx) +- [Agentic setup](../setup.mdx) diff --git a/docs/ai/mcp/sharing.mdx b/docs/ai/mcp/sharing.mdx index 0ec12a48d753..b47cafee4931 100644 --- a/docs/ai/mcp/sharing.mdx +++ b/docs/ai/mcp/sharing.mdx @@ -73,3 +73,4 @@ export async function handleRequest(request: Request): Promise { - [MCP server API](./api.mdx) - [Best practices for using Storybook with AI](../best-practices.mdx) - [Manifests](../manifests.mdx) +- [Agentic setup](../setup.mdx)