
Connects your Yuque knowledge base to MCP clients through the Yuque API, exposing 19 tools across documents, books, notes, and search. You can query your knowledge base, create and update documents, manage table of contents, and work with resources. Supports both yuque.com and private deployments via custom base URLs. Ships with a CLI installer that auto-configures Claude Desktop, Cursor, VS Code, Windsurf, and other clients in one command. Authentication uses personal access tokens from your Yuque developer settings. Useful when you're maintaining documentation or internal wikis in Yuque and want your AI assistant to read from and write to those repositories without context switching.
Public tool metadata for what this MCP can expose to an agent.
yuque_get_userGet the authenticated user for the current tokenGet the authenticated user for the current token
No parameter schema in public metadata yet.
yuque_searchSearch docs or repos, with pagingSearch docs or repos, with paging
No parameter schema in public metadata yet.
yuque_list_booksList books (知识库) of a userList books (知识库) of a user
No parameter schema in public metadata yet.
yuque_get_bookGet a book by ID or namespaceGet a book by ID or namespace
No parameter schema in public metadata yet.
yuque_create_bookCreate a bookCreate a book
No parameter schema in public metadata yet.
yuque_update_bookUpdate name, slug, description, or visibilityUpdate name, slug, description, or visibility
No parameter schema in public metadata yet.
yuque_list_docsList docs in a book, with pagingList docs in a book, with paging
No parameter schema in public metadata yet.
yuque_get_docGet full content — markdown, lake, or htmlGet full content — markdown, lake, or html
No parameter schema in public metadata yet.
yuque_create_docCreate a doc in a bookCreate a doc in a book
No parameter schema in public metadata yet.
yuque_update_docUpdate a doc's body or metadataUpdate a doc's body or metadata
No parameter schema in public metadata yet.
yuque_get_tocGet a book's table of contentsGet a book's table of contents
No parameter schema in public metadata yet.
yuque_update_tocAppend or move a single TOC nodeAppend or move a single TOC node
No parameter schema in public metadata yet.
yuque_list_notesList notes (小记), with paging and status filterList notes (小记), with paging and status filter
No parameter schema in public metadata yet.
yuque_get_noteGet a note with full contentGet a note with full content
No parameter schema in public metadata yet.
yuque_create_noteCreate a noteCreate a note
No parameter schema in public metadata yet.
yuque_update_noteUpdate a noteUpdate a note
No parameter schema in public metadata yet.
yuque_get_resourceRead a board (mindmap / flowchart / diagram) from a docRead a board (mindmap / flowchart / diagram) from a doc
No parameter schema in public metadata yet.
yuque_create_resourceCreate a board in a docCreate a board in a doc
No parameter schema in public metadata yet.
yuque_update_resourceUpdate a board in a docUpdate a board in a doc
No parameter schema in public metadata yet.
Sponsors
YUQUE_PERSONAL_TOKENsecretYuque personal API token (get from https://www.yuque.com/settings/tokens). Use one of: YUQUE_PERSONAL_TOKEN, YUQUE_GROUP_TOKEN, or YUQUE_TOKEN.
YUQUE_GROUP_TOKENsecretYuque group/team API token (alternative to YUQUE_PERSONAL_TOKEN for team workspaces).
YUQUE_TOKENsecretYuque API token (legacy, use YUQUE_PERSONAL_TOKEN or YUQUE_GROUP_TOKEN instead).
Let AI assistants read and write your Yuque (语雀) knowledge base
through the Model Context Protocol.
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."
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.
yuque-mcp