Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

MCP

search_templates

Find a template to start from by what the app is, such as a SaaS dashboard or a blog. Each match has its code, a live demo, and its page.

Group
Design
Inputs
category?limit?query?
Access
Read-only

When to use it

  • Starting a new app: a template may already be most of it.
  • The user describes a whole app ("a SaaS dashboard") more than a component.

Inputs

InputType
category?string

One category: Blog.

limit?number
query?string

What it is: "saas dashboard", "blog", "ai chat".

Example prompts

Name the server, so the agent doesn't answer from memory:

Prompts
use shadcnio to find a template for an AI chat app
use shadcnio: is there a Next.js blog template I can clone?

Call and response

Asked “Is there a template I can start my SaaS dashboard from?”, the agent sends this call. The response is real, trimmed: long lists show their first items and long strings are cut.

Call
search_templates({ limit: 3, query: "saas dashboard" })
Response
{
  "count": 3,
  "next": "Start from one: clone its github (premium ones come from their page, with Pro), then add components with get_component.",
  "query": "saas dashboard",
  "results": [
    {
      "author": "shadcn.io",
      "categories": [
        "React",
        "Next.js",
        "… 4 more"
      ],
      "description": "Productivity & task-management Next.js + shadcn/ui SaaS template.",
      "name": "Prodexa — Productivity SaaS",
      "premium": true,
      "preview": "https://prodexa.shadcn.io",
      "slug": "prodexa",
      "url": "https://kit.dev/template/prodexa"
    },
    {
      "author": "Nextjs",
      "categories": [
        "Next.js",
        "React",
        "… 3 more"
      ],
      "description": "Next.js SaaS Starter is an official, production-ready template from the Next.js team designed to accelerate the development of software-as-a…",
      "github": "https://github.com/nextjs/saas-starter",
      "name": "Nextjs Saas Starter",
      "preview": "https://next-saas-start.vercel.app",
      "slug": "nextjs-saas-starter",
      "updated": "2025-10-08",
      "url": "https://kit.dev/template/nextjs-saas-starter"
    },
    "… 1 more"
  ]
}

Call it by hand

Your MCP client sends this for you. To try the tool without one, post the call yourself; the server answers in server-sent events, the result on the data: line.

Terminal
Sign in to get your config
Sign in with a Pro account, and this holds your MCP URL, ready to paste.

What your agent reads

The server's description of search_templates, one of the Design tools. Your agent reads it to decide when to call the tool:

tools/listsearch_templates.description
Find templates to start a project from by what it is ("saas dashboard", "blog", "ai chat"): each with its code, live demo and page.

Next

FAQ

Why does template search list categories?

Without a query (or when nothing matches), the categories with their counts: pass one as category to list it.