Back to Home
Jpisnice icon

shadcn-ui-mcp-server

Verified Safe

by Jpisnice

Overview

Provides AI assistants with comprehensive access to shadcn/ui v4 components, blocks, demos, and metadata across multiple frameworks (React, Svelte, Vue, React Native) for UI development and code generation.

Installation

Run Command
npx @jpisnice/shadcn-ui-mcp-server

Environment Variables

  • GITHUB_PERSONAL_ACCESS_TOKEN
  • FRAMEWORK
  • MCP_TRANSPORT_MODE
  • MCP_PORT
  • MCP_HOST
  • MCP_CORS_ORIGINS

Security Notes

The server uses `new Function()` to parse external theme presets fetched from a hardcoded GitHub URL. While the source is controlled, this is a known security risk if the remote `tweakcn` repository is compromised, allowing for arbitrary code execution on the server. Otherwise, GitHub API keys are handled securely via environment variables or CLI arguments.

Similar Servers

Stats

Interest Score86
Security Score7
Cost ClassHigh
Avg Tokens3000
Stars2601
Forks284
Last Update2025-12-29

Tags

shadcn-uimcpcode generationui componentsmulti-framework