Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YUQUE_TOKEN | Yes | Yuque API token. This is required for authentication. | |
| YUQUE_RETRIES | No | Optional number of retries for API requests. | |
| YUQUE_TIMEOUT_MS | No | Optional timeout for API requests in milliseconds. | |
| YUQUE_API_BASE_URL | No | Optional base URL for the Yuque API. | |
| YUQUE_DEFAULT_REPO_ID | No | Optional default repository ID. Takes precedence over YUQUE_DEFAULT_REPO_NAMESPACE. | |
| YUQUE_DEFAULT_REPO_NAMESPACE | No | Optional default repository namespace. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| yuque_request | Generic Yuque OpenAPI request passthrough for endpoints not wrapped by dedicated tools. |
| yuque_multipart_request | Generic Yuque multipart request for upload-style endpoints such as attachment workflows. |
| yuque_hello | Call the Yuque hello endpoint. |
| yuque_get_user | Get the current Yuque user. |
| yuque_get_repos | List Yuque repositories for the current user or a specified user. |
| yuque_list_groups | List groups or teams for the current user or a specified user. |
| yuque_get_repo | Get repository detail. |
| yuque_get_default_repository | Resolve the default Yuque repository using server config or a fallback heuristic. |
| yuque_get_repository_toc_tree | Get the full repository TOC tree, including nested directories and docs. |
| yuque_get_docs | List docs in a repository. |
| yuque_get_doc | Get doc detail by doc ID. |
| yuque_create_doc | Create a doc. If parentUuid is provided, the doc is attached under that TOC node. |
| yuque_update_doc | Update an existing doc. |
| yuque_move_document | Move a doc or TOC node to another parent by UUID. |
| yuque_create_toc_node | Create a TITLE or LINK node in the repository TOC tree. |
| yuque_delete_toc_node | Delete a TITLE or LINK node from the repository TOC tree. |
| yuque_delete_doc | Delete a doc by ID. |
| yuque_search | Search Yuque content. |
| yuque_create_repo | Create a repository. |
| yuque_update_repo | Update repository metadata. |
| yuque_delete_repo | Delete a repository. |
| yuque_update_repository_toc | Send a raw TOC update payload to the repository TOC API. |
| yuque_list_doc_versions | List all versions of a document. |
| yuque_get_doc_version | Get a specific document version. |
| yuque_list_group_members | List all members of a group or team. |
| yuque_update_group_member | Update a group member role. |
| yuque_remove_group_member | Remove a member from a group. |
| yuque_group_stats | Get overall statistics for a group. |
| yuque_group_member_stats | Get member statistics for a group. |
| yuque_group_book_stats | Get repository statistics for a group. |
| yuque_group_doc_stats | Get document statistics for a group. |
| yuque_list_repos | Alias of yuque_get_repos for compatibility with official naming. |
| yuque_list_docs | Alias of yuque_get_docs for compatibility with official naming. |
| yuque_get_toc | Alias of yuque_get_repository_toc_tree for compatibility with official naming. |
| yuque_update_toc | Alias of yuque_update_repository_toc for compatibility with official naming. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |