Skip to content

Summary

Community MCP server giving AI assistants the source, demos, blocks and metadata of shadcn/ui v4 components for React, Svelte, Vue and React Native.

Features

  • shadcn/ui v4 component source, demos, blocks and metadata
  • React (Radix or Base UI), Svelte, Vue and React Native implementations
  • stdio, stateless streamable HTTP or both, with Docker support
  • Optional GitHub token raises the rate limit from 60 to 5,000 requests an hour
  • One-click .mcpb bundle for Claude Desktop

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it.
  3. Restart the agent — the "shadcn/ui MCP Server" tools will be available.
{
  "mcpServers": {
    "shadcn-ui-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@jpisnice/shadcn-ui-mcp-server",
        "--github-api-key",
        "<your-github-token>"
      ]
    }
  }
}

Description

The shadcn/ui MCP Server by Jpisnice gives coding agents direct access to shadcn/ui v4: component source code, demo implementations, complete blocks such as dashboards, calendars and forms, and metadata such as dependencies. It is an independent community project, not maintained by shadcn.

Frameworks

The default is React from shadcn/ui, with a Radix UI or Base UI primitive layer (--ui-library base). --framework switches to shadcn-svelte, shadcn-vue or react-native-reusables, so the same server serves four ecosystems.

How it runs

It reads the component repositories through the GitHub API and caches results. Without a token it is limited to 60 requests an hour; a GitHub personal access token (--github-api-key or GITHUB_PERSONAL_ACCESS_TOKEN) raises that to 5,000. It runs over stdio by default and can also serve stateless streamable HTTP at /mcp (--mode http, port 7423 by default) or both at once, with a Docker image and Compose file for shared deployments. Claude Desktop users can install a one-click .mcpb bundle from the releases page. The server supports argument completion for component names and implements the 2026-07-28 MCP specification while staying compatible with older clients.

Who it is for

Developers who build interfaces from shadcn/ui and want their agent to use the real component code rather than a remembered version. MIT-licensed.

Mantine's official documentation server: gives an agent the component list, per-component docs and the exact props table, so generated React code matches the installed version.

MCP: 21st MCP

by 21st.dev

New

21st.dev's hosted MCP server: search React UI components, themes and templates, pull their code into your project, and generate UI with 21st AI when enabled.

MCP: Storybook

by Storybook

Official addon that connects a running Storybook to AI agents for component-aware UI generation and testing.

Browse all MCP servers →