Shadcn Vue MCP Server

平台与服务

by HelloGGX

Shadcn-vue MCP Server 是一款 AI 驱动工具,可通过自然语言快速生成现代化 UI 组件,集成 shadcn-vue 与 tailwindcss,并无缝连接主流 IDE。

把自然语言直接变成主流 IDE 里的 shadcn-vue 与 TailwindCSS 组件,能明显加快 Vue 界面搭建,尤其适合想少写样板代码的团队。

什么是 Shadcn Vue MCP Server

Shadcn-vue MCP Server 是一款 AI 驱动工具,可通过自然语言快速生成现代化 UI 组件,集成 shadcn-vue 与 tailwindcss,并无缝连接主流 IDE。

README

<div align="center"> <a href="https://smithery.ai/server/@HelloGGX/shadcn-vue-mcp"> <img src="https://github.com/HelloGGX/tailwindcss-mcp/raw/fast-agent/docs/logo1.png" alt="shadcnVue MCP Logo" max-height="450"> </a> <br />

A powerful AI Agent tool that helps developers instantly create high-quality UI components

GitHub forks GitHub stars GitHub commits smithery badge License Contributors

MseeP.ai Security Assessment Badge

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.

<div align="center"> 🌐 Available Languages: <a href="./docs/README-zh-CN.md"><img src="https://img.shields.io/badge/docs-中文版-yellow" alt="中文文档"></a> </div> </div> <a href="https://glama.ai/mcp/servers/@HelloGGX/shadcn-vue-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@HelloGGX/shadcn-vue-mcp/badge" alt="shadcn-vue-mcp MCP server" /> </a>

❌ 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.

✅ 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-filter tool intelligently analyzes your requirements and recommends the most suitable shadcn-vue components.
  • High-Quality Code Auto-Generation: component-builder automatically generates high-quality Vue component code that complies with shadcn-vue and tailwindcss standards, with best practices built-in.
  • Built-in Quality Assurance: component-quality-check automatically performs accessibility (A11y) and code quality checks on the generated code, ensuring professional-grade components.
  • Instant Documentation and Previews: component-usage-doc provides 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.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.

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.:

<img src="https://raw.githubusercontent.com/HelloGGX/shadcn-vue-mcp/fast-agent/docs/url.png" width="700" >

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.

  1. In your IDE project, find or create the configuration file named mcp.json.
  2. Add or merge the following JSON object into the servers field of that file.

Step 3: for vscode IDE, Select Add Server

<img src="https://raw.githubusercontent.com/HelloGGX/shadcn-vue-mcp/main/docs/add_server.png" width="600">

Step 4: choose HTTP(HTTP or Server-Sent Events)

<img src="https://raw.githubusercontent.com/HelloGGX/shadcn-vue-mcp/main/docs/choose_mcp_type.png" width="600">

Step 5: paste the URL

Step 6: config like this:

json
{
  "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.json
  • Trae: ~/.Trae/mcp.json
  • Cline: ~/.cline/mcp_config.json
  • Claude: ~/.claude/mcp_config.json

🛠️ Tool List & Core Features

Component Generation Tools

  • requirement-structuring
    • Analyzes 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-doc
    • Real-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-filter
    • Smart component recommendation system
    • Supports multi-language description parsing
    • Component relationship analysis
    • Usage frequency statistics and weighting

Code Quality & Testing

  • component-quality-check
    • Automated code quality assessment
    • A11y (Accessibility) compliance checking
    • Performance optimization suggestions
    • Best practices validation

Smart Code Generation

  • component-builder
    • AI-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:

UI Component Example

User: /check

AI: alt text

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

📝 License

Licensed under the Apache 2.0 License.

常见问题

Shadcn Vue MCP Server 是什么?

Shadcn-vue MCP Server 是一款 AI 驱动工具,可通过自然语言快速生成现代化 UI 组件,集成 shadcn-vue 与 tailwindcss,并无缝连接主流 IDE。

相关 Skills

Slack动图

by anthropics

Universal
热门

面向Slack的动图制作Skill,内置emoji/消息GIF的尺寸、帧率和色彩约束、校验与优化流程,适合把创意或上传图片快速做成可直接发送的Slack动画。

帮你快速做出适配 Slack 的动图,内置约束规则和校验工具,少踩上传与播放坑,做表情包和演示都更省心。

平台与服务
未扫描137.2k

MCP构建

by anthropics

Universal
热门

聚焦高质量 MCP Server 开发,覆盖协议研究、工具设计、错误处理与传输选型,适合用 FastMCP 或 MCP SDK 对接外部 API、封装服务能力。

想让 LLM 稳定调用外部 API,就用 MCP构建:从 Python 到 Node 都有成熟指引,帮你更快做出高质量 MCP 服务器。

平台与服务
未扫描137.2k

接口测试套件

by alirezarezvani

Universal
热门

扫描 Next.js、Express、FastAPI、Django REST 的 API 路由,自动生成覆盖鉴权、参数校验、错误码、分页、上传与限流场景的 Vitest 或 Pytest 测试套件。

帮你把API与集成测试自动化跑顺,减少回归漏测;能力全面,尤其适合复杂接口场景的QA团队。

平台与服务
未扫描15.4k

相关 MCP Server

Slack 消息

编辑精选

by Anthropic

热门

Slack 是让 AI 助手直接读写你的 Slack 频道和消息的 MCP 服务器。

这个服务器解决了团队协作中需要 AI 实时获取 Slack 信息的痛点,特别适合开发团队让 Claude 帮忙汇总频道讨论或发送通知。不过,它目前只是参考实现,文档有限,不建议在生产环境直接使用——更适合开发者学习 MCP 如何集成第三方服务。

平台与服务
85.9k

by netdata

热门

io.github.netdata/mcp-server 是让 AI 助手实时监控服务器指标和日志的 MCP 服务器。

这个工具解决了运维人员需要手动检查系统状态的痛点,最适合 DevOps 团队让 Claude 自动分析性能数据。不过,它依赖 NetData 的现有部署,如果你没用过这个监控平台,得先花时间配置。

平台与服务
78.9k

by d4vinci

热门

Scrapling MCP Server 是专为现代网页设计的智能爬虫工具,支持绕过 Cloudflare 等反爬机制。

这个工具解决了爬取动态网页和反爬网站时的头疼问题,特别适合需要批量采集电商价格或新闻数据的开发者。不过,它依赖外部浏览器引擎,资源消耗较大,不适合轻量级任务。

平台与服务
51.1k

评论