Vuetify MCP 标志

Vuetify MCP

组织
vuetifyjs

🤖 A Model Context Protocol (MCP) library for use with Agentic chat bots

发布者vuetifyjs
代码仓库mcp
语言TypeScript
复刻数
5
星标数
114
可用工具
9
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Vuetify MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 9 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 114 个 Star 和 5 个 Fork。

Model Context Protocol (MCP) server providing Vuetify component information and documentation to any MCP-compatible client or IDE.

Overview

The Vuetify Model Context Protocol (MCP) server bridges the gap between Vuetify's powerful component library and AI-assisted development environments. This integration enables seamless access to Vuetify's extensive component ecosystem directly within your development workflow.

This MCP server enables IDEs and other Model Context clients to assist with:

  • Generating Vuetify components with proper props and attributes
  • Creating common UI layouts and patterns following best practices
  • Providing comprehensive information about Vuetify features and APIs
  • Accessing installation guides, FAQs, and release notes without leaving your IDE
  • Working with @vuetify/v0 composables and headless components for building custom design systems

By connecting your development environment to the Vuetify MCP server, you gain AI-powered assistance that understands Vuetify's component structure, styling conventions, and implementation details.

Quick Start

Hosted HTTP Server (Easiest)

Two URLs. Use /mcp unless you subscribe to Vuetify One.

URLAuthTools
https://mcp.vuetifyjs.com/mcpnonedocs, APIs, install/upgrade guides
https://mcp.vuetifyjs.com/oneVuetify One OAuthdocs plus ecosystem sites (Bin, Play, Link, and the rest of One)

The claude CLI below is Claude Code, not Claude Desktop — see Claude Desktop for that GUI client.

bash
# Claude Code — public docs
claude mcp add --transport http vuetify-mcp https://mcp.vuetifyjs.com/mcp

# Optional — authenticate with Vuetify One
claude mcp add --transport http vuetify-one https://mcp.vuetifyjs.com/one

Grok Bot / Cursor Agents: add /mcp for docs (no Authorize card). Add /one to authenticate with Vuetify One; subscribers can then use ecosystem sites from that connector. Do not paste an API key.

Local Installation

Run Vuetify MCP locally:

bash
# Start the Vuetify MCP server
npx -y @vuetify/mcp

This command downloads and runs the latest version of the Vuetify MCP server, making it immediately available to your MCP-compatible clients.

Cursor / Agent Plugin

This repo is an Agent Plugins 1.0.0 package (plugin.json + mcp.json) that points compatible clients at the hosted server.

Local test: copy or symlink this repo to ~/.cursor/plugins/local/vuetify-mcp.

Configuration

You can configure the Vuetify MCP server in your IDE or client by running the interactive CLI or by manually updating your settings file.

Using the Interactive CLI

The interactive CLI provides the simplest way to configure your environment:

bash
# Configure for hosted remote server
npx -y @vuetify/mcp config --remote

# Or configure for local installation
npx -y @vuetify/mcp config

The CLI will:

  1. Detect supported IDEs on your system (VS Code, Claude, Cursor, Trae, Windsurf)
  2. Prompt you if multiple IDEs are found
  3. Apply the necessary settings automatically to your selected environment
  4. Use the hosted server (with --remote) or local installation

Manual Configuration

Below are the locations and JSON snippets for each supported environment. Copy the JSON into your client or IDE settings file at the specified path.

IDESettings File PathJSON Key Path
VSCode<user home>/.config/Code/User/settings.jsonmcp.servers.vuetify-mcp
Claude<user home>/Library/Application Support/Claude/claude_desktop_config.json (macOS)%APPDATA%\Claude\claude_desktop_config.json (Windows)mcpServers.vuetify-mcp
Cursor<user home>/.config/Cursor/User/mcp.jsonmcpServers.vuetify-mcp
Trae<user home>/.config/Trae/User/mcp.jsonmcpServers.vuetify-mcp
Windsurf<user home>/.config/Windsurf/User/mcp.jsonmcpServers.vuetify-mcp

Local stdio (most IDEs):

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "command": "npx",
      "args": ["-y", "@vuetify/mcp"]
    }
  }
}

Hosted remote server (most IDEs):

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "url": "https://mcp.vuetifyjs.com/mcp"
    },
    "vuetify-one": {
      "url": "https://mcp.vuetifyjs.com/one"
    }
  }
}

Omit vuetify-one unless you have a Vuetify One subscription.

Claude Desktop

Claude Desktop (the GUI app, distinct from the Claude Code CLI) does not support direct HTTP transport in claude_desktop_config.json — it only accepts stdio servers. Pick one of the configs below.

Local stdio:

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "command": "npx",
      "args": ["-y", "@vuetify/mcp"]
    }
  }
}

Hosted via mcp-remote bridge (consumes the hosted server over stdio):

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.vuetifyjs.com/mcp"]
    }
  }
}

Hosted via mcp-remote on Windows + WSL2:

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "command": "wsl",
      "args": ["npx", "-y", "mcp-remote", "https://mcp.vuetifyjs.com/mcp"]
    }
  }
}

After editing claude_desktop_config.json, fully quit and relaunch Claude Desktop. Logs (useful for debugging) are at <Claude folder>/logs/main.log — search for vuetify-mcp.

Authentication

Hosted /mcp needs no login. /one authenticates with Vuetify One so subscribers can access ecosystem sites — do not paste an API key there.

Local stdio or self-hosted HTTP can still use a Vuetify API key. How you pass it depends on transport:

Local stdio servers use environment variables:

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "command": "npx",
      "args": ["-y", "@vuetify/mcp"],
      "env": {
        "VUETIFY_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

HTTP/remote servers require headers (env vars don't work for HTTP transport):

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "type": "http",
      "url": "https://mcp.vuetifyjs.com/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_API_KEY>"
      }
    }
  }
}

The server accepts either Authorization: Bearer <token> or X-Vuetify-Api-Key: <token> headers.

VSCode local:

json
{
  "servers": {
    "vuetify-mcp": {
      "command": "npx",
      "args": ["-y", "@vuetify/mcp"],
      "env": {
        "VUETIFY_API_KEY": "<YOUR_API_KEY>",
        "GITHUB_TOKEN": "<YOUR_GITHUB_TOKEN>"
      }
    }
  }
}

VSCode remote:

json
{
  "servers": {
    "vuetify-mcp": {
      "url": "https://mcp.vuetifyjs.com/mcp"
    }
  }
}

WSL (Windows Subsystem for Linux)

If you prefer to run the MCP server from Windows using WSL:

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "command": "wsl.exe",
      "args": [
        "bash",
        "-c",
        "/home/<user>/.nvm/versions/node/<version>/bin/node /home/<user>/sites/mcp/dist/index.js"
      ]
    }
  }
}

Replace <user> and <version> with your actual WSL username and Node.js version.

Self-Hosted HTTP Server

Run your own HTTP server for remote access:

bash
# Start with HTTP transport
npx -y @vuetify/mcp --transport=http --port=3000 --host=0.0.0.0 --stateless

Configuration:

json
{
  "mcpServers": {
    "vuetify-mcp": {
      "url": "http://your-server:3000/mcp"
    }
  }
}

CLI Arguments:

  • --transport=http - Enable HTTP transport
  • --port=3000 - Port number (default: 3000)
  • --host=0.0.0.0 - Host address (default: localhost)
  • --path=/mcp - Endpoint path (default: /mcp)
  • --stateless - Stateless mode (recommended for public servers)

Features

The Vuetify MCP server provides a comprehensive set of tools to enhance your development experience. These tools are automatically available to any MCP-compatible client once the server is configured.

API Tools

  • get_vuetify_api_by_version: Download and cache Vuetify API types by version. Supports all major Vuetify versions (2.x and 3.x).
  • get_component_api_by_version: Return the API list for a specific Vuetify component, including props, events, slots, and exposed methods.
  • get_directive_api_by_version: Return the API information for a specific Vuetify directive (e.g., v-ripple, v-scroll). Includes directive description, arguments, default values, and source reference.

Documentation Tools

  • get_installation_guide: Get detailed installation guides for various environments, including Vue CLI, Nuxt, Vite, and manual installation methods.
  • get_available_features: Get a list of available Vuetify features, including components, directives, and composables.
  • get_exposed_exports: Get a list of exports from the Vuetify npm package, useful for understanding what can be imported directly.
  • get_frequently_asked_questions: Get the FAQ section from the Vuetify docs, providing answers to common questions and issues.
  • get_release_notes_by_version: Get release notes for one or more Vuetify versions, helping you understand changes between versions.
  • get_vuetify_one_installation_guide: Get the README contents for @vuetify/one package from GitHub.

Upgrade (v2 → v3)

Start with get_v3_upgrade_playbook. Target Vuetify 3.13 LTS — do not jump to v4.

  • get_v3_upgrade_playbook: Ordered phases (baseline e2e, Vue 3 prerequisite, bundler/Nuxt, eslint --fix, component map, breaking-change scan).
  • get_v3_upgrade_baseline_recipe: Playwright recipe for upgrade-baseline/ before the bump and upgrade-after/ after. Functional tests are the source of truth; screenshots are classified, not a CI gate.
  • get_v2_to_v3_component_map: v2 component → v3.13 status (core, renamed, removed, replaced).
  • get_v3_breaking_changes: Filterable v2 → 3 catalog, including a gotchas category.
  • get_upgrade_guide: Full markdown. Use version: "v2.7" for v2 → 3 (fetched from v3-stable).

Prompt: upgrade-v2-to-v3.

Upgrade (v3 → v4)

  • get_upgrade_guide: Use version: "v3".
  • get_v4_breaking_changes: Filterable Vuetify 4 breaking changes.

Vuetify0 (@vuetify/v0) Tools

Support for @vuetify/v0, a headless meta-framework providing unstyled components and composables for building design systems:

  • get_vuetify0_installation_guide: Get installation and usage instructions for @vuetify/v0 from GitHub.
  • get_vuetify0_package_guide: Get package-specific documentation for @vuetify/v0.
  • get_vuetify0_composable_list: List all 71 composables organized by category (foundation, registration, selection, forms, system, plugins, data, reactivity, transformers).
  • get_vuetify0_component_list: List all 40 headless components available in @vuetify/v0.
  • get_vuetify0_composable_guide: Get detailed documentation and source code for specific composables.
  • get_vuetify0_component_guide: Get detailed documentation and source code for specific components.

Project Structure

The Vuetify MCP server follows a modular architecture that separates concerns and makes the codebase easier to navigate and extend:

text
vuetify-mcp/
├── bin/
│   └── cli.js          # CLI entry point with argument handling
├── src/
│   ├── index.ts        # Main server entry point
│   ├── services/       # Core business logic
│   │   ├── api.ts         # API-related services
│   │   ├── documentation.ts # Documentation services
│   │   └── vuetify0.ts    # @vuetify/v0 services
│   ├── tools/          # MCP tool definitions
│   │   ├── api.ts         # API tools
│   │   ├── documentation.ts # Documentation tools (includes @vuetify/v0)
│   ├── transports/     # Transport implementations
│   │   └── http.ts        # HTTP transport with stateless/stateful modes
│   └── cli/            # Interactive CLI configuration
├── package.json
├── tsconfig.json
└── README.md

This structure makes it easy to locate specific functionality and extend the server with new features.

Development

If you want to contribute to the Vuetify MCP server or customize it for your own needs, follow these steps to set up your development environment:

bash
# Install dependencies
pnpm install

# Run development server
pnpm dev

The development server will start with hot-reloading enabled, allowing you to see your changes immediately.

Adding New Features

To add new features or extend existing ones:

  1. Add or update service methods in the appropriate service file (e.g., src/services/component.ts)
  2. Register the tool in the corresponding tools file (e.g., src/tools/component.ts)
  3. Build and test your changes

MCP SDK Integration

This project uses the @modelcontextprotocol/sdk package to create a Model Context Protocol server that Claude and other AI assistants can interact with. The MCP architecture enables AI assistants to:

  • Call specific tools defined in the server
  • Receive structured responses in a standardized format
  • Provide a better experience for Vuetify-related inquiries

The implementation follows the standard MCP patterns with:

  • Server initialization using McpServer class
  • Parameter validation with Zod schemas for type safety
  • Multiple transport options: stdio (default) and HTTP with session management

Example Tool Implementation

Here's a simplified example of how a tool is implemented in the Vuetify MCP server:

typescript
// In src/tools/component.ts
import { z } from 'zod';
import { componentService } from '../services/component';

export const getComponentApiByVersion = {
  name: 'get_component_api_by_version',
  description: 'Return the API list for a Vuetify component',
  parameters: z.object({
    component: z.string().describe('The component name (e.g., "VBtn")'),
    version: z.string().optional().describe('Vuetify version (defaults to latest)')
  }),
  handler: async ({ component, version }) => {
    return componentService.getComponentApi(component, version);
  }
};

Troubleshooting

Common Issues

  • Server Not Starting: Ensure you have Node.js 16 or higher installed
  • Configuration Not Working: Verify the paths and JSON structure in your settings file
  • Missing API Information: Check that you're using a supported Vuetify version

Getting Help

If you encounter issues not covered here, please:

  1. Check the GitHub issues for similar problems
  2. Join the Vuetify Discord for community support
  3. Open a new issue with detailed reproduction steps

Version Compatibility

The Vuetify MCP server is compatible with:

  • Vuetify 3.x
  • Node.js 22 and higher
  • All major MCP-compatible clients (Claude, VSCode, etc.)

License

Vuetify MCP is available under the MIT software license.

Copyright (c) 2025-present Vuetify, LLC

安装

TypingMind
{
  "mcpServers": {
    "vuetifyjs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vuetify/mcp"
      ]
    }
  }
}

可用工具

  • get_vuetify_api_by_version

    Download and cache Vuetify API types by version

  • get_component_api_by_version

    Return the API list for a Vuetify component

  • get_directive_api_by_version

    Return the API information for a Vuetify directive

  • get_installation_guide

    Get detailed information about how to install Vuetify in a variety of environments.

  • get_feature_guides

    Get a list of available features in the documentation.

  • get_feature_guide

    Get the information about a specific feature in the documentation.

  • get_exposed_exports

    Get a list of exports from the Vuetify npm package

  • get_frequently_asked_questions

    Get a list of frequently asked questions about Vuetify.

  • get_release_notes_by_version

    Get release notes for one or more versions of Vuetify.

将 Vuetify MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Vuetify MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Vuetify MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Vuetify MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "vuetifyjs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@vuetify/mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Vuetify MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Vuetify MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Vuetify MCP 帮我完成这项任务吗?
Vuetify MCP
当然。我已阅读。
以下是我使用 Vuetify MCP 得到的结果。

常见问题

Vuetify MCP MCP 服务器有什么用途?

Vuetify MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Vuetify MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Vuetify MCP,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Vuetify MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Vuetify MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Vuetify MCP MCP 连接到 TypingMind?

Vuetify MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Vuetify MCP MCP 在 TypingMind 中提供哪些工具?

Vuetify MCP 提供 9 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Vuetify MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Vuetify MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

install-vuetify

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇