Yuque MCP Server logo

Yuque MCP Server

by HenryHaoson

Connects MCP clients to Yuque for document management, knowledge-base search, and team usage statistics.

Install Yuque MCP Server

Pick your client, then add it in one click or paste the config.

SSE (Remote)
Server URL
http://localhost:3000/sse?accessToken=your_token_here&baseUrl=https://custom.yuque.api/v2

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

HenryHaoson/Yuque-MCP-Server MCP server exposes Yuque API operations through MCP tools for AI clients. It supports reading, creating, updating, deleting, and searching documents, along with knowledge-base access and team statistics. The server can run over HTTP/SSE or through a CLI stdio mode, using a Yuque API token from the environment or connection parameters. Reach for it when an agent needs to work with Yuque documents or analyze Yuque knowledge-base activity.

Use cases

  • Read Yuque documents for an AI-assisted knowledge workflow
  • Create and update Yuque documentation from an MCP client
  • Search knowledge bases by content or author
  • Review team and document usage statistics
  • List repositories and documents available to a Yuque user

Key features

  • Yuque document CRUD operations
  • Knowledge-base and document listing
  • Content search with filters
  • Markdown, HTML, and Lake document formats
  • Team, member, book, and document statistics
  • HTTP/SSE and CLI stdio modes

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 1d ago

Recent health check succeeded.

10/10 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8/20/2026 via OSV.dev · http://localhost:3000/sse?accessToken=your_token_here&baseUrl=https://custom.yuque.api/v2 (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars69Stargazers on the source repository.
Last commit12mo agoMost recent push to the default branch.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Yuque MCP Server works

What HenryHaoson/Yuque-MCP-Server MCP server does

HenryHaoson/Yuque-MCP-Server MCP server connects an MCP-compatible AI client to the Yuque Open API. It provides tools for retrieving account and knowledge-base information, browsing documents, changing document content, searching Yuque, and reading team analytics.

The project is intended for workflows where an AI model needs to inspect or maintain Yuque content through defined MCP tools rather than through browser automation. Document operations cover creation, retrieval, modification, and deletion. New documents can use Markdown, HTML, or Lake content formats, and document updates can include title, content, and visibility settings.

How it works

The server acts as an MCP layer over Yuque API requests. A client connects to either the HTTP/SSE server or the CLI stdio process, then invokes the registered tools. The server authenticates requests with a Yuque API token and uses a configurable API base URL.

For SSE connections, accessToken and baseUrl query parameters can override the corresponding environment configuration. These connection-level values take precedence over the environment, allowing separate SSE connections to use different Yuque credentials or API endpoints.

Setup and configuration

HenryHaoson/Yuque-MCP-Server MCP server requires Node.js 18 or later, with Node.js 18 recommended by the project. The repository setup flow consists of cloning the source, installing npm dependencies, creating a .env file from .env.example, and setting YUQUE_API_TOKEN when using environment-based authentication.

The documented configuration variables are:

  • YUQUE_API_TOKEN: Yuque API token used for authentication.
  • YUQUE_API_BASE_URL: Yuque API base URL; the documented default is https://www.yuque.com/api/v2.
  • PORT: HTTP server port, with 3000 shown in the Docker examples.

Development commands provide HTTP and CLI modes through npm run dev and npm run dev:cli. For production, the project is built with npm run build, then started with npm run start or npm run start:cli. Docker and Docker Compose deployment are also documented.

Tools and capabilities

Available tools include:

  • get_current_user for the authenticated Yuque account.
  • get_user_docs, get_user_repos, and get_repo_docs for listing user documents, knowledge bases, and repository documents.
  • get_doc for retrieving document content, revision history, and permission information.
  • create_doc, update_doc, and delete_doc for document lifecycle operations.
  • search for finding documents or knowledge-base content with scope and author filters.
  • get_group_statistics, get_group_member_statistics, get_group_book_statistics, and get_group_doc_statistics for team, member, knowledge-base, and document usage data.

Limitations and notes

The project requires a Yuque account with an API token. Deleting a document is described as irreversible. The material confirms compatibility with MCP clients in general and gives an automated installation path for Claude Desktop through Smithery, but it does not provide client-specific configuration for Cursor, Windsurf, or Cline.

The repository README documents the server's own npm scripts and Docker deployment, but does not identify a published npm package that can be installed as a standalone executable. Query-string credentials for SSE connections should be handled carefully because they are included in the connection URL.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Yuque MCP Server

Clone the repository, run npm install, create a .env file from .env.example, configure the Yuque token, and start it with the documented npm scripts. Smithery also provides an automated Claude Desktop installation command.

Yes.

YUQUE_API_TOKEN is used for the Yuque API credential. YUQUE_API_BASE_URL configures the API endpoint, and PORT configures the HTTP port. The token may instead be supplied through SSE query parameters.

Yes. It provides create_doc and update_doc tools, with support for Markdown, HTML, and Lake content formats.

Yes. It includes tools for aggregate team data and separate statistics for members, knowledge bases, and documents.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewYuque MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/henryhaoson-yuque-mcp-server?style=directory)](https://allmcps.com/mcp/henryhaoson-yuque-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/henryhaoson-yuque-mcp-server"><img src="https://allmcps.com/api/badge/henryhaoson-yuque-mcp-server?style=directory" alt="Yuque MCP Server on AllMCPs" /></a>