Yuque MCP Server 2a17adb5

MCP文档知识

提供方 yuque · 包名 yuque-mcp

文档知识 stdio · 本地进程 Token 社区 / 第三方 Claude DesktopClaudeCursorWindsurf
查看接入方式

语雀MCP服务器通过Model Context Protocol将知识库暴露给AI助手,支持文档搜索、创建和管理等功能。

一句话选型结论

按资料字段整理

Yuque MCP Server 2a17adb5 属于文档知识类 MCP 服务器,stdio · 本地进程,Token,可直接接入 Claude Desktop、Claude、Cursor 等,有可直接执行的安装命令。接入前先确认权限范围;涉及写入、删除或付款的操作,建议先在测试环境验证。

分类文档知识 传输方式stdio · 本地进程 鉴权Token 部署方式本地部署
GitHub 星标 146 仓库热度,无公开仓库时显示未标注
工具数 16 暴露给模型的工具数量
资源 / 提示词 0 / 0 资源与提示词模板数量
维护方 社区 / 第三方 核验等级 仅资料核对

工具与能力

文档知识
数量来自来源目录的标注,具体工具清单以官方文档为准
工具数量16暴露给模型可调用的工具个数
资源数量0可读取的资源条目
提示词数量0内置提示词模板数量

能力标签

支持客户端

适用场景

知识管理TypeScript本地部署AI集成文档处理开发者工具协议服务

安装与配置

stdio · 本地进程 Token
客户端在本机拉起子进程,数据不出本机
npx yuque-mcp install --token=YOUR_TOKEN --client=cursor

这条命令只是入口,具体启动参数请按官方文档补齐,不要直接照搬到别的服务器。

  1. 1
    准备运行环境

    stdio 服务在本地起进程,需要先装好 Node.js,再按安装命令拉取依赖。

  2. 2
    安装服务

    复制上面的安装命令执行;命令里带占位符的位置,换成自己的密钥或路径。

  3. 3
    写入客户端配置

    在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,让新配置生效。

  4. 4
    验证是否可用

    连接成功后客户端会列出约 16 个工具,随便调一个只读工具确认能返回结果。

典型使用场景

3 类
按分类与标签整理的常见用法,具体以官方文档为准
文档检索问答

在你的文档库里按问题找答案。

知识库读写

把新资料写进知识库,随用随取。

内容整理

把零散资料归纳成结构化笔记。

选择建议

选之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 资料标注 16 个工具,覆盖面较广,能满足多种调用。
  • 有现成的安装命令,不用自己找入口,照着跑就能起服务。
  • 已适配 Claude Desktop、Claude、Cursor,换客户端不用重新研究配置。

先想清楚的地方

  • stdio 方式要求本地装好运行时(如 Node.js),换机器要重新装一遍。
  • 使用前要准备好Token对应的凭据,并按最小权限配置。
  • 版本更新与行为细节以官方仓库为准。

更适合

  • 需要在文档知识场景里让模型直接调用外部能力的人。
  • 已经在用 Claude Desktop、Claude 的用户,接入路径最短。
  • 想先快速试一下、能接受在本地或自有环境跑服务的人。

不太适合

  • 完全不想在本地装环境的人。
  • 不方便管理密钥或第三方授权的人。
  • 需要厂商级 SLA 和技术支持的生产环境。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
MCP 服务器工具数传输方式部署方式安装命令最后核验
Yuque MCP Server 2a17adb5当前 16 stdio · 本地进程 本地部署 有 2026-05-17
dify 未标注 stdio · 本地进程 本地部署 有 2026-04-11
open-webui 未标注 stdio · 本地进程 本地部署 有 2026-04-11
JeecgBoot 未标注 stdio · 本地进程 本地部署 有 2026-04-11
Cherry Studio 未标注 未标注 未标注 无 2026-05-17
mempalace 未标注 stdio · 本地进程 本地部署 有 2026-04-11

服务器档案

文档知识
字段来自项目仓库与公开索引,中文说明由本站标注
提供方yuque上游标注的维护方 yuque
分类文档知识本站按上游分类展示
连接方式stdio · 本地进程客户端在本机拉起子进程,数据不出本机
鉴权方式Token远程服务建议用最小权限凭据
维护方社区 / 第三方核验等级 仅资料核对
包名 / 运行时yuque-mcp · Node.js本地安装时用到的包标识与运行时
部署类型本地部署上游给出的部署形态
最近核验2026-05-17上游最后核验时间

详细介绍

6.9 KB
来自项目仓库与上游目录的原文,未做删改

Yuque MCP Server

Let AI assistants read and write your Yuque (语雀) knowledge base
through the Model Context Protocol.

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."

Quick Start

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.

2. Install — one command locates the right config file for your OS and merges a yuque entry into it, without touching other servers:```bash
npx yuque-mcp install --token=YOUR_TOKEN --client=cursor


Supported clients: `claude-desktop` · `vscode` · `cursor` · `windsurf` · `cline` · `trae` · `qoder` · `opencode`. Prefer an interactive flow? Run `npx yuque-mcp setup`.

Claude Code

Register the server directly:```bash
claude mcp add yuque -- npx -y yuque-mcp --token=YOUR_TOKEN

Other MCP clients (generic config)

Any client that supports stdio transport works — see docs/clients.md for per-client config paths.```json
{
"mcpServers": {
"yuque": {
"command": "npx",
"args": ["-y", "yuque-mcp"],
"env": { "YUQUE_TOKEN": "YOUR_TOKEN" }
}
}
}


**3. Restart your client** and start asking.

## Configuration

| Setting              | Env var / CLI flag        | Description                                                                                                     |
| -------------------- | ------------------------- | --------------------------------------------------------------------------------------------------------------- |
| Token **(required)** | `YUQUE_TOKEN` / `--token` | Personal or team Yuque API token                                                                                |
| Host (optional)      | `YUQUE_HOST` / `--host`   | Site or space host, e.g. `https://your-space.yuque.com` — required for space-bound team tokens and private deployments |

Site roots are normalized to `/api/v2`; when unset, the host defaults to `https://www.yuque.com/api/v2`.```bash
# Team token / private deployment
npx yuque-mcp install --token=YOUR_TOKEN --client=cursor --host=https://your-space.yuque.com

Migrating from an older config?

YUQUE_PERSONAL_TOKEN, YUQUE_BASE_URL, and --base-url still work as legacy fallbacks. Precedence: YUQUE_TOKEN > YUQUE_PERSONAL_TOKEN > --token, and YUQUE_HOST > --host > YUQUE_BASE_URL > --base-url. New configs should use YUQUE_TOKEN and YUQUE_HOST.

Tools (19)

Each tool maps to exactly one Yuque API route.

Category Tool Description
User yuque_get_user Get the authenticated user for the current token
Search yuque_search Search docs or repos, with paging
Books yuque_list_books List books (知识库) of a user
yuque_get_book Get a book by ID or namespace
yuque_create_book Create a book
yuque_update_book Update name, slug, description, or visibility
Docs yuque_list_docs List docs in a book, with paging
yuque_get_doc Get full content — markdown, lake, or html
yuque_create_doc Create a doc in a book
yuque_update_doc Update a doc's body or metadata
TOC yuque_get_toc Get a book's table of contents
yuque_update_toc Append or move a single TOC node
Notes yuque_list_notes List notes (小记), with paging and status filter
yuque_get_note Get a note with full content
yuque_create_note Create a note
yuque_update_note Update a note
Boards yuque_get_resource Read a board (mindmap / flowchart / diagram) from a doc
yuque_create_resource Create a board in a doc
yuque_update_resource Update a board in a doc

In particular, yuque_update_doc cannot combine a markdown body with title / slug / public changes in a single call — update metadata separately. The full contract, including format routing between the YMD markdown API and the legacy document API, is documented in docs/capability-scope.md.

Not covered (yet): comments, attachment upload and file management, permission and member management, section-level doc edits, and structured resources other than boards.

Write access

The create/update tools modify real content in your knowledge base, and the server can do whatever your token can do. Keep the token secret, and prefer a space-scoped team token (with YUQUE_HOST) when you only work within one space. To report a vulnerability, see SECURITY.md.

Troubleshooting

Error Solution
YUQUE_TOKEN ... is required Set YUQUE_TOKEN=YOUR_TOKEN or pass --token=YOUR_TOKEN
401 Unauthorized Token invalid or expired — regenerate it
429 Rate Limited Too many requests — wait a moment and retry
410 Gone Target permanently deleted or endpoint deprecated — check the doc/book exists
Tool not found Update to the latest version: npx -y yuque-mcp@latest
npx command not found Install Node.js v18 or later

Development```bash

git clone https://github.com/yuque/yuque-mcp-server.git
cd yuque-mcp-server
npm install
npm test # run tests
npm run build # compile TypeScript
npm run dev # dev mode with hot reload
```

Architecture, tech stack, and the full tool contract live in docs/. Contributions are welcome — see CONTRIBUTING.md.

Links

  • Yuque API docs
  • Model Context Protocol
  • Yuque AI Ecosystem — skills and plugins built on top of this server

License

MIT

常见问题

8 问
答案由本站依据条目字段整理,不引用上游原文
Yuque MCP Server 2a17adb5 怎么安装?

在客户端按下面的安装命令接入:npx yuque-mcp install --token=YOUR_TOKEN --client=cursor。对应的包名是 yuque-mcp。装完在客户端配置里引用同一个包或端点。

Yuque MCP Server 2a17adb5 怎么在 Claude Desktop、Claude、Cursor 里配置?

它的传输方式是stdio · 本地进程,在客户端的 MCP 配置里填好启动命令和参数,保存后完全退出客户端再打开,配置才会生效。

Yuque MCP Server 2a17adb5 收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于服务本身和背后的接口额度,正式使用前按官方说明确认。

Yuque MCP Server 2a17adb5 需要 API Key 吗?

资料标注需要Token认证,使用前准备好对应凭据,并按最小权限配置。

Yuque MCP Server 2a17adb5 支持哪些客户端?

资料标注支持 Claude Desktop、Claude、Cursor、Windsurf、Cline、VS Code;其他客户端只要能配置 MCP Server,也能用同样的命令或地址接入。

Yuque MCP Server 2a17adb5 能提供哪些能力?

资料显示约 16 个工具;能力标签包括 知识管理、开发工具、TypeScript、Claude、文档处理。具体工具清单以官方文档为准。

Yuque MCP Server 2a17adb5 需要什么运行环境?

运行时为 Node.js;属于本地进程,需要在本机装好运行环境。

Yuque MCP Server 2a17adb5 是本地还是远程?

它是本地进程(stdio),由客户端在本机拉起。传输方式为stdio · 本地进程。

热门专题

按标签挑服务器
全部专题 →

服务器信息以作者仓库与官方文档为准;分类、传输方式与鉴权方式的中文说明为中文整理,最近核验 2026-05-17。