Skip to main content
Glama

yuque_get_repos

Retrieve Yuque knowledge base repositories for current or specified users and groups to manage content hierarchies and document structures.

Instructions

List Yuque repositories for the current user or a specified user.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
userIdNoOptional Yuque user ID.
ownerTypeNoOptional owner type.
ownerLoginNoOptional owner login. When provided, ownerType decides /users/{login}/repos or /groups/{login}/repos.

Implementation Reference

  • The handler function for 'yuque_get_repos' which calls the client's getRepos method.
    yuque_get_repos: async (args, client) =>
      jsonText(await client.getRepos(args.ownerLogin ? args : args.userId)),
  • The schema definition for 'yuque_get_repos'.
      name: "yuque_get_repos",
      description: "List Yuque repositories for the current user or a specified user.",
      inputSchema: {
        type: "object",
        properties: {
          userId: schemaProperty("string", "Optional Yuque user ID."),
          ownerType: schemaProperty("string", "Optional owner type.", { enum: ["user", "group"] }),
          ownerLogin: schemaProperty("string", "Optional owner login. When provided, ownerType decides /users/{login}/repos or /groups/{login}/repos.")
        }
      }
    },

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/MichealJou/yuque-mcp-plus'

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