wwwwujl avatar

Yuque MCP

wwwwujl/yuque-mcp

Connects Claude to Yuque's knowledge base platform with full CRUD operations across groups, repositories, and documents. You get read tools for browsing repos and fetching markdown content, write tools for creating and updating docs (including from local files), and TOC management for organizing content hierarchies. Ships with granular safety controls: writes are off by default, deletes require explicit confirmation text, and you can allowlist specific namespaces or groups. Useful when you want Claude to treat your Yuque workspace as a living knowledge base it can both query and maintain, or when building documentation workflows that need programmatic access to Yuque's API without writing your own client.

tools
14
auth
Secret needed
transport
STDIO
env vars
12
last updated
Feb 18, 2026

Tools

14 tools

Public tool metadata for what this MCP can expose to an agent.

yuque_get_docReads a doc by slug or doc_id, with support for markdown/raw content.

Reads a doc by slug or doc_id, with support for markdown/raw content.

No parameter schema in public metadata yet.

yuque_update_docUpdates a doc, accepting either slug or doc_id.

Updates a doc, accepting either slug or doc_id.

No parameter schema in public metadata yet.

yuque_delete_docDeletes a doc, accepting either slug or doc_id, guarded by delete safety settings.

Deletes a doc, accepting either slug or doc_id, guarded by delete safety settings.

No parameter schema in public metadata yet.

yuque_list_docsLists docs in a repository with pagination (offset, limit).

Lists docs in a repository with pagination (offset, limit).

No parameter schema in public metadata yet.

yuque_search_docsSearches docs across the full repository by scanning paginated docs.

Searches docs across the full repository by scanning paginated docs.

No parameter schema in public metadata yet.

yuque_list_group_usersLists members of a group.

Lists members of a group.

No parameter schema in public metadata yet.

yuque_add_group_userAdds a member to a group.

Adds a member to a group.

No parameter schema in public metadata yet.

yuque_remove_group_userRemoves a member from a group.

Removes a member from a group.

No parameter schema in public metadata yet.

yuque_delete_repoDeletes a repository (knowledge base), guarded by delete safety settings.

Deletes a repository (knowledge base), guarded by delete safety settings.

No parameter schema in public metadata yet.

yuque_delete_groupDeletes a group, guarded by delete safety settings.

Deletes a group, guarded by delete safety settings.

No parameter schema in public metadata yet.

get_my_repositoriesCombined operation that lists the user's repositories.

Combined operation that lists the user's repositories.

No parameter schema in public metadata yet.

get_repository_overviewCombined operation that returns an overview of a repository.

Combined operation that returns an overview of a repository.

No parameter schema in public metadata yet.

search_and_readCombined operation that searches docs and reads matching content.

Combined operation that searches docs and reads matching content.

No parameter schema in public metadata yet.

create_document_with_tocCombined operation that creates a document and updates the repository TOC.

Combined operation that creates a document and updates the repository TOC.

No parameter schema in public metadata yet.

Sponsors

Configuration

YUQUE_TOKEN*secret

Yuque API token

YUQUE_ENDPOINT

Yuque API endpoint (optional)

YUQUE_TIMEOUT_MS

Yuque API timeout in milliseconds (optional)

YUQUE_MAX_RETRIES

Read-only retry count (optional)

YUQUE_ALLOW_WRITE

Enable write tools when true (optional, default false)

YUQUE_WRITE_NAMESPACE_ALLOWLIST

Comma-separated namespace allowlist for repo/doc/toc writes (optional)

YUQUE_WRITE_GROUP_ALLOWLIST

Comma-separated group login allowlist for group writes (optional)

YUQUE_ALLOW_DELETE

Enable delete tools when true (optional, default false)

YUQUE_DELETE_NAMESPACE_ALLOWLIST

Comma-separated delete allowlist targets (optional)

YUQUE_FILE_ROOT

Allowed root directory for file-based doc tools (optional, default current working directory)

YUQUE_FILE_MAX_BYTES

Maximum size for file-based doc tools (optional, default 1048576)

YUQUE_FILE_ALLOWED_EXTENSIONS

Comma-separated allowed extensions for file-based doc tools (optional, default .md,.markdown,.txt)

Readme

yuque-mcp

中文说明: README.zh-CN.md

This folder is prepared for building a custom MCP server for Yuque.

Goal

Build a Yuque MCP server so Codex can:

  • discover Yuque repos and docs
  • read doc content in markdown/raw mode
  • create/update/delete docs when needed
  • create docs from local files and update docs from local files
  • create/update/delete repos (knowledge bases)
  • create/update/delete groups
  • manage group members (list/add/remove)
  • run combined operations (get_my_repositories, get_repository_overview, search_and_read, create_document_with_toc)
  • update repository TOC nodes
  • use Yuque content as a research knowledge base

Included Docs

  • docs/00-project-brief.md
  • docs/01-scope-v1.md
  • docs/02-architecture.md
  • docs/03-tool-contract.md
  • docs/04-api-mapping.md
  • docs/05-security.md
  • docs/06-implementation-plan.md
  • docs/07-test-plan.md
  • docs/08-codex-integration.md
  • docs/09-release-notes-zh.md
  • docs/10-registry-publish.md
  • docs/11-weekly-maintenance.md
  • docs/12-complaint-and-takedown.md
  • CHANGELOG.md
  • CONTRIBUTING.md
  • SECURITY.md
  • DISCLAIMER.md
  • tasks/TODO.md

Session Kickoff


View the full README on GitHub

Details

Repository
github.com/wwwwujl/yuque-mcp
Website
github.com/wwwwujl/yuque-mcp
Package
@wwwwwujl/yuque-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active