Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

shadcn/ui MCP Server 🔌 MCP server Open source

Gives agents shadcn/ui component source, demos and blocks for React, Svelte, Vue and RN

Docs & code context MCP servers · Open source ★ 3.0k · +11 this week · MIT · updated 2026-05-16

6.8editor score
View on GitHub ↗
GitHub stars
3.0k
Stars this week
+11
Forks
312
Licence
MIT
Last push
2026-05-16
Maintainer
Jpisnice
Installnpx @jpisnice/shadcn-ui-mcp-server

Third-party MCP servers run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open MCP standard, so it works in every app that supports MCP.

About shadcn/ui MCP Server

What it does

shadcn-ui-mcp-server, by Janardhan Polle, gives an AI agent direct access to shadcn/ui component source, demos, blocks and metadata. Instead of guessing how a component is built or which dependencies it needs, the agent fetches the current code from the upstream repositories. It supports four implementations: shadcn/ui for React, shadcn-svelte, shadcn-vue and react-native-reusables, and for React it can switch between Radix UI and Base UI primitives.

Tools it gives your agent

list_components and get_component return the component list and source code. get_component_demo returns example usage, and get_component_metadata returns dependencies and descriptions. list_blocks and get_block cover complete blocks such as dashboards, calendars and forms. get_directory_structure lets the agent browse the upstream repository layout. Framework and primitive library are chosen with the --framework and --ui-library flags or matching environment variables. Results are cached to reduce GitHub API calls.

Works with

Any MCP client. The README documents Claude Code, Claude Desktop through an .mcpb bundle, VS Code, Cursor and Continue. It runs over stdio by default and can also serve SSE for several clients at once, including from Docker.

How to install

npx @jpisnice/shadcn-ui-mcp-server
claude mcp add shadcn -- bunx -y @jpisnice/shadcn-ui-mcp-server --github-api-key YOUR_TOKEN

Maintenance and safety

MIT licensed and published on npm. The last push was in May 2026, so it is maintained but not moving fast. It reads public GitHub data; without a token you hit the low anonymous rate limit quickly, so the README recommends a personal token with no scopes. When running in SSE mode, the default host binding is all interfaces, so restrict it on shared networks. shadcn now offers its own registry tooling for agents, so compare the two before choosing.

Who should use it

Front-end developers using shadcn/ui, or one of its Svelte, Vue or React Native ports, who want their agent to generate components that match the real source rather than an outdated memory of it.

shadcn-ui react components frontend mcp-server

Pros

  • Covers React, Svelte, Vue and React Native ports
  • Fetches real upstream source instead of model memory
  • stdio, SSE and Docker options

Cons

  • Needs a GitHub token to avoid low rate limits
  • Overlaps with shadcn's own agent tooling

Context7 🔌 MCP serverFreemium

Up-to-date, version-specific library documentation for your coding agent

★ 63k · +180 this week

MCP Python SDK 🔌 MCP serverOpen source

The official Python SDK for building Model Context Protocol servers and clients

★ 24k · +55 this week

8.5 Visit ↗

Serena 🔌 MCP serverFree

Semantic code retrieval and editing toolkit for agents, powered by language servers

★ 30k · +146 this week

Codebase Memory MCP 🔌 MCP serverOpen source

Local knowledge graph of your repo so agents query call chains instead of grepping files

★ 46k · +765 this week

7.8 Visit ↗

pg-aiguide 🔌 MCP serverOpen source

MCP server and skills giving coding agents versioned PostgreSQL and TimescaleDB expertise

★ 1.9k · +7 this week

MCP Memory Service 🔌 MCP serverOpen source

Self-hosted persistent memory for coding agents with semantic search and a knowledge graph

★ 2.0k · +15 this week

7.6 Visit ↗

Popular searches