YY

yuque/yuque-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

259 stars 28 forks 质量 83 趋势 22MIT

yuque/yuque-mcp-server 是从 https://github.com/yuque/yuque-mcp-server. 导入的 MCP 服务器候选

概览

yuque/yuque-mcp-server 是从 https://github.com/yuque/yuque-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

Yuque MCP 服务器

让AI助手通过模型上下文协议阅读并写出你的语雀知识库。

快速入门 ·工具 ·故障排除 ·文档 ·中文文档

连接好后,可以问你的助理一些问题:

“在我的Yuque里搜查所有关于金丝雀释放的信息,给我一页简短的总结。”

“把今天的会议记录变成我_Tech Research_书里的文档。”

“把这个部署流程图添加到设计文档里。”

快速启动

1.获取令牌——在Yuque开发者设置中创建。如果你使用绑定在Yuque空间的团队令牌,还要注意空间主机(例如https://your-space.yuque.com)——你将以--host]的方式传递。

2.安装——一个命令可以找到你操作系统的正确配置文件,并将一个yuque条目合并进去,且不涉及其他服务器:

支持客户端:claude-desktop ·vscode ·cursor ·windsurf ·cline ·trae ·qoder ·opencode。喜欢交互式流程?运行npx yuque-mcp setup。

克劳德密码

直接注册服务器:

其他MCP客户端(通用配置)

任何支持stdio传输的客户端都能正常工作——请参见docs/clients.md,了解每个客户端的配置路径。

**3.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

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:

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.

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.

# Team token / private deployment
在 GitHub 查看完整 README

安装

npx -y yuque-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "yuque": { "command": "npx", "args": ["-y", "yuque-mcp"], "env": { "YUQUE_TOKEN": "YOUR_TOKEN" } } } }