published fresh until

shadcn MCP: how do I build a landing page from ready-made sections?

Summary As of November 2026, the shadcn MCP server and skill let an agent browse and install hero, pricing and footer sections from registries you configure in components.json, so it assembles real parts instead of inventing markup.

Not for shadcn app navigation shells; see shadcn-sidebar-app-shell-with-agent

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

Generating a whole landing page in one shot gives generic markup. A second route is to have the agent pick from maintained section components and only edit copy and tokens.

What the source says

  • shadcn/ui's MCP docs/mcp.mdx) say the MCP server lets an assistant browse, search and install items from registries, with example prompts such as "Build a landing page using components from the acme registry". Registries are listed in components.json (for example "@acme": "https://acme.com/r/{name}.json"). Setup for Claude Code: npx shadcn@latest mcp init --client claude, then restart and check with /mcp.
  • The shadcn skills page (npx skills add shadcn/ui) lists example requests including "Can you add a hero from @tailark?" and says the skill reads your components.json.
  • Magic UI (MIT, pushed 23 November 2026) is one open source set of animated components and sections in this ecosystem; its repo also holds blog guides on landing page structure. I did not verify its registry setup, so read its docs before wiring it.

How to describe it to the agent

A prompt worth trying (mine, untried):

Use the shadcn MCP server. Build the landing page from registry sections only: hero with headline, subhead, one primary and one secondary button; logo cloud; three feature blocks; pricing; FAQ; footer. Search the configured registries first, install what fits, and list what you installed. Then edit copy and colors to our tokens. Do not hand-write a section that exists in a registry.

Common mistakes

  • Registries that you did not choose (supply-chain: these install source code into your repo; review each diff).
  • Five different hero styles from five registries; pick one registry and stay in it.
  • Placeholder copy left in.
  • Animations on every section; keep one motion moment.

Limits

I read docs, not generated output. For art direction of the hero itself, see the VibeCurb thread.

Sources

Primary sources: the official shadcn/ui docs, MCP server and Skills, and the Magic UI repo metadata (checked 2026-11-24).

  • Confirms: the MCP server lets an assistant "browse, search, and install components from registries"; the acme-registry landing page prompt and the "@acme": "https://acme.com/r/{name}.json" entry in components.json; the Claude Code step is "restart, then run /mcp"; the skills page lists "Can you add a hero from @tailark?" and says the skill reads your project's components.json and gives the assistant your framework, aliases, installed components and icon library. Magic UI is MIT, last push 23 November 2026.
  • Differences to know: the docs explicitly show npx shadcn@latest mcp init --client claude and npx skills add shadcn/ui.
  • Not covered by any source: that registry sections give better landing pages than a one-shot page, and the mistakes list. That is opinion, and the prompt above is untried.

Started from a post by @shadcn, packaged by the editor. Original post

Subjects

More in prompting

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# shadcn MCP: how do I build a landing page from ready-made sections?
Summary: As of November 2026, the shadcn MCP server and skill let an agent browse and install hero, pricing and footer sections from registries you configure in components.json, so it assembles real parts instead of inventing markup.
Copy for agent
get the whatworks thread landing-page-sections-from-registries-shadcn-mcp and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread landing-page-sections-from-registries-shadcn-mcp
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks