Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YUQUE_TOKENYes语雀 API Token (必填)
YUQUE_BASE_URLNo语雀 API 地址,私有域名时需修改https://www.yuque.com
YUQUE_MCP_DEBUGNo设为 '1' 开启 DEBUG 日志
YUQUE_PERMISSION_LEVELNo权限级别:read/write/adminread

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
yuque_helloA

心跳检测 - 测试与语雀 API 的连接是否正常

权限要求: read

yuque_get_user_infoA

获取当前 Token 对应的用户详情

权限要求: read 返回: 用户信息,包含 id、login、name、avatar_url 等

yuque_get_user_groupsB

获取指定用户所属的团队列表

权限要求: read 参数:

  • id: 用户 ID 或 login

  • role: 角色过滤 (可选)

  • offset: 偏移量 (可选)

yuque_get_user_reposA

获取指定用户的知识库列表

权限要求: read 参数:

  • login: 用户 login

  • offset: 偏移量 (可选)

  • limit: 每页数量 (可选)

  • type: 知识库类型 (可选, 如 Book/Design/System)

yuque_get_group_reposA

获取指定团队的知识库列表

权限要求: read 参数:

  • login: 团队 login

  • offset: 偏移量 (可选)

  • limit: 每页数量 (可选)

  • type: 知识库类型 (可选)

yuque_get_repoA

获取知识库详情

权限要求: read 参数:

  • group_login: 团队/用户 login

  • book_slug: 知识库 slug

yuque_get_docsA

获取知识库的文档列表

权限要求: read 参数:

  • group_login: 团队/用户 login

  • book_slug: 知识库 slug

  • offset: 偏移量 (可选)

  • limit: 每页数量 (可选)

  • optional_properties: 附加属性 (可选, 如 body, body_html)

yuque_get_docB

获取文档详情

权限要求: read 参数:

  • group_login: 团队/用户 login

  • book_slug: 知识库 slug

  • id: 文档 ID

  • page_size: 评论每页数量 (可选)

  • page: 评论页码 (可选)

yuque_get_doc_by_book_idA

通过知识库 ID 获取文档详情

权限要求: read 参数:

  • book_id: 知识库 ID

  • id: 文档 ID

  • page_size: 评论每页数量 (可选)

  • page: 评论页码 (可选)

yuque_get_tocB

获取知识库目录

权限要求: read 参数:

  • group_login: 团队/用户 login

  • book_slug: 知识库 slug

yuque_get_toc_by_book_idC

通过知识库 ID 获取目录

权限要求: read 参数:

  • book_id: 知识库 ID

yuque_get_doc_versionsA

获取文档历史版本列表

权限要求: read 参数:

  • doc_id: 文档 ID

yuque_get_doc_versionB

获取文档历史版本详情

权限要求: read 参数:

  • id: 版本 ID

yuque_searchA

在语雀中进行通用搜索

权限要求: read 参数:

  • q: 搜索关键词

  • type: 搜索类型 (可选, 如 doc/repo/user)

  • scope: 搜索范围 (可选)

  • page: 页码 (可选)

  • offset: 偏移量 (可选)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Lorwy/yuque-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server