Vueuse Mcp

io.github.kovoor由 GitHub 账号 kovoor 发布v1.0.0更新于 Oct 24, 2026

Search, browse, and get suggestions for VueUse composables

已验证STDIO仅桌面知识与记忆开发者工具

概览

AI 生成的概览

让编程助手在编写 Vue 代码时搜索 VueUse 组合式函数文档、阅读完整文档并获取建议。

可以做什么
这个本地 MCP 服务器把 VueUse 文档提供给 AI 编程助手。工具包括 search_composables(按名称、关键词或概念返回排序结果)、get_composable_docs(获取签名、类型、选项、示例和相关函数等完整文档)、suggest_composable(用自然语言描述用例并获得带取舍的排序建议)以及 list_categories(列出分类及组合式函数数量)。助手会在协助写代码时自行调用这些工具。
适用场景
适合使用 VueUse 编写 Vue 代码、希望助手引用正确 API、选项和类型而不是凭猜测作答的场景。最适合已经使用或计划使用 VueUse 的项目,以及能在编码过程中调用工具的助手。
运行要求
通过 stdio 在本地运行,通常用 npx vueuse-mcp 启动,因此需要 Node.js 和 npm。正常使用无需认证、环境变量或请求头。GITHUB_TOKEN 仅在开发时刷新抓取数据时被提及。
安装前请注意
内置的组合式函数数据抓取自 VueUse 的 GitHub 仓库,可能落后于最新版本;更新需要执行抓取和构建步骤。可选的 GITHUB_TOKEN 仅用于抓取时避免速率限制。未描述任何写入、发送或删除操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Vueuse Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

VueUse MCP

MCP server that gives AI coding agents instant access to VueUse documentation — search composables, read docs, and get suggestions.

How It Works When You Code

This is an MCP (Model Context Protocol) server. When you connect it to an AI coding agent like Claude Code, the agent can automatically look up VueUse documentation while helping you write code.

For example, if you ask "help me track the mouse position in Vue," the agent will:

  1. Call search_composables or suggest_composable to find relevant composables
  2. Call get_composable_docs to read the full documentation for useMouse
  3. Write code using the correct API, options, and types — without you needing to look anything up

You don't need to manually call any tools. The agent decides when to use them based on your questions.

Quick Start

Claude Code

bash
claude mcp add vueuse-mcp -- npx vueuse-mcp

Codex CLI

Add to your MCP config:

json
{  "servers": {    "vueuse": {      "command": "npx",      "args": ["vueuse-mcp"]    }  }}

OpenCode

Add to your opencode.json:

json
{  "mcp": {    "vueuse": {      "command": "npx",      "args": ["vueuse-mcp"]    }  }}

Available Tools

ToolDescription
search_composablesSearch by name, keyword, or concept. Returns ranked results with descriptions.
get_composable_docsGet full docs for a composable — signature, types, options, examples, related functions.
suggest_composableDescribe a use case in natural language and get ranked suggestions with trade-offs.
list_categoriesList all categories with composable counts. Optionally filter by package.

Keeping Data Fresh

The composable data is scraped from the VueUse GitHub repo. To update:

bash
npm run scrape && npm run build

Set a GITHUB_TOKEN environment variable to avoid rate limits during scraping. See .env.example.

Development

bash
git clone https://github.com/kovoor/vueuse-mcp.gitcd vueuse-mcpnpm installnpm run scrape    # fetch composable data from GitHubnpm run build     # compile TypeScriptnpm start         # run the server

Contributing

See CONTRIBUTING.md for how to add tools, update the scrape pipeline, and submit PRs.

来源:README.md,提交 c0339d4

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分