Varlet MCP Server
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Varlet MCP Server
π Guides
π Quick Start - Get up and running in 5 minutes
π User Guide - A comprehensive guide to usage
π§ Troubleshooting - Solutions to common problems
Related MCP server: TailwindCSS MCP Server
π Features
π Component API Access: Get detailed information about Varlet UI components, props, events, and slots.
π Documentation Tools: Access installation guides, feature documentation, and best practices.
π― Smart Prompts: Pre-built prompts for component usage, layout design, and troubleshooting.
π Performance Optimized: Built-in caching and efficient data retrieval.
π Multi-language Support: Support for internationalization.
π Version Management: Support for multiple Varlet UI versions.
π± Mobile First: Optimized for mobile development workflows.
π οΈ Developer Experience: Rich tools and debugging features.
π¦ Installation
Prerequisites
Node.js 18+
npm or pnpm
Claude Desktop or other MCP-compatible client
Install from npm (Recommended)
npm install -g @varlet/mcpInstall from Source
git clone https://github.com/varletjs/varlet-mcp.git
cd varlet-mcp
pnpm install
pnpm run build
npm linkVerify Installation
varlet-mcp-server --versionπ Usage
{
"mcpServers": {
"varlet-ui": {
"command": "npx",
"args": [
"-y",
"@fe-fast/varlet-mcp"
],
"env": {
"VARLET_VERSION": "latest",
"CACHE_TTL": "3600000"
}
}
}
}Integration with Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"varlet-ui": {
"command": "varlet-mcp-server",
"args": [],
"env": {
"VARLET_VERSION": "latest",
"CACHE_TTL": "3600000"
}
}
}
}Integration with Other MCP Clients
Start the server directly:
varlet-mcp-serverOr use npx:
npx @varlet/mcpUsage Examples in Claude
Once configured, you can ask Claude questions like:
"How do I use the Varlet Button component?"
"Show me the installation guide for Vite"
"What are the props for var-input?"
"Generate a mobile layout using Varlet components"
"Help me migrate from Element Plus to Varlet"
π οΈ Available Tools
API Tools
Tool | Description | Parameters |
| Downloads and caches Varlet API types |
|
| Gets detailed component API information |
|
| Gets directive API information |
|
| Gets a list of all available components |
|
Documentation Tools
Tool | Description | Parameters |
| Gets installation instructions |
|
| Gets a list of available features | - |
| Gets a detailed feature guide |
|
| Gets a list of package exports | - |
| Gets the content of frequently asked questions | - |
| Gets release notes for a version |
|
| Gets playground examples |
|
Smart Prompts
Prompt | Description | Use Case |
| Generates component usage examples | Learning component APIs |
| Generates layout design suggestions | Building application layouts |
| Generates migration guides | Switching from other UI libraries |
| Generates troubleshooting guides | Debugging issues |
| Generates optimization guides | Improving application performance |
π Resources
The server provides several structured resources:
Resource URI | Content Type | Description |
|
| A complete list of Varlet components, categorized |
|
| Available directives with usage examples |
|
| Utility functions, services, and helpers |
|
| A quick start guide with code examples |
Resource Example
// Access the component list
const components = await mcp.readResource('varlet://api/components')
// Get the quick start guide
const guide = await mcp.readResource('varlet://examples/quick-start')π§ Development
Setup
git clone https://github.com/varletjs/varlet-mcp.git
cd varlet-mcp
pnpm installDevelopment Mode
pnpm run devBuild
pnpm run buildTesting
pnpm testLinting
pnpm run lint
pnpm run lint:fixTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
Versioned documentation registry and semantic search for AI tools and coding assistants.
Your personal cookbook for AI assistants β search, save and adapt recipes, versions and notes.
The docs, rules, blocks, charts and design tokens of nuvui, a React UI library, for coding agents.
AI image, video & audio generation tools for AI agents, powered by Varoriya.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides AI assistants with comprehensive Ant Design component documentation, examples, API references, and best practices. Supports multiple versions and enables natural language queries for React UI component development.7 npm3-
- AlicenseBqualityDmaintenanceProvides comprehensive tools for TailwindCSS development including utility class retrieval, CSS-to-Tailwind conversion, and color palette generation. It enables AI assistants to search documentation, generate component templates, and provide framework-specific installation guides.82,874 npm41MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to access documentation of Vue UI components, including props, events, and slots, for generating correct usage code.7MIT

@vaneui/mcpofficial
AlicenseAqualityBmaintenanceEnables AI coding agents to read VaneUI's component reference, guides, and per-component prop tables on demand, and to search the full docs corpus for prop names, defaults, and Tailwind class mappings.32,985 npm1MIT