shadcn-vue-mcp
The shadcn-vue-mcp server is an AI-powered tool that helps developers create high-quality Vue UI components using shadcn-vue and Tailwind CSS through natural language descriptions.
Core Capabilities:
Requirement Structuring (
requirement-structuring) - Analyze and convert natural language UI descriptions into structured JSON component specificationsIntelligent Component Filtering (
components-filter) - Recommend the most suitable shadcn-vue components and charts based on your requirementsComponent Documentation (
component-usage-doc) - Access real-time usage documentation, API references, and examples for shadcn-vue componentsCode Generation (
component-builder) - Generate TypeScript-safe Vue component code integrating shadcn-vue and Tailwind CSS following best practicesQuality Assurance (
component-quality-check) - Validate components for accessibility (A11y), performance, and compliance with best practicesMulti-IDE Support - Seamless integration with Cursor, Trae, VSCode, and Cline
Design Consistency - Ensures all generated components adhere to unified design specifications and coding standards
Connects to the community Discord server for support and collaboration.
Provides access to the open-source shadcn-vue-mcp project repository for community contributions, bug reporting, and feature suggestions.
Enables AI-powered generation of Vue UI components using the shadcn-vue component library and Tailwind CSS, with intelligent component filtering, quality checking, and documentation access.
Generates type-safe Vue components with full TypeScript support, ensuring scalable and type-safe UI development.
Click on "Deploy 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., "@shadcn-vue-mcp create a login form with email, password, and remember me checkbox"
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.
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:
❌ Tedious Development Workflow: Constantly switching between the IDE, official documentation, and browser severely impacts development efficiency and focus.
❌ Difficulty in Component Selection: Faced with numerous components from
shadcn-vue, developers struggle to quickly find the best fit for their needs without intelligent recommendations.❌ High Repetitive Workload: Involves manually writing extensive boilerplate code and handling various component states and complex interaction logic.
❌ Insufficient Quality Assurance: It's easy to overlook quality standards like accessibility (A11y), performance optimization, and best coding practices, leading to inconsistent component quality.
❌ High Maintenance Costs: As the project grows, manually maintaining the style, behavior, and dependencies of all components becomes exceptionally difficult, making consistency hard to achieve.
Related MCP server: Shadcn Registry manager
✅ With shadcn-vue MCP
shadcn-vue MCP provides an intelligent UI component development experience that revolutionizes the traditional workflow:
✅ One-Stop Development Experience: Complete the entire process—from component selection and coding to preview—without ever leaving your editor, simply by describing your needs in natural language.
✅ Intelligent Component Recommendation: The
components-filtertool intelligently analyzes your requirements and recommends the most suitableshadcn-vuecomponents.✅ High-Quality Code Auto-Generation:
component-builderautomatically generates high-quality Vue component code that complies withshadcn-vueandtailwindcssstandards, with best practices built-in.✅ Built-in Quality Assurance:
component-quality-checkautomatically performs accessibility (A11y) and code quality checks on the generated code, ensuring professional-grade components.✅ Instant Documentation and Previews:
component-usage-docprovides real-time component documentation, APIs, and usage examples to get you started immediately.✅ Ensures High Design Consistency: All generated components strictly adhere to a unified design specification, ensuring visual and interactive consistency across the entire application and enhancing brand value.
🌟 Features
Natural Language Descriptions:
AI-Powered UI Generation: Create UI components by describing them in natural language
Multi-IDE Support:
Cursor IDE integration for seamless workflows.
Trae support for advanced AI-driven development.
VSCode support for a robust coding experience.
VSCode + Cline integration (Beta) for enhanced collaboration.
Modern Component Library:
Built on the shadcn-vue component library and tailwindcss for modern, responsive designs.
TypeScript Support:
Full TypeScript support ensures type-safe and scalable development.
Intelligent Documentation Query:
Real-time access to detailed shadcn-vue component documentation with integrated previews of usage and best practices.
Component Enhancement:
Accessibility: WCAG 2.1 compliant, keyboard navigation, ARIA support
Performance: Code splitting, tree shaking, optimized bundles
Consistency: Unified design system, consistent behavior patterns
Maintainability: Clean code architecture, well-documented components
Developer Experience: TypeScript support, hot reload, intuitive APIs
🚀 Getting Started
Prerequisites
Before you begin, ensure you have Node.js installed on your system.
Recommended Node.js version:
18.20.1or 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.
Qucik install: URL Quick Installation for copilot
First, you need to obtain a unique connection URL from the Smithery service that contains your personal credentials. Visit the shadcn-vue-mcp page on Smithery.
Step 1. Click the Generate URL button on the page.:
The system will generate a unique URL for you, which includes an API key for authentication. Copy this entire URL.
Step 2. Open vscode, open copilot and select Agent model, Next, add the URL you just obtained to your IDE's MCP configuration file.
In your IDE project, find or create the configuration file named mcp.json.
Add or merge the following JSON object into the servers field of that file.
Step 3: for vscode IDE, Select Add Server
Step 4: choose HTTP(HTTP or Server-Sent Events)
Step 5: paste the URL
Step 6: config like this:
{
"servers": {
"shadcn-vue-mcp": {
"url": "https://server.smithery.ai/@HelloGGX/shadcn-vue-mcp/mcp?api_key=xxxx&profile=linguistic-landfowl-TWeEt8"
}
}
}Config file locations:
Cursor:
~/.cursor/mcp.jsonTrae:
~/.Trae/mcp.jsonCline:
~/.cline/mcp_config.jsonClaude:
~/.claude/mcp_config.json
🛠️ Tool List & Core Features
Component Generation Tools
requirement-structuringAnalyzes natural language requirements
Converts user needs into structured JSON format
Considers core functionality and essential features
Built-in user interaction and edge case analysis
Documentation & Analysis Tools
component-usage-docReal-time access to shadcn-vue component documentation
Interactive preview of component variants
Built-in markdown rendering in browser
Detailed API and usage examples
Component Filtering & Management
components-filterSmart component recommendation system
Supports multi-language description parsing
Component relationship analysis
Usage frequency statistics and weighting
Code Quality & Testing
component-quality-checkAutomated code quality assessment
A11y (Accessibility) compliance checking
Performance optimization suggestions
Best practices validation
Smart Code Generation
component-builderAI-powered component generation
shadcn-vue and Tailwind CSS integration
TypeScript type safety
Built-in best practices implementation
Result Example
User: /ui create a flight display component
AI: Generated code as follows:

User: /check
AI: 
AI: Generated code as follows:
🤝 Contribution Guide
We welcome all forms of contributions! You can help us improve @agent/shadcn-vue by:
Reporting Bugs: If you find a bug, please create an issue in our GitHub repository.
Suggesting Enhancements: Have an idea for a new feature or an improvement? Let us know by creating an issue.
Submitting Pull Requests: We are happy to review and merge pull requests. Before making significant changes, please open an issue first to discuss your ideas.
The source code is open-sourced on GitHub.
👥 Community & Support
Discord Community - Join our active community
📝 License
Licensed under the Apache 2.0 License.
Available Tools
5 toolscomponent-builderB
Retrieve documentation for all filtered components and charts to prepare for component generation, This tool ONLY returns the text snippet for that UI component. After calling this tool, you must edit or add files to integrate the snippet into the codebase.
Inputs: components (required), charts (required), icon.
component-quality-checkB
Automatically check Vue component quality and provide detailed feedback. Use this tool when you need to validate component quality, accessibility, performance, and best practices compliance. or when mentions /check.
Inputs: componentCode (required).
components-filterC
filter components with shadcn/ui components and tailwindcss, Use this tool when mentions /filter
Inputs: message (required).
component-usage-docC
read usage doc of a component, Use this tool when mentions /doc.
Inputs: type (required), name (required).
requirement-structuringA
analyze the user's natural language and structure the requirements into a clear and structured component requirement document. Use this tool when the user requests a new UI component—e.g., mentions /ui, or asks for a button, input, dialog, table, form, banner, card, or other Vue component
Inputs: message (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Most tools have distinct purposes: component-builder retrieves documentation, component-quality-check validates quality, components-filter filters components, component-usage-doc reads usage documentation, and requirement-structuring analyzes user requirements. However, component-builder and component-usage-doc both involve documentation retrieval, which could cause some confusion, though their specific focuses differ (builder for generation prep vs. doc for usage details).
The naming follows a consistent pattern with a 'component-' prefix for four tools and a 'requirement-' prefix for one, all using kebab-case. While this is mostly consistent, the deviation with 'requirement-structuring' breaks the 'component-' pattern, though it still maintains readability and a clear verb-noun structure.
With 5 tools, the count is well-scoped for a server focused on shadcn-vue component management. Each tool serves a specific role in the component lifecycle, from requirement analysis to quality checking, without being overly sparse or bloated, fitting typical MCP server ranges.
The tool set covers key aspects of component handling: requirement analysis, documentation retrieval, filtering, quality checking, and usage documentation. However, there are minor gaps, such as no explicit tools for generating or updating components directly (component-builder only retrieves docs), which agents might need to work around by integrating with other systems.
Maintenance
Related MCP Connectors
BeautySpark MCP server for ChatGPT, Claude and other MCP clients
MCP server for Qwen Image 3 AI image generation
Official MCP server for Lovable, the AI-powered full-stack app builder.
MCP server for Google Veo AI video generation
Related MCP Servers
- AlicenseAqualityBmaintenanceA mcp server to allow LLMS gain context about shadcn ui component structure,usage and installation106,787 npm3,093MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for Shadcn UI, enabling automated, remote, or containerized project management via local or remote registries3 npm2MIT
- AlicenseAqualityCmaintenanceIntegrate Shadcn Space MCP server into your IDE to generate ready-to-use shadcn/ui components without guesswork.5215 npm3MIT
- AlicenseNot gradedqualityDmaintenanceThis MCP server provides tools to install and manage shadcn/ui components directly from AI coding agents.2MIT