Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
PORT | No | Port on which the MCP server will run | 3000 |
YUQUE_API_TOKEN | No | Your Yuque API token for authentication | |
YUQUE_API_BASE_URL | No | Base URL for the Yuque API | https://www.yuque.com/api/v2 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_current_user | 获取当前认证用户的信息,包括用户ID、用户名、头像等语雀账号基本信息 |
get_user_docs | 获取当前用户的所有知识库文档列表,包括私人和协作文档 |
get_user_repos | 获取指定用户的知识库列表,知识库是语雀中组织文档的集合 |
get_repo_docs | 获取特定知识库中的所有文档列表,包括文档标题、更新时间等信息 |
get_doc | 获取语雀中特定文档的详细内容,包括正文、修改历史和权限信息(支持分块处理大型文档) |
create_doc | 在指定知识库中创建新的语雀文档,支持多种格式内容 |
update_doc | 更新语雀中已存在的文档,可以修改标题、内容或权限设置 |
delete_doc | 从语雀知识库中删除指定文档,此操作不可撤销 |
search | 在语雀平台中搜索文档或知识库内容,支持范围和作者筛选 |
get_group_statistics | 获取团队的汇总统计数据,包括成员人数、文档数量、阅读量和互动数据等 |
get_group_member_statistics | 获取团队成员的统计数据,包括各成员的编辑次数、阅读量、点赞量等 |
get_group_book_statistics | 获取团队知识库的统计数据,包括各知识库的文档数、字数、阅读量等 |
get_group_doc_statistics | 获取团队文档的统计数据,包括各文档的字数、阅读量、评论量等 |
get_doc_chunks_info | 获取文档的分块元信息,包括总块数、每块的字符数等 |