1. Conduid
  2. AI
  3. Yuque MCP Server
MCP server · AI

Yuque MCP Server

Yuque MCP Server - Model Context Protocol server for Yuque API

Unclaimed MIT ai
64Good

Scored yesterday · breakdown

About Yuque MCP Server

Yuque MCP Server is an MCP server published by yuque in the AI category: yuque MCP Server - Model Context Protocol server for Yuque API.

The repository has 254 stars and 28 forks, with the last commit 3 months ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/yuque/yuque-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Tools (7)

**Boards**`yuque_get_resource`

Parameters not published.

**Books**`yuque_list_books`

Parameters not published.

**Docs**`yuque_list_docs`

Parameters not published.

**Notes**`yuque_list_notes`

Parameters not published.

**Search**`yuque_search`

Parameters not published.

**TOC**`yuque_get_toc`

Parameters not published.

**User**`yuque_get_user`

Parameters not published.

Ask AI

✦

Ask AI about Yuque MCP Server

Powered by Claude · Grounded in docs

I know everything about Yuque MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v1.0.0v1.0.0 · 27 May 2026Features Route markdown document reads and writes through YMD/YFM-compatible APIs. Add board resource tools for reading, creating, and updating YFM board cards. Support custom base URL via `YUQUE_BASE_URL` or `--base-url` for private Yuque…
v0.1.13v0.1.13 · 3 Apr 2026Bug Fixes support Node.js v24 by fixing package.json import (#52) (#53) Chore add feature request issue template Full Changelog: https://github.com/yuque/yuque-mcp-server/compare/v0.1.12...v0.1.13
v0.1.12v0.1.12 · 30 Mar 2026Bug Fixes sync MCP server metadata version with package version (#51) Full Changelog: https://github.com/yuque/yuque-mcp-server/compare/v0.1.11...v0.1.12
v0.1.11v0.1.11 · 30 Mar 2026Bug Fixes yuque_create_note: 返回值中包含 `id` 和 `slug` 字段 (#48) yuque_get_book / yuque_update_book: 统一参数名 `id_or_namespace` → `repo_id`,与 doc/toc 工具保持一致 (#47)
v0.1.10v0.1.10 · 30 Mar 2026✨ Features Add `include_lake` option to `yuque_get_doc` for Mermaid source code preservation (#45) Full Changelog: https://github.com/yuque/yuque-mcp-server/compare/v0.1.9...v0.1.10

README

Let AI assistants read and write your Yuque (语雀) knowledge basethrough 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:

npx yuque-mcp install --token=YOUR_TOKEN --client=cursor

Supported clients: claude-desktop · vscode · cursor · windsurf · cline · trae · qoder · opencode. Prefer an interactive flow? Run npx yuque-mcp setup.

Register the server directly:

claude mcp add yuque -- npx -y yuque-mcp --token=YOUR_TOKEN

Any client that supports stdio transport works — see docs/clients.md for per-client config paths.

{
  "mcpServers": {
    "yuque": {
      "command": "npx",
      "args": ["-y", "yuque-mcp"],
      "env": { "YUQUE_TOKEN": "YOUR_TOKEN" }
    }
  }
}

3. Restart your client and start asking.

Configuration

Setting Env var / CLI flag Description
Token (required) YUQUE_TOKEN / --token Personal or team Yuque API token
Host (optional) YUQUE_HOST / --host Site or space host, e.g. https://your-space.yuque.com — required for space-bound team tokens and private deployments

Site roots are normalized to /api/v2; when unset, the host defaults to https://www.yuque.com/api/v2.

# Team token / private deployment
npx yuque-mcp install --token=YOUR_TOKEN --client=cursor --host=https://your-space.yuque.com

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.

Category Tool Description
User yuque_get_user Get the authenticated user for the current token
Search yuque_search Search docs or repos, with paging
Books yuque_list_books List books (知识库) of a user
yuque_get_book Get a book by ID or namespace
yuque_create_book Create a book
yuque_update_book Update name, slug, description, or visibility
Docs yuque_list_docs List docs in a book, with paging
yuque_get_doc Get full content — markdown, lake, or html
yuque_create_doc Create a doc in a book
yuque_update_doc Update a doc's body or metadata
TOC yuque_get_toc Get a book's table of contents
yuque_update_toc Append or move a single TOC node
Notes yuque_list_notes List notes (小记), with paging and status filter
yuque_get_note Get a note with full content
yuque_create_note Create a note
yuque_update_note Update a note
Boards yuque_get_resource Read a board (mindmap / flowchart / diagram) from a doc
yuque_create_resource Create a board in a doc
yuque_update_resource Update a board in a doc

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

Error Solution
YUQUE_TOKEN ... is required Set YUQUE_TOKEN=YOUR_TOKEN or pass --token=YOUR_TOKEN
401 Unauthorized Token invalid or expired — regenerate it
429 Rate Limited Too many requests — wait a moment and retry
410 Gone Target permanently deleted or endpoint deprecated — check the doc/book exists
Tool not found Update to the latest version: npx -y yuque-mcp@latest
npx command not found Install Node.js v18 or later

Development

git clone https://github.com/yuque/yuque-mcp-server.git
cd yuque-mcp-server
npm install
npm test              # run tests
npm run build         # compile TypeScript
npm run dev           # dev mode with hot reload

Architecture, tech stack, and the full tool contract live in docs/. Contributions are welcome — see CONTRIBUTING.md.

Links

License

MIT

README fetched from the repository yesterday. The original is authoritative.

Questions

About Yuque MCP Server

How do I install Yuque MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Yuque MCP Server safe to use with an AI agent?

Its trust score is 64 out of 100 (good). It passes 5 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Yuque MCP Server still maintained?

Yes — the latest release is v1.0.0 (27 May 2026), and the last commit was 3 months ago. The repository has 254 stars and 14 open issues.