Skip to content
appsgit

Yuque MCP

Yuque MCP is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for Yuque — expose your knowledge base to AI assistants. It has 247 GitHub stars, is released under the MIT license and runs locally with npx -y yuque-mcp.

github.com/yuque/yuque-mcp-server (opens in a new tab)

Install Yuque MCP

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "yuque-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "yuque-mcp"
      ],
      "env": {
        "YUQUE_PERSONAL_TOKEN": "your-value",
        "YUQUE_GROUP_TOKEN": "your-value",
        "YUQUE_TOKEN": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env YUQUE_PERSONAL_TOKEN=your-value --env YUQUE_GROUP_TOKEN=your-value --env YUQUE_TOKEN=your-value --transport stdio yuque-mcp -- npx -y yuque-mcp

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "yuque-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yuque-mcp"
      ],
      "env": {
        "YUQUE_PERSONAL_TOKEN": "your-value",
        "YUQUE_GROUP_TOKEN": "your-value",
        "YUQUE_TOKEN": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "yuque_personal_token",
      "description": "YUQUE_PERSONAL_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yuque_group_token",
      "description": "YUQUE_GROUP_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "yuque_token",
      "description": "YUQUE_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "yuque-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yuque-mcp"
      ],
      "env": {
        "YUQUE_PERSONAL_TOKEN": "${input:yuque_personal_token}",
        "YUQUE_GROUP_TOKEN": "${input:yuque_group_token}",
        "YUQUE_TOKEN": "${input:yuque_token}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
YUQUE_PERSONAL_TOKENsecretNoYuque personal API token (get from https://www.yuque.com/settings/tokens). Use one of: YUQUEPERSONALTOKEN, YUQUEGROUPTOKEN, or YUQUE_TOKEN.
YUQUE_GROUP_TOKENsecretNoYuque group/team API token (alternative to YUQUEPERSONALTOKEN for team workspaces).
YUQUE_TOKENsecretNoYuque API token (legacy, use YUQUEPERSONALTOKEN or YUQUEGROUPTOKEN instead).

About Yuque MCP

Let AI assistants read and write your Yuque (语雀) knowledge base through the Model Context Protocol. Once connected, ask your assistant things like:

FAQ

Yuque MCP FAQ

Still curious? Email info@appsgit.com.

What is Yuque MCP?

Yuque MCP is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for Yuque — expose your knowledge base to AI assistants. It has 247 GitHub stars, is released under the MIT license and runs locally with npx -y yuque-mcp. The source code is at github.com/yuque/yuque-mcp-server.

How do I install the Yuque MCP MCP server?

Add the command npx -y yuque-mcp to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Yuque MCP free?

The server is open source under the MIT license, so running it is free. It needs credentials (YUQUE_PERSONAL_TOKEN, YUQUE_GROUP_TOKEN and YUQUE_TOKEN) for the service it connects to, which may require a paid account.

Is Yuque MCP actively maintained?

The most recent commit was on Jul 15, 2026. The latest release is v1.0.0, published May 27, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.