Skip to content
Skillpedia
βœ“ Official Β· Yuque● Free and open sourceπŸ’» LocalπŸ”‘ Needs an API keyWork and productivity

Yuque MCP Server

Lets your AI agent search, read and write your Yuque knowledge base: books, docs, notes and boards.

263 stars on GitHubby YuqueLicense MITUpdated 4 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add yuque -- npx -y yuque-mcp

What to fill in

NameWhat it isRequired
YUQUE_PERSONAL_TOKENYuque personal API token (get from https://www.yuque.com/settings/tokens). Use one of: YUQUE_PERSONAL_TOKEN, YUQUE_GROUP_TOKEN, or YUQUE_TOKEN.No
YUQUE_GROUP_TOKENYuque group/team API token (alternative to YUQUE_PERSONAL_TOKEN for team workspaces).No
YUQUE_TOKENYuque API token (legacy, use YUQUE_PERSONAL_TOKEN or YUQUE_GROUP_TOKEN instead).No

Ready! Now test it

Restart the app and paste one of these requests in the chat:

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.

What it is

The Yuque MCP Server connects AI assistants to the Yuque (Chinese knowledge base) API. It has 19 tools to find docs, read them in Markdown, create or update docs and notes, manage books and the table of contents, and edit boards. The tools can change real content, so keep the token secret.

What it can do

  • yuque_search: search docs or repos
  • yuque_list_books and yuque_get_book
  • yuque_get_doc, yuque_create_doc, yuque_update_doc
  • yuque_get_toc and yuque_update_toc
  • yuque_list_notes and yuque_create_note
  • yuque_get_resource and yuque_create_resource: boards

When to use

  • β€ΊWhen you want a one-page summary of everything on a topic in your Yuque
  • β€ΊWhen you want meeting notes turned into a doc in a chosen book
  • β€ΊWhen you want a flowchart added to a design doc

What you need

A Yuque token from the Yuque developer settings and Node.js v18 or later. For a space-bound team token or a private deployment, also set the space host.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes. It is MIT licensed and published on npm. Yuque itself has its own account terms.

Can it change my content?

Yes. The create and update tools modify real content and can do whatever your token can do.

Which clients can I install it into?

claude-desktop, vscode, cursor, windsurf, cline, trae, qoder and opencode with npx yuque-mcp install, and Claude Code with claude mcp add.

What is not covered?

Comments, attachment upload, permission and member management, section-level edits and structured resources other than boards.

Can I use a team token?

Yes. Pass the space host with YUQUE_HOST or --host, such as https://your-space.yuque.com.

Any editing limits?

yuque_update_doc cannot combine a Markdown body with title, slug or public changes in one call, so update metadata separately.

If it does not work

  • β€Ί401 Unauthorized means the token is invalid or expired, so create a new one in Yuque settings.
  • β€Ί429 means too many requests; wait a moment and retry.
  • β€ΊIf npx is not found, install Node.js 18 or newer; update with npx -y yuque-mcp@latest if a tool is missing.

5 new skills a week. 1 minute to read.