
Shadcn Vue
STDIOHTTP-SSEAI-powered tool for creating high-quality UI components using natural language descriptions.
AI-powered tool for creating high-quality UI components using natural language descriptions.
A powerful AI Agent tool that helps developers instantly create high-quality UI components
Shadcn-vue MCP Server is a powerful AI-driven tool that helps developers instantly create beautiful, modern UI components through natural language descriptions. It integrates the shadcn-vue component library and tailwindcss, seamlessly connects with mainstream IDEs, and provides a streamlined UI development workflow.
Developers face multiple challenges when building UI components:
shadcn-vue
, developers struggle to quickly find the best fit for their needs without intelligent recommendations.shadcn-vue MCP provides an intelligent UI component development experience that revolutionizes the traditional workflow:
components-filter
tool intelligently analyzes your requirements and recommends the most suitable shadcn-vue
components.component-builder
automatically generates high-quality Vue component code that complies with shadcn-vue
and tailwindcss
standards, with best practices built-in.component-quality-check
automatically performs accessibility (A11y) and code quality checks on the generated code, ensuring professional-grade components.component-usage-doc
provides real-time component documentation, APIs, and usage examples to get you started immediately.Natural Language Descriptions:
Multi-IDE Support:
Modern Component Library:
TypeScript Support:
Intelligent Documentation Query:
Component Enhancement:
Before you begin, ensure you have Node.js installed on your system.
18.20.1
or later.Using a different version might lead to installation errors like
Error: spawnSync code-insiders.cmd EINVAL
. Downgrading or upgrading to the recommended version is the best solution.
To install shadcn-vue-mcp for all clients automatically via Smithery:
Note: Take vscode as an example: When you select Auto, run the Smithery CLI command in the terminal:
npx -y @smithery/cli@latest install @HelloGGX/shadcn-vue-mcp --client vscode --profile parental-gayal-aplQPT --key xxxxx
You may get an error: Failed to install @HelloGGX/shadcn-vue-mcp
Error: spawnSync code-insiders.cmd EINVAL
Solution: Downgrade the Node version to 18.20.1 and rerun
Manually configure your AI application (e.g., Claude Desktop) by selecting the JSON option and copying the configuration for your operating system:
For Mac/Linux:
{ "mcpServers": { "shadcn-vue-mcp": { "command": "npx", "args": [ "-y", "@smithery/cli@latest", "run", "@HelloGGX/shadcn-vue-mcp", "--key", "parental-gayal-aplQPT" ] } } }
For Windows:
{ "mcpServers": { "shadcn-vue-mcp": { "command": "cmd", "args": [ "/c", "npx", "-y", "@smithery/cli@latest", "run", "@HelloGGX/shadcn-vue-mcp", "--key", "parental-gayal-aplQPT" ] } } }
You can also install shadcn-vue-mcp via URL. Step 1. copy the following URL and paste it into the URL field of the Smithery AI application:
Step 2. Open vscode, open copilot and select Agent model
Step 3: Select Add Server
Step 4: choose HTTP
Step 5: paste the URL
Step 6: config like this:
{ "mcp": { "servers": { "shadcn-vue-mcp": { "url": "https://server.smithery.ai/@HelloGGX/shadcn-vue-mcp/mcp?profile=parental-gayal-aplQPT&api_key=xxxxxxx" } } } }
Config file locations:
~/.cursor/mcp.json
~/.Trae/mcp.json
~/.cline/mcp_config.json
~/.claude/mcp_config.json
requirement-structuring
component-usage-doc
components-filter
component-quality-check
component-builder
User: /ui create a flight display component
AI: Generated code as follows:
User: /check
AI:
AI: Generated code as follows:
We welcome all forms of contributions! You can help us improve @agent/shadcn-vue
by:
The source code is open-sourced on GitHub.