ShadcnVue MCP Server - 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.
Without shadcn-vue MCP
Developers face multiple challenges when building UI components:
Need to manually check shadcn-vue and tailwindcss4.0 documentation, wasting significant time
Component code needs to be written from scratch, inefficient
Difficult to achieve design consistency, components lack unified style
Hard to implement high-quality components that meet design and coding standards
With shadcn-vue MCP
shadcn-vue MCP provides an intelligent UI component development experience:
Simply describe your desired component in natural language
MCP automatically generates code compliant with shadcn-vue and tailwindcss standards
Get production-ready, design-consistent shadcn-vue UI components
Example usage:
/ui create a navigation bar component
/refine optimize the navbar's responsiveness and accessibility
advantages:
- Real-time access to latest shadcn-vue component specifications
- Generated code 100% compliant with current version requirements
- Based on the LLM.txt file provided by context7 as context, more accurate code generation is achieved
- No more repeatedly checking documentation or worrying about version compatibility
- Seamless multi-IDE workflow integration
Features
- AI-powered UI generation: Create UI components through natural language descriptions
Multi-IDE Support:
- Cursor IDE integration
- Trae support
- VSCode support
- VSCode + Cline integration (Beta)
- Modern component library: Based on shadcn-vue component library and tailwindcss
- TypeScript support: Full TypeScript support for type-safe development
- Intelligent shadcn-vue component documentation query
- Component enhancement: Accessibility support/performance optimization/advanced design improvements/animation improvements
- Real-time component preview generation (coming soon).
Prerequisite
Node.js version 22 or above.
Getting Started
Installing via Smithery
Go to https://openrouter.ai/models to register an account, obtain OPENROUTER_API_KEY, and view available model lists
Choose installation method
Method 1: CLI Quick Installation
To install bazi-mcp for Claude Desktop automatically via Smithery:
npx -y @smithery/cli@latest install @HelloGGX/shadcn-vue-mcp --client vscode
Supported clients: cursor, windsurf, cline, claude, vscode, vscode-insiders
Method 2: Manual Configuration
Manually configure AI application (e.g. Claude Desktop).
{
"mcpServers": {
"shadcn-vue": {
"command": "npx",
"args": ["-y", "@agent/shadcn-vue"],
"env": {
"OPENROUTER_MODEL_ID": "Your selected OpenRouter model id",
"OPENROUTER_API_KEY": "Your OpenRouter API key"
}
}
}
}
Config file locations:
- Cursor:
~/.cursor/mcp.json
- Trae:
~/.Trae/mcp.json
- Cline:
~/.cline/mcp_config.json
- Claude:
~/.claude/mcp_config.json
Tools List
read-usage-doc
Query component documentation
Arguments
- name:
String
shadcn-vue component name. Example: “button component usage documentation”
read-full-doc
Read full documentation of a component
Use this tool when mentions /doc.
Arguments
- name:
String
shadcn-vue component name. Example: “button component full documentation”
create-ui
Create UI components
Create Web UI with shadcn/ui components and tailwindcss, Use this tool when mentions /ui
Arguments
- description:
String
Description of component requirements. Example: “/ui create a flight display component”
refine-code
Enhance and optimize specified component code Refine code, Use this tool when mentions /refine
Arguments
- userMessage:
String
Code to be optimized. Example: “/refine optimize this code to have mobile responsive layout”
- absolutePathToRefiningFile:
String
Absolute path to the file that needs refinement.
- context:
String
Extract specific UI elements and aspects needing improvement based on user messages, code, and conversation history.
Result Example
User: /ui create a flight display component
AI: Generated code as follows:
Contribution Guide
We welcome all contributions! Help us improve @agent/shadcn-vue. Source code is open-sourced on GitHub.
Community & Support
- Discord Community - Join our active community
License
MIT License
Shadcn Vue MCP Server
Project Details
- HelloGGX/shadcn-vue-mcp
- Apache License 2.0
- Last Updated: 5/13/2025
Recomended MCP Servers
Model Context Protocol server for sociological research into QAnon
Model Context Protocol for Minecraft Server Management
MCP Crew AI Server is a lightweight Python-based server designed to run, manage and create CrewAI workflows.
An AWS Serverless Application Model that operates as an MCP server via serverless AWS resources
MCP server(s) for Aipolabs ACI.dev
servidor mcp
MCP Server for journaling
MCP server for analyzing claims, validating sources, and detecting manipulation using multiple epistemological frameworks
A Model Context Protocol (MCP) implementation for Splunk Enterprise and Cloud integration with Cursor IDE or Claude