CRUX MCP Server
Allows AI agents to find and install UI components from the DaisyUI registry, including fetching raw component code, dependencies, and setup prerequisites.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@CRUX MCP ServerFetch the shadcn button component code and dependencies"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Eliminating AI design slop through deterministic, multi-registry indexing and zero-friction layout streaming. CRUX MCP(Component Registry eXchange) is an open-source, Model Context Protocol (MCP). It acts as an open federation bridge that sits between your AI agent (Cursor, Windsurf, Claude Code) and a network of premium UI component registries (Shadcn, MagicUI, Aceternity, DaisyUI, KokonutUI). Instead of letting AI tools guess layout mathβwhich frequently outputs predictive gradients and uninspired flex containersβCRUX empowers LLMs to fetch 1:1 accurate component code snippets, package dependencies, and setup prerequisites directly into your workspace.
This Project Under-development and not recommend to be use as of now. State: Technical Documentation and System Designing
ποΈ Architecture
[ Developer Studio ] ββββββ(Cmd+Alt+V Hotkey)ββββββΊ [ VS Code Webview Canvas Window ]
β β²
βΌ (Standard Model Context Protocol Execution) β (Renders 1:1 Live Views)
[ Local CRUX MCP Server ] βββΊ Compiles Background Sandbox ββββββ€
β
ββββΊ [local] βββΊ Uses SQLite File + Local JS Memory Cache (0% Laptop Strain)
ββββΊ [cloud] βββΊ Injects Token Header βββΊ [Distributed Redis + Cloud K8s Router]Related MCP server: frameshot
β‘ Key Features
Find and Install Component: Instantly queries multi-registry endpoints. Downloads raw .tsx code files and executes missing shell package managers natively.
Sketch UI with AI: Diverts design tasks away from the production repository into an isolated background Vite compilation server (http://localhost:5173) running Hot Module Replacement (HMR). [2]
Anti-Slop Layout Review: Automatically audits your workspace components for inline color bypasses, arbitrary sizing hacks, and unresponsive mobile layout blocks.
Offline-to-Cloud Telemetry Sync: Injects tracker signatures into components to monitor project telemetry. Works offline via a clean SQLite configuration and syncs back to your enterprise cloud gateway seamlessly.
π» Tech Stack Matrix
Local MCP Runtime: @modelcontextprotocol/sdk (TypeScript)
Sandbox Execution Canvas: Vite + React 19
Styling Core: Tailwind CSS v3 + Framer Motion
Central API Routing: Apollo Server + GraphQL-Yoga
Database ORM: Prisma Client (Enforcing Multi-Tenant Data Isolation)
High-Scale Operations: PostgreSQL 16 + Redis Cluster + PgBouncer
π Quickstart Integration Guide
1. Register the Local MCP Server
Inject this block into your favorite AI text editor settings configuration parameters path (e.g., cursor.json, or Claude Desktop Settings):
"mcpServers": {
"crux-mcp-engine": {
"command": "npx",
"args": ["-y", "@crux/mcp-server"],
"env": {
"CRUX_MODE": "local"
}
}
}For cloud environments connecting to a hosted corporate library hub, switch the mode and supply your secure access token:
"env": {
"CRUX_MODE": "cloud",
"CRUX_ORG_API_KEY": "crux_sk_acme_company_secret_token_abc123"
}2. Activate the VS Code Split-Panel Interface
Download the extension from the VS Code Marketplace: Universal UI Canvas Companion.
Open a React codebase workspace file.
Strike Cmd+Alt+V (Mac) or Ctrl+Alt+V (Windows) to snap open the live, hot-reloading background preview viewport.
π₯ DevEx Onboarding & Contributing
CRUX is engineered for zero-friction contributor onboarding. It runs a single-command setup pipeline that configures environment assets, dependencies, and local editor configurations automatically without freezing limited developer hardware.
# 1. Clone the repository framework layout
git clone https://github.com/JustineDevs/CRUX
cd crux
# 2. Run the interactive onboarding script (Auto-configures .env and editor tools)
npm run dev:setup
# 3. Spin up hot-reloading loops across all workspace sub-packages
npm run dev:startπ§ͺ Terminal-Based Mock Testing Suite
Contributors can debug and test tools immediately from the CLI without launching an editor client or spending live LLM API token credits:
Test the Live Sandbox View Generation
npm run test:sketch
Compiles your target structural payload directly to the internal framework canvas address port (http://localhost:5173).
## Test the Diagnostic Layout Auditor
npm run test:review -- -f "src/components/MessyGrid.tsx"Parses the relative layout structure to verify regex anti-pattern rules. Returns a clean terminal report tagging color bypass tokens or arbitrary spacing bugs.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceEnables AI assistants to search, understand, and generate code for design system components by syncing and indexing a component library.
- AlicenseAqualityAmaintenanceEnables AI agents to render and screenshot isolated UI components instantly across multiple browsers without a dev server or Storybook.226601MIT
- AlicenseAqualityBmaintenanceProvides coding agents live access to shadcn-style component registries, enabling them to search, compare, and fetch real component source code for UI composition.5612MIT
- FlicenseAqualityCmaintenanceEnables AI assistants to generate production-ready, professional UI design systems and components from simple descriptions, with real images, animated components, and automated quality checks.16
Related MCP Connectors
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JustineDevs/CRUX'
If you have feedback or need assistance with the MCP directory API, please join our Discord server