Yuque MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YUQUE_COOKIE | Yes | 语雀 Cookie(单个 _yuque_session 的值或完整的 Cookie 字符串)。可以是仅 _yuque_session 的值,也可以是完整的 Cookie 字符串(如:lang=zh-cn; _yuque_session=xxx; yuque_ctoken=xxx; current_theme=default) | |
| YUQUE_BASE_URL | No | 语雀基础 URL。企业私有部署时需要设置,公有云用户可以不设置。 | https://www.yuque.com |
| YUQUE_NAMESPACE | No | 默认知识库命名空间。格式为 username/repo,支持中文(如:username/repo 或 用户名/知识库名)。设置后可以直接通过 slug 获取文档,无需每次指定命名空间。 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get-yuque-docA | 从语雀 URL 或命名空间+slug 获取文档的详细信息。 支持的输入格式:
返回的信息包括:
|
| get-yuque-tocB | 获取语雀知识库的完整目录结构(TOC)。 可以查看知识库中所有文档的层级结构、标题和 slug。 |
| search-yuque-docsC | 在指定的知识库中搜索文档。 会在文档标题和描述中进行关键词匹配。 |
| list-yuque-docsC | 列出指定知识库中的所有文档。 返回文档列表,包括标题、slug、更新时间等基本信息。 |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose with no overlap: get-yuque-doc retrieves a single document's details, get-yuque-toc fetches a knowledge base's table of contents, list-yuque-docs lists all documents in a knowledge base, and search-yuque-docs searches within a knowledge base. The descriptions clearly differentiate these operations, eliminating any ambiguity.
All tool names follow a consistent verb-noun pattern with hyphens: get-yuque-doc, get-yuque-toc, list-yuque-docs, and search-yuque-docs. The naming is uniform, predictable, and readable, with no deviations in style or convention.
With 4 tools, the server is well-scoped for basic document retrieval and navigation in Yuque, covering core operations like fetching, listing, searching, and getting TOC. However, it lacks CRUD operations (e.g., create, update, delete), making it slightly under-equipped for a full document management system, though reasonable for a read-only interface.
The tool set provides good read-only coverage for accessing and navigating Yuque documents and knowledge bases, but there are notable gaps in CRUD operations (no create, update, or delete tools) and other lifecycle actions like commenting or version management. This limits agents to retrieval tasks without full document management capabilities.