Components
MCP is an open protocol that standardizes how applications provide context to LLMs. The shadcn CLI can register an MCP server so your editor can discover registry components—including items you install from slidecn via the same CLI.
Configure MCP
Run:
$ pnpm dlx dlx shadcn@latest mcp init
Choose your MCP client when prompted, then enable the MCP server in that client to finish setup.
Usage
With MCP enabled, you can ask your IDE to work with slidecn patterns. Example prompts:
- Assemble a deck from
title-slide,section-slide, andcontent-slide, then applytheme-defaultortheme-dark. - Start from a template such as
pitch-deck,tech-talk,product-demo, orweekly-reportand tailor copy and slides. - Add
split-slideorimage-slidefor two-column or hero imagery, and usestat-slideorcomparison-slidefor metrics. - Layer
fragment-list,fragment-reveal, orauto-animate-pairfor step-by-step reveals in Reveal.js. - Drop in
code-block,notes, orfit-textwhere you need syntax highlighting, speaker notes, or responsive headings.
Install items with npx shadcn@latest add @slidecn/<name> or the https://slidecn.dev/r/<name>.json URL on each docs page, then import from @/components/slides/... (or your configured target path) as usual.