← Back to directory
Y

Yuque MCP Server

Official
Read and write Yuque knowledge bases through MCP.
Category
Collaboration #42 of 83
Stars
★ 273 Popular
Transport
stdio (local process)
Runtime
Node.js 18+
Credentials
API key / credential required
License
MIT
Last commit
Tools
21
52FMRS · D

This server is suited to searching and managing Yuque knowledge base content through an AI assistant. It requires a Yuque API token and includes write tools that modify real content. Comments, attachments, and permission management are outside its stated scope.

Strongest · Setup experience 13/20 Weakest · Reliability 8/20

Reliability
8/20
Security and permissions
9/20
Maintenance
9/20
Documentation
13/20
Setup experience
13/20
Why each score
Reliability 8/20
The README lists 21 tools, stdio transport, and several capability limits, while the manifest declares an npm package and required token, making a basic connection and feature path plausible. However, no source code, CI workflow, or committed tests were provided to verify initialization, tool behavior, error handling, or dependency behavior, so the static-calibration deduction applies.
Security and permissions 9/20
The manifest marks YUQUE_TOKEN as required and secret; the README says the server can act with the token's permissions and recommends a space-scoped team token. The described external requests target the Yuque API. Create and update operations modify real content, while confirmation behavior, permission isolation, and complete data flows are not documented, so points are deducted. The supplied material does not show a red-line behavior.
Maintenance 9/20
The repository metadata says the project is not archived and has a license; the README gives an npm update path and vulnerability-reporting channel, and its CI badge links to a workflow. These are limited maintenance signals. No commit history, release history, dependency updates, or issue-response evidence was supplied, so sustained maintenance cannot be established.
Documentation 13/20
The README covers installation, token and host configuration, client examples, a tool inventory, capability limits, and common troubleshooting cases, and links to more detailed docs. Only the README and manifest were supplied, so tool parameter details, cost information, and linked documentation could not be reviewed; consistency with implementation is also unverified.
Setup experience 13/20
The README provides a one-command npx installation, names several clients, includes a generic stdio configuration example, and states a Node.js requirement. The manifest also declares stdio and the required environment variable. There is no execution or client-connection evidence, and team tokens require additional host configuration, so points are deducted under the static calibration.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkChanges third-party account data

Best for

  • Individuals or teams who want AI assistants to access Yuque knowledge base content.
  • Users who need to manage docs, notes, books, or boards through the Yuque API.

Not for

  • Users who need comment management, attachment uploads and file management, or permission and member management.
  • Users who need section-level doc edits or structured resources other than boards.

Required permissions

  • A Yuque API token is required; its permissions determine what the server can do.
  • Create and update tools modify real knowledge base content.
  • A matching YUQUE_HOST is needed when using a team token bound to a specific space.

Risks and side effects

  • The server can perform actions allowed by the token, and write tools change real content; keep the token secret.
  • A doc body update cannot also change title, slug, or public metadata in the same call; update metadata separately.

Setup

Before you start

Runtime:Node.js 18+

YUQUE_TOKEN requiredsecret Yuque API token; create one in Yuque Developer Settings.
Other optional settings (1)
YUQUE_HOST optional Yuque site or space host; set this when using a team token bound to a specific space, using that space's host address.

Create a Yuque API token, then configure yuque-mcp in an MCP client that supports stdio and set the required YUQUE_TOKEN. For a team token bound to a specific space, also set the matching YUQUE_HOST. The README shows npx yuque-mcp install --token=YOUR_TOKEN --client=cursor and the interactive npx yuque-mcp setup; restart the client after installation.

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

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "yuque": {
      "command": "npx",
      "args": [
        "-y",
        "yuque-mcp"
      ],
      "env": {
        "YUQUE_TOKEN": "YOUR_TOKEN"
      }
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.yuque]
command = "npx"
args = ["-y", "yuque-mcp"]

[mcp_servers.yuque.env]
YUQUE_TOKEN = "YOUR_TOKEN"

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add yuque -e YUQUE_TOKEN=YOUR_TOKEN -- npx -y yuque-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

After connecting, check that `yuque_search` and `yuque_get_user` appear in the client's tool list. You can also ask the assistant to search Yuque and confirm it returns results.

Troubleshooting

  1. Check that YUQUE_TOKEN is set or supplied with --token.
  2. For 401 errors, check whether the token is invalid or expired; for 429 errors, wait and retry.
  3. For 410 errors, check that the target doc or book exists and the endpoint has not been deprecated.
  4. If a tool is missing, update to the latest version; if npx is unavailable, check for Node.js v18 or later.
  5. For a space-bound team token, check that YUQUE_HOST matches the space.

Things to try

Once connected, you can ask your AI assistant things like:

  • Search my Yuque for documents about canary releases.
  • List my books and show the table of contents for one book.
  • Create a meeting notes document in a book.
  • Read the flowchart board in a document.

Tools 21

yuque_get_user read-only
Get the authenticated user for the current token.
yuque_search read-only
Search docs or repos with paging.
yuque_list_books read-only
List a user's books.
yuque_get_book read-only
Get a book by ID or namespace.
yuque_create_book writes
Create a book.
yuque_update_book writes
Update a book's name, slug, description, or visibility.
yuque_list_docs read-only
List docs in a book with paging.
yuque_get_doc read-only
Get full doc content in markdown, lake, or html format.
Show 13 more tools
yuque_create_doc writes
Create a doc in a book.
yuque_update_doc writes
Update a doc's body or metadata.
yuque_list_doc_versions read-only
List published versions of a doc.
yuque_get_doc_version read-only
Read a version's markdown body and diff.
yuque_get_toc read-only
Get a book's table of contents.
yuque_update_toc writes
Append or move a single TOC node.
yuque_list_notes read-only
List notes with paging and an optional status filter.
yuque_get_note read-only
Get a note with its full content.
yuque_create_note writes
Create a note.
yuque_update_note writes
Update a note.
yuque_get_resource read-only
Read a board (mindmap, flowchart, or diagram) from a doc.
yuque_create_resource writes
Create a board in a doc.
yuque_update_resource writes
Update a board in a doc.

Use cases

Search Yuque docs and books and summarize their content.
Create or update docs and notes in a book.
Read or update a book's TOC and manage boards in docs.

Supported clients

Claude Desktop
VS Code
Cursor
Windsurf
Cline
Trae
Qoder
OpenCode
Claude Code

Listed from the project's documentation, not tested by this site.

Overview

Yuque MCP Server exposes the Yuque API to AI assistants over stdio. It can search docs and repos and manage books, docs, TOCs, notes, and boards in docs.

Similar servers

Source revision aff7a7ddfc0e Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/yuque-mcp-server.svg)](https://followmcp.com/en/servers/yuque-mcp-server)