Skip to main content
Glama

A full-featured Yuque (语雀) MCP Server built on the Model Context Protocol. Provides 65 fine-grained tools across 13 domains — 45 Yuque OpenAPI endpoints plus 20 web-API tools requiring a browser session cookie.

Why

  • 19 → 65 tools — 3x more coverage than the official yuque-mcp-server

  • Dual transport — stdio + HTTP SSE, shared registry, zero downtime on reload

  • Modular architecture — 13 domains, barrel exports, single source of truth registry

  • Full API coverage — group, recycle, upload, statistics, versions, boards — all the missing pieces

  • Skill layer — 67 usage guides for AI agents

Related MCP server: WikiJS MCP Server

Table of Contents

Quick Start

cd server
npm install
npm run build

# Copy config template
cp ../config/config.example.json ../config/config.json
# Edit config.json with your Yuque API token

# Run
npm start              # stdio mode
npm run dev:http       # HTTP SSE mode (http://localhost:3099)

Note: npm run dev:http uses tsx for hot-reload during development, but it shares the production HTTP entry — it also requires YUQUE_MCP_HTTP_TOKEN or the process exits.

Install from npm (no clone needed)

npm install -g yuque-ai-mcp
yuque-mcp            # stdio transport
yuque-mcp-http       # HTTP SSE transport (needs YUQUE_MCP_HTTP_TOKEN)

# or run straight from the registry without a global install
npx -y -p yuque-ai-mcp yuque-mcp

The package ships two binaries: yuque-mcp (stdio, what MCP clients should point at) and yuque-mcp-http (SSE). Config is read from --config <path> first, then ./yuque-config.json, then ~/.yuque-mcp/config.json (there is no environment-variable token override — the token must be in the config file).

Windows: when a client config rejects npx, use "command": "npx.cmd" (PowerShell) or "command": "node", "args": ["C:/path/to/node_modules/yuque-ai-mcp/dist/cli.js"]. If PowerShell blocks .ps1 shims, call npx.cmd instead of npx.

Export output is sandboxed by default

yuque_export_repo / yuque_export_doc / yuque_export_resources only write inside the current working directory (or YUQUE_EXPORT_ROOT); absolute paths outside it return INVALID_OUTPUT_DIR instead of writing. To allow another location:

export YUQUE_EXPORT_ROOT="/path/to/exports"

HTTP / SSE mode requires an access token

dist/http.js exposes all tools over the network, so it refuses to start unless a shared token is set:

export YUQUE_MCP_HTTP_TOKEN="$(node -e "console.log(require('crypto').randomBytes(24).toString('hex'))")"
npm run start:http                        # binds 127.0.0.1:3099 by default
curl http://127.0.0.1:3099/health         # /health stays public
curl -N "http://127.0.0.1:3099/sse?token=$YUQUE_MCP_HTTP_TOKEN"

Clients that can set headers should send Authorization: Bearer <token> instead of the query parameter (browsers' EventSource cannot set headers, hence the query form). Optional env: HOST (default 127.0.0.1), PORT (default 3099), YUQUE_MCP_CORS_ORIGINS (comma-separated allowlist; empty means no CORS headers), YUQUE_TRUSTED_RESOURCE_HOSTS (host allowlist for resource downloads in yuque_export_resources, default yuque.com,nlark.com,yuque.net). Set DEBUG=1 to log retry attempts to stderr.

Tool Overview

Domain

Tools

Highlights

doc

15

CRUD, versions, diff, batch get, import URL/file, cross-book copy, export, resource download

repo

8

CRUD, batch get, cross-book copy, full export (TOC-structure + INDEX/GRAPH)

toc

3

Get, update, batch update (createTitle/appendNode/removeNode/moveNode)

search

3

General search + RAG-enhanced search + Cookie web search

user

3

User info, heartbeat, group list

group

3

Member list, role change, delete member

statistic

4

Group/member/repo/doc statistics

note

4

CRUD + soft-delete/restore

recycle

3

List, restore, destroy (Cookie auth)

upload

1

File upload to Yuque CDN (Cookie auth)

board

3

Mindmap, flowchart, architecture diagram

mine

7

Book stacks (⚠️ keep each stack at or under 200 books: the API returns at most 200 per stack — a response window, not a capacity cap, so extras stay in the stack but are neither returned nor shown), editor center, update/sort book stack (Cookie auth)

web_doc

8

Web API: get/list docs, repos, TOC, move/copy/delete catalog nodes (Cookie auth)

Total

65

Auth split: 45 tools use the OpenAPI (X-Auth-Token); 20 are Web API requiring Cookie + x-csrf-token — web_doc (8), mine (7), recycle (3), upload (1), web_search (1).

All 65 Tools

Tool

Domain

Description

yuque_hello

user

心跳检测,验证 Token 有效性

yuque_get_user

user

获取当前 Token 的用户详情

yuque_get_user_groups

user

获取用户所属的团队列表

yuque_search

search

通用搜索文档/知识库

yuque_rag_search

search

RAG 检索增强搜索 + 自动获取文档内容

yuque_web_search

search

Cookie 态 Web 搜索,返回完整文档对象 + 精确总数 + 高亮摘要

yuque_get_group_users

group

获取团队成员列表

yuque_update_group_user

group

变更团队成员角色

yuque_delete_group_user

group

删除团队成员

yuque_list_docs

doc

获取知识库文档列表

yuque_create_doc

doc

创建文档

yuque_get_doc

doc

获取文档详情(支持 ID 或 slug)

yuque_update_doc

doc

更新文档

yuque_delete_doc

doc

删除文档

yuque_batch_get_docs

doc

批量获取文档详情(max 20)

yuque_get_doc_versions

doc

获取文档历史版本列表

yuque_get_doc_version_detail

doc

获取文档历史版本详情

yuque_diff_doc_versions

doc

对比两个版本的行级差异

yuque_copy_doc

doc

单文档跨库复制

yuque_export_doc

doc

导出单篇文档为 Markdown 文件

yuque_export_resources

doc

下载文档中的图片/附件到本地

yuque_import_url

doc

从网页 URL 导入文档

yuque_import_file

doc

从本地文件导入文档

yuque_embed_url

doc

生成文档嵌入阅读器 URL

yuque_get_toc

toc

获取知识库目录

yuque_update_toc

toc

更新知识库目录

yuque_batch_update_toc

toc

批量更新目录(createTitle/appendNode/removeNode/moveNode/prependDoc)

yuque_list_repos

repo

获取知识库列表(用户/团队)

yuque_create_repo

repo

创建知识库

yuque_get_repo

repo

获取知识库详情

yuque_update_repo

repo

更新知识库

yuque_delete_repo

repo

删除知识库

yuque_batch_get_repos

repo

批量获取知识库详情(max 20)

yuque_copy_repo

repo

批量跨库复制(LLM 分类 + 目录重建)

yuque_export_repo

repo

批量导出知识库为 Markdown(按 TOC 目录结构)

yuque_get_group_statistics

statistic

获取团队汇总统计数据

yuque_get_member_statistics

statistic

获取团队成员统计数据

yuque_get_book_statistics

statistic

获取团队知识库统计数据

yuque_get_doc_statistics

statistic

获取团队文档统计数据

yuque_list_notes

note

获取小记列表

yuque_get_note

note

获取小记详情

yuque_create_note

note

创建小记

yuque_update_note

note

更新小记

yuque_list_recycles

recycle

列出回收站项目(Cookie)

yuque_restore_recycle

recycle

恢复回收站项目(Cookie)

yuque_destroy_recycle

recycle

彻底删除回收站项目(Cookie)

yuque_upload_attachment

upload

上传文件到语雀 CDN(Cookie)

yuque_get_board

board

获取文档中的画板资源

yuque_create_board

board

在文档中创建画板资源

yuque_update_board

board

更新文档中的画板资源

yuque_get_book_stacks

mine

获取知识库分组(书架)列表(Cookie)

yuque_get_editor_center

mine

获取个人编辑中心全景数据(Cookie)

yuque_create_book_stack

mine

创建知识库分组(书架),内部 create 后自动改名(Cookie)

yuque_rename_book_stack

mine

重命名知识库分组(书架)(Cookie)

yuque_update_book_stack

mine

移动知识库到指定分组(书架)(Cookie)

yuque_sort_book_stack

mine

排序知识库分组(书架)(Cookie)

yuque_delete_book_stack

mine

删除知识库分组(书架),需 confirm='DELETE'(Cookie)

yuque_web_get_doc

web_doc

Cookie 态读文档正文(含 body/content),不受会员过期限流;id 支持文档 slug

yuque_web_list_docs

web_doc

Cookie 态列文档列表,更丰富的字段

yuque_web_list_repos

web_doc

Cookie 态列知识库列表,含权限信息

yuque_web_get_toc

web_doc

Cookie 态获取知识库目录 TOC

yuque_web_delete_doc

web_doc

Cookie 态删除文档(移入回收站,v2 被限流时的备用通道)

yuque_web_move_catalog_node

web_doc

Cookie 态移动目录节点

yuque_web_copy_catalog_node

web_doc

Cookie 态复制目录节点

yuque_web_batch_move_catalog_nodes

web_doc

Cookie 态批量移动目录节点

See SKILL.md or yuque-ai-skills for full tool documentation with parameters and examples.

vs Official

Feature

Official yuque-mcp-server

yuque-ai-mcp

Tools

19

65

Granularity

Coarse

Fine-grained (1 tool / endpoint)

Group, Recycle, Upload, Statistics

❌

✅

Versions, Diff, Cross-book Copy

❌

✅

Transport

stdio only

stdio + HTTP SSE

Config

Env var

config.json (token + cookie)

Skill Layer

❌

✅ 67 guides

Architecture

server/src/
├── common/              # Shared: config, errors, types, format, validate,
│                        # api-client, web-request, register-tools, copy/export common,
│                        # toc-cache (configurable TTL), text-utils
├── user/ search/ group/ doc/ toc/ repo/ statistic/
├── note/ recycle/ upload/ board/ mine/ web-doc/
├── index.ts             # stdio entry
└── http.ts              # HTTP SSE entry (port 3099)

Configuration

{
  "token": "Your Yuque API Token",
  "api_base": "https://www.yuque.com/api/v2",
  "cookie": "Optional, for recycle/upload features",
  "ctoken": "Optional, extracted from Cookie"
}
  • toc_cache_ttl_minutes: TOC cache TTL in minutes (default 60). Set higher to reduce API calls, lower for fresher data.

Error Handling

Unified error handling with structured responses (HTTP status + message + response summary). All tools share the same error pipeline.

Key errors:

  • book_full — Auto-expands by creating a new repo and appending to the book_id array

  • 401 / 403 — Token/permission issues

  • 429 — Rate limit with automatic retry

See references/api/errors.md for the full error code reference.

Contributing

git clone https://github.com/yehuoshun/yuque-ai-mcp.git
cd yuque-ai-mcp/server
npm install
npm run build

# New tool checklist:
# 1. Create server/src/{domain}/{tool}.ts
# 2. Export in {domain}/index.ts + append to tools array
# 3. npx tsc
# 4. Restart HTTP server + curl health
# 5. Sync yuque-ai-skills
# 6. Update README
# 7. Sync awesome-list entries when tool/domain count changes

Both yuque-ai-mcp and yuque-ai-skills are kept in sync.

Maintenance

This project is listed in these directories. When the tool count or domain count changes, sync the entries (they mention "65 tools" / "13 domains"):

Tech Stack

  • TypeScript + Node.js

  • @modelcontextprotocol/sdk v1.x

  • Zod (validation)

  • Yuque OpenAPI v2 / Web API

License

MIT

Available Tools

65 tools
yuque_batch_get_docsB

Batch get document details (concurrent GET, read-only, max 20). 详见 references/api/doc_api.md

Inputs: ids (required), book_id (required), raw.

yuque_batch_get_reposB

Batch get repo details (concurrent GET, read-only, max 20). 详见 references/api/repo_api.md

Inputs: ids (required).

yuque_batch_update_tocA

Batch update repo TOC. Agent provides ops plan, tool executes only. Supported actions: createTitle, appendNode, removeNode, moveNode, prependDoc. createTitle auto-reuses existing dirs. appendNode/moveNode support target_title. ⚠️ Remove/move ops require confirm='RESTRUCTURE'. For cross-book copy, use yuque_copy_doc instead.

Inputs: ops (required), book_id (required), confirm (required).

yuque_copy_docA

Copy a single document to another repo. Agent fetches source via yuque_get_doc, cleans content, then calls this tool with title/body/format/paths. 详见 references/api/extended_api.md

Inputs: body (required), title (required), format (required), target_book_id (required), +3 more.

yuque_copy_repoC

Batch copy documents to another repo. Agent provides cleaned documents array (title/body/format/paths). Tool creates TOC dirs and copies. 详见 references/api/extended_api.md

Inputs: documents (required), target_book_id (required), raw.

yuque_create_boardC

Create a board resource (mindmap/flowchart/architecture diagram) in a document. POST /yfm/boards. 详见 references/api/board_api.md

Inputs: dsl (required), type (required), url, doc_id, +1 more.

yuque_create_book_stackA

创建知识库分组(书架)并设定名称。需要 cookie+ctoken 认证。语雀 create 不能直接指定名字,本工具内部 create 后自动 edit 改名。body {name, target_rank}。

Inputs: name (required), target_rank.

yuque_create_docC

Create a document in a repo. 传 parent_uuid 则挂到指定节点下,不传默认挂根目录。POST /repos/:id/docs. 详见 references/api/doc_api.md

Inputs: body (required), book_id (required), raw, slug, +4 more.

yuque_create_noteA

Create a note (short memo). Returns note_url, plus id/slug when resolvable (upstream POST /notes only returns note_url, so id is looked up in the note list right after create). POST /notes. 详见 references/api/note_api.md

Inputs: body (required), raw.

yuque_create_repoB

Create a repo, auto-detects user vs group endpoint. POST /users|groups/:login/repos. 详见 references/api/repo_api.md

Inputs: name (required), login (required), raw, slug, +3 more.

yuque_delete_book_stackA

删除知识库分组(书架)。⚠️ 不可恢复!需传 confirm='DELETE' 二次确认。DELETE /api/book_stacks/{stack_id}。分组内须先清空知识库。

Inputs: confirm (required), stack_id (required).

yuque_delete_docB

Delete a document (moves to recycle bin). ⚠️ Requires confirm='DELETE'. DELETE /repos/:id/docs/:id. 详见 references/api/doc_api.md

Inputs: id (required), book_id (required), confirm (required), raw.

yuque_delete_group_userB

Remove a member from a group. ⚠️ Requires confirm='DELETE'. DELETE /groups/:login/users/:id. 详见 references/api/group_api.md

Inputs: id (required), login (required), confirm (required), raw.

yuque_delete_repoA

Delete a repo (⚠️ irreversible). Requires confirm='DELETE'. DELETE /repos/:id. 详见 references/api/repo_api.md

Inputs: book_id (required), confirm (required), raw.

yuque_destroy_recycleA

Permanently delete a recycle bin item (⚠️ irreversible, requires cookie+ctoken). Requires confirm='DELETE'. DELETE /mine/recycles/:id. 详见 references/api/recycle_api.md

Inputs: confirm (required), recycle_id (required).

yuque_diff_doc_versionsB

Compare two document versions and show line-level diff (added/removed/unchanged). Computes diff locally. 详见 references/api/doc_api.md

Inputs: version_id_1 (required), version_id_2 (required), max_lines, context_lines.

yuque_embed_urlB

Generate a Yuque embed reader URL from a document link or doc_id+book_id. 详见 references/api/extended_api.md

Inputs: from (required), url, title, doc_id, +3 more.

yuque_export_docA

Export a single document as Markdown file. Fetches doc → converts body_html to Markdown → adds frontmatter → writes to disk. Resource download is separate (yuque_export_resources). 详见 references/api/extended_api.md

Inputs: id (required), output_dir (required), book_id, raw_body.

yuque_export_repoB

Export all docs in a repo as Markdown files organized by TOC dir structure, with images downloaded and INDEX.md+GRAPH.md generated. 详见 references/api/extended_api.md

Inputs: book_id (required), raw_body, output_dir, download_images.

yuque_export_resourcesA

Download images/attachments from a document to local directory. Extracts resource URLs from body_html, downloads to <output_dir>/images/ and <output_dir>/attachments/, returns URL→local_path mapping. 详见 references/api/extended_api.md

Inputs: id (required), output_dir (required), book_id.

yuque_get_boardB

Get board resource JSON DSL and summary stats from a document. GET /yfm/boards. 详见 references/api/board_api.md

Inputs: resource_id (required), url, doc_id.

yuque_get_book_stacksA

获取当前用户的知识库分组(书架)列表,含每个分组下的知识库。需要 cookie+ctoken 认证。GET /api/mine/book_stacks。⚠️ 建议每个分组不超过 200 个知识库(建议值,不是接口硬限制):接口每组只返回 200 个(单次返回窗口),组内真实数量可能更多,超出部分不返回、网页端也只显示 200 个;过滤/翻页参数一律无效,拿不到全量组内清单。超了就把分组拆开,库才都看得见

Inputs: no named parameters.

yuque_get_book_statisticsC

Get group repo statistics. GET /groups/:login/statistics/books. 详见 references/api/statistic_api.md

Inputs: login (required), name, page, limit, +3 more.

yuque_get_docA

Get document detail (body/body_html). Sheet/Table docs and body_lake/body_draft need raw=true. Supports id or slug. GET /repos/docs/:id. 详见 references/api/doc_api.md

Inputs: id (required), raw, page, book_id, +1 more.

yuque_get_doc_statisticsC

Get group document statistics. GET /groups/:login/statistics/docs. 详见 references/api/statistic_api.md

Inputs: login (required), name, page, limit, +4 more.

yuque_get_doc_version_detailA

Get version detail (format/body/body_md/body_html/body_asl/diff + meta). Fields over 20000 chars are truncated — pass raw=true for the full payload. GET /doc_versions/:id. 详见 references/api/doc_api.md

Inputs: id (required), raw.

yuque_get_doc_versionsA

List document version history (last 100 published versions). GET /doc_versions?doc_id=:id. 详见 references/api/doc_api.md

Inputs: doc_id (required), raw.

yuque_get_editor_centerB

获取个人编辑中心全景数据:知识库数、文档数、总字数、编辑次数、活跃天数、互动用户排行、最多字的知识库等。需要 cookie+ctoken 认证。GET /api/mine/editor_center

Inputs: no named parameters.

yuque_get_group_statisticsC

Get group summary statistics. GET /groups/:login/statistics. 详见 references/api/statistic_api.md

Inputs: login (required).

yuque_get_group_usersA

List group members (page size 100). Supports role filter (0=admin,1=member,2=readonly). GET /groups/:login/users. 详见 references/api/group_api.md

Inputs: login (required), raw, role, offset.

yuque_get_member_statisticsC

Get group member statistics. GET /groups/:login/statistics/members. 详见 references/api/statistic_api.md

Inputs: login (required), name, page, limit, +3 more.

yuque_get_noteC

Get note detail. GET /notes/:id. 详见 references/api/note_api.md

Inputs: note_id (required), raw.

yuque_get_repoB

Get repo detail including toc_yml (TOC tree in YAML), namespace, items_count, full metadata. GET /repos/:id. 详见 references/api/repo_api.md

Inputs: book_id (required), raw.

yuque_get_tocB

Get repo TOC tree (flat array, navigable via uuid/parent_uuid/child_uuid). GET /repos/:id/toc. 详见 references/api/toc_api.md

Inputs: book_id (required), raw.

yuque_get_userA

Get current user profile (id,login,name,avatar_url,books_count,description,created_at). GET /user. 详见 references/api/user_api.md

Inputs: raw.

yuque_get_user_groupsB

List groups the user belongs to. GET /users/:id/groups. 详见 references/api/user_api.md

Inputs: id (required), raw, role, offset.

yuque_helloA

Health check — verify Yuque API token validity. GET /hello. 详见 references/api/user_api.md

Inputs: no named parameters.

yuque_import_fileC

Import a local Markdown/HTML file into Yuque. 3 modes: direct / upload_assets / embed_assets. 详见 references/api/extended_api.md

Inputs: paths (required), book_id (required), file_path (required), mode, +3 more.

yuque_import_urlB

Import content from a web URL into Yuque. Fetches page, extracts readable content, creates doc. 详见 references/api/extended_api.md

Inputs: url (required), paths (required), book_id (required), title, +1 more.

yuque_list_docsB

List documents in a repo, sorted by updated_at desc. limit ≤ 100. Supports deleted (recycle view) and changed_at_gte (incremental sync). GET /repos/:id/docs. 详见 references/api/doc_api.md

Inputs: book_id (required), raw, limit, offset, +3 more.

yuque_list_notesB

List current user's notes. GET /notes. 详见 references/api/note_api.md

Inputs: page, limit, status.

yuque_list_recyclesB

List recycle bin items (requires cookie+ctoken). GET /mine/recycles. 详见 references/api/recycle_api.md

Inputs: limit, offset, target_type.

yuque_list_reposC

List repos for a user or group. GET /users|groups/:login/repos. 详见 references/api/repo_api.md

Inputs: login (required), raw, type, limit, +2 more.

yuque_rename_book_stackA

重命名知识库分组(书架)。需要 cookie+ctoken 认证。PUT /api/book_stacks/{stack_id},body {name, type:'user_books'}。

Inputs: name (required), stack_id (required).

yuque_restore_recycleB

Restore an item from recycle bin (requires cookie+ctoken). PUT /mine/recycles/:id/restore. 详见 references/api/recycle_api.md

Inputs: recycle_id (required).

yuque_sort_book_stackA

排序分组(书架)内知识库顺序。需要 cookie+ctoken 认证。PUT /api/mine/book_stack/move,传有序 targetBookIds(数组顺序即最终排序)。常用于把分组内知识库按期望顺序重排。

Inputs: book_ids (required), stack_id (required).

yuque_update_boardC

Update a board resource (text or dsl, choose one). PUT /yfm/boards. 详见 references/api/board_api.md

Inputs: resource_id (required), dsl, url, text, +1 more.

yuque_update_book_stackA

移动知识库到指定分组(书架)。需要 cookie+ctoken 认证。PUT /api/mine/book_stack/move。常用于将知识库从一个分组(如预废弃)移到另一个分组(如废弃)。

Inputs: book_id (required), stack_id (required).

yuque_update_docC

Update a document title/body/slug/format/public. PUT /repos/:id/docs/:id. 详见 references/api/doc_api.md

Inputs: id (required), book_id (required), raw, body, +4 more.

yuque_update_group_userC

Change a group member role (0=admin,1=member,2=readonly). PUT /groups/:login/users/:id. 详见 references/api/group_api.md

Inputs: id (required), login (required), raw, role.

yuque_update_noteA

Update or delete a note. ⚠️ Deleting (status=9) requires confirm='DELETE'. PUT /notes/:id. 详见 references/api/note_api.md

Inputs: note_id (required), raw, body, status, +1 more.

yuque_update_repoC

Update repo name/description/slug/public. PUT /repos/:id. 详见 references/api/repo_api.md

Inputs: book_id (required), raw, toc, name, +3 more.

yuque_update_tocA

Update repo TOC (create/move/edit/delete nodes). ⚠️ Deleting requires confirm='DELETE'. For removeNode: action_mode=sibling deletes only the node, child deletes the node and all its children. PUT /repos/:id/toc. 详见 references/api/toc_api.md

Inputs: action (required), book_id (required), action_mode (required), url, +8 more.

yuque_upload_attachmentA

Upload a file to Yuque CDN (image≤50MB, attachment/video≤2GB, requires cookie+ctoken). Extension pre-check: only Yuque-supported formats allowed (official list: https://www.yuque.com/yuque/gpvawt/ca13hg), unsupported extensions rejected with a friendly error (pack into zip first). POST /upload/attach. 详见 references/api/upload_api.md

Inputs: file_path (required), type, user_id.

yuque_web_batch_move_catalog_nodesB

Cookie-based: Batch move document nodes to a target catalog node. PUT /api/catalog_nodes/batch. Supports cross-repo move (target_book_id may differ from book_id). No membership required. Moves the specified node_uuids under the target_uuid directory as children. 详见 references/api/web_doc_api.md

Inputs: book_id (required), node_uuids (required), target_uuid (required), target_book_id.

yuque_web_copy_catalog_nodeA

Cookie-based: Copy a catalog node (doc or dir) to a target catalog node / target repo, server-side with attachment re-upload. PUT /api/catalog_nodes/copy. The source node is kept; a copy is created in the target repo and attachments re-uploaded there (preserves file cards). node_uuid must be from the web catalog (/api/catalog_nodes), not the v2 TOC. 详见 references/api/web_doc_api.md

Inputs: book_id (required), node_uuid (required), target_book_id (required), action, +3 more.

yuque_web_delete_docA

Cookie-based: Delete a document (moves to recycle bin). DELETE /api/docs/{id}?book_id={book_id}. No membership required, alternative to v2 delete_doc when Token is rate-limited/expired. ⚠️ Requires confirm='DELETE'. 详见 references/api/web_doc_api.md

Inputs: id (required), book_id (required), confirm (required), raw.

yuque_web_get_docA

Cookie-based: Get full document detail with body/content. Supports markdown/lake/lakesheet formats. Returns richer fields than v2 get_doc (54 fields including abilities, joinToken, etc.). No membership required, no Token rate limiting. GET /api/docs/{id}?book_id={book_id}. id supports doc slug; book_id supports namespace/slug (e.g. group/book_slug) or numeric. 详见 references/api/web_doc_api.md

Inputs: id (required), book_id (required), raw.

yuque_web_get_tocA

Cookie-based: Get repo TOC tree (flat array, navigable via uuid/parent_uuid/child_uuid). Same structure as v2 get_toc, but no membership required. GET /api/catalog_nodes?book_id={book_id}. 详见 references/api/web_doc_api.md

Inputs: book_id (required), raw.

yuque_web_list_docsA

Cookie-based: List documents in a repo. Returns richer fields than v2 list_docs (draft_version, editor_meta, read_status, etc.). No membership required. GET /api/docs?book_id={book_id}. 详见 references/api/web_doc_api.md

Inputs: book_id (required), raw, limit, offset.

yuque_web_list_reposA

Cookie-based: List repos for current user. Returns richer fields than v2 list_repos (abilities, cover_color, scene, etc.). Includes permission info (abilities.create_doc, modify_setting, destroy). No membership required. GET /api/books. 详见 references/api/web_doc_api.md

Inputs: raw, limit, offset, user_id.

yuque_web_move_catalog_nodeA

Cookie-based: Move a single catalog node to a target catalog node / target repo. PUT /api/catalog_nodes/move. Supports cross-repo move (target_book_id may differ from book_id) and moving the whole subtree (with_children). No membership required. 详见 references/api/web_doc_api.md

Inputs: book_id (required), node_uuid (required), action, target_uuid, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3/5.0

    Scored across 65 tools

    Disambiguation2/5

    There are many near-duplicate pairs (get_doc/web_get_doc, list_docs/web_list_docs, get_toc/web_get_toc, search/rag_search/web_search, delete_doc/web_delete_doc) that differ mainly by auth path or richness. Detailed descriptions help, but selecting the right variant remains error-prone because boundaries between token/cookie and single/batch operations are not reliably clear.

    Naming Consistency4/5

    Names mostly follow a predictable yuque_ + snake_case verb_noun pattern (get_doc, create_repo, update_toc), with consistent web_/batch_ qualifiers. Minor exceptions like yuque_hello and noun-oriented names such as embed_url/import_url keep it from perfect consistency.

    Tool Count2/5

    65 tools is excessive for an MCP surface and is inflated by parallel token/cookie implementations plus niche administrative features. The broad Yuque domain explains some breadth, but the set is not tightly scoped.

    Completeness4/5

    Coverage is extensive: docs/repos/TOC CRUD, groups/users, notes, recycle, boards, statistics, search, export/import, upload, and versions. Minor gaps such as board deletion, version restore, or comment/attachment management exist, but core workflows are well covered.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      Enables working with large documents of any size by intelligently segmenting them and using TF-IDF search to retrieve only relevant fragments, preventing context window saturation. Provides 31 domain-agnostic tools for document ingestion, semantic analysis, epistemological validation, and extraction verification across formats like PDF, EPUB, and HTML.
      31
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      End-to-end agent-managed company brain. Humans and any MCP agent co-author living docs (Markdown + extensions), 40+ visual diagrams (Mermaid, BPMN, D2, PlantUML, ELK, Excalidraw), plans, and a self-learning Knowledge Graph. 163 tools across 16 categories. Auth: OAuth 2.1 or API key. Lean, secure, affordable — from individuals to enterprise.
      MIT