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 分