Query and manage Yuque knowledge base content—groups, repositories, documents, and table of contents—with fine-grained read/write controls. Built for teams automating documentation workflows and content synchronization.
io.github.wwwwujl/yuque-mcp
Local install
STDIO
1 required env var
How models use it and what it is built for.
Query and manage Yuque knowledge base content—groups, repositories, documents, and table of contents—with fine-grained read/write controls. Built for teams automating documentation workflows and content synchronization.
Local install — runs as a subprocess.
Configuration this server reads at startup.
Yuque API token
Yuque API endpoint (optional)
Yuque API timeout in milliseconds (optional)
Read-only retry count (optional)
Enable write tools when true (optional, default false)
Comma-separated namespace allowlist for repo/doc/toc writes (optional)
Comma-separated group login allowlist for group writes (optional)
Enable delete tools when true (optional, default false)
Comma-separated delete allowlist targets (optional)
Allowed root directory for file-based doc tools (optional, default current working directory)
Maximum size for file-based doc tools (optional, default 1048576)
Comma-separated allowed extensions for file-based doc tools (optional, default .md,.markdown,.txt)
Where to find authoritative docs and source for Yuque.
Paste any of these into Agent Studio after connecting Yuque.
Common questions about connecting and running Yuque.
What is Yuque and why would I use this MCP server?
Yuque is a collaborative knowledge base platform. This MCP server lets you programmatically read and write Yuque content—documents, repositories, groups—directly from Claude, enabling automation of documentation workflows and content management.
How do I authenticate and set up the server?
Set the required `YUQUE_TOKEN` environment variable with your Yuque API token. Optionally configure `YUQUE_ENDPOINT` for custom API endpoints and `YUQUE_TIMEOUT_MS` for request timeouts. Install via `npx @wwwwwujl/yuque-mcp@1.1.0`.
Are write and delete operations enabled by default?
No. Write tools are disabled by default; set `YUQUE_ALLOW_WRITE=true` to enable them. Delete tools are also disabled by default; set `YUQUE_ALLOW_DELETE=true` to enable. Use namespace and group allowlists to restrict which targets can be modified.
How do I restrict write access to specific repositories or groups?
Use `YUQUE_WRITE_NAMESPACE_ALLOWLIST` (comma-separated repo namespaces) and `YUQUE_WRITE_GROUP_ALLOWLIST` (comma-separated group logins) to whitelist targets. Only operations on whitelisted namespaces and groups will be permitted.
What happens if the Yuque API times out or fails?
Configure `YUQUE_MAX_RETRIES` to control read-only retry behavior and `YUQUE_TIMEOUT_MS` to set request timeout duration. The server will respect these settings to handle transient failures gracefully.
MCP Playground runs 10,000+ hosted MCP servers — GitHub, Linear, Notion, Stripe, Sentry and more — across Claude, GPT, Gemini, DeepSeek and 60+ AI models. Compare model answers side-by-side, save agent presets, share runs. Zero install.
Open Agent StudioJudges Panel
45 judges that evaluate AI-generated code for security, cost, and quality with built-in AST.
Addozhang Nexus
Query Sonatype Nexus Repository (OSS/Pro) for Maven, Python, and Docker artifacts
Cyanheads MCP Ts Template
TypeScript template for building MCP servers with declarative tooling, observability, and auth.
Chernistry Bernstein
Declarative agent orchestration for engineering teams