
Yuque Mcp
io.github.yuque由 GitHub 帳號 yuque 發布v0.1.4更新於 Oct 24, 2026
MCP server for Yuque — expose your knowledge base to AI assistants.
概覽
讓 AI 助理讀寫語雀知識庫:搜尋、列出、建立與更新知識庫、文件、小記與畫板。
- 可以做什麼
- 這是一個本機 stdio MCP 伺服器,將 19 個工具對應到語雀 API 路由。它可以取得目前權杖對應的使用者、搜尋文件或儲存庫、列出與管理知識庫、以 markdown、lake 或 html 讀取並建立、更新文件、讀取與調整知識庫目錄、管理小記,以及在文件中讀取或建立心智圖、流程圖等畫板。留言、附件上傳、權限與成員管理尚未涵蓋。
- 適用情境
- 當你的筆記、文件或團隊知識存放在語雀,並希望助理直接搜尋、摘要,或起草並歸檔新文件與會議紀錄而不必切換應用程式時,適合使用。
- 執行需求
- 需要 Node.js v18 或更新版本,因為它透過 npx 在本機執行。必須提供語雀 API 權杖,可透過 YUQUE_TOKEN(或舊版 YUQUE_PERSONAL_TOKEN、YUQUE_GROUP_TOKEN)或 --token 參數傳入。若使用綁定空間的團隊權杖或私有部署,需設定 YUQUE_HOST 或 --host。需要能連線至語雀的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Yuque Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Yuque MCP Server
Let AI assistants read and write your Yuque (语雀) knowledge base
through the Model Context Protocol.
[CI] [npm version] [npm downloads] [License]
Quick Start · Tools · Troubleshooting · Docs · 中文文档
Once connected, ask your assistant things like:
"Search my Yuque for everything about canary releases and give me a one-page summary."
"Turn today's meeting notes into a doc in my Tech Research book."
"Add a flowchart of this deployment pipeline to the design doc."
Quick Start
1. Get a token — create one at Yuque Developer Settings. If you use a team token bound to a Yuque space, also note the space host (e.g. https://your-space.yuque.com) — you will pass it as --host.
2. Install — one command locates the right config file for your OS and merges a yuque entry into it, without touching other servers:
Supported clients: claude-desktop · vscode · cursor · windsurf · cline · trae · qoder · opencode. Prefer an interactive flow? Run npx yuque-mcp setup.
Claude Code
Register the server directly:
Other MCP clients (generic config)
Any client that supports stdio transport works — see docs/clients.md for per-client config paths.
3. Restart your client and start asking.
Configuration
Site roots are normalized to /api/v2; when unset, the host defaults to https://www.yuque.com/api/v2.
Migrating from an older config?
YUQUE_PERSONAL_TOKEN, YUQUE_BASE_URL, and --base-url still work as legacy fallbacks. Precedence: YUQUE_TOKEN > YUQUE_PERSONAL_TOKEN > --token, and YUQUE_HOST > --host > YUQUE_BASE_URL > --base-url. New configs should use YUQUE_TOKEN and YUQUE_HOST.
Tools (19)
Each tool maps to exactly one Yuque API route.
In particular, yuque_update_doc cannot combine a markdown body with title / slug / public changes in a single call — update metadata separately. The full contract, including format routing between the YMD markdown API and the legacy document API, is documented in docs/capability-scope.md.
Not covered (yet): comments, attachment upload and file management, permission and member management, section-level doc edits, and structured resources other than boards.
Write access
The create/update tools modify real content in your knowledge base, and the server can do whatever your token can do. Keep the token secret, and prefer a space-scoped team token (with YUQUE_HOST) when you only work within one space. To report a vulnerability, see SECURITY.md.
Troubleshooting
Development
Architecture, tech stack, and the full tool contract live in docs/. Contributions are welcome — see CONTRIBUTING.md.
Links
- Yuque API docs
- Model Context Protocol
- Yuque AI Ecosystem — skills and plugins built on top of this server
License
來源:README.md,提交 757a408
工具
0版本歷史
1- v0.1.4最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分