CLI
Package reference: For technical details see @storyshelf/cli.
The StoryShelf CLI (storyshelf) exposes a storyshelf binary for CI pipelines. Run it with your package manager’s runner:
npx storyshelf --helppnpx storyshelf --helpyarn dlx storyshelf --helpThis section is now split for readability:
- Client — init, create, upload, build, doctor, whoami, retry, purge
- Server — server init, server serve
- Configuration — .storybook/storyshelf.json, flags, env, monorepo
Every command’s full flags and examples live on its page; the package reference stays at @storyshelf/cli.
Quick links
Section titled “Quick links”| Area | Page |
|---|---|
| Client | init / create / upload / build / doctor / whoami / retry / purge |
| Server | server init / server serve |
| MCP | mcp init / mcp serve: scaffold and run the MCP server for AI agents |
| Config | config file, env, monorepo |