Skip to main content
Glama

yuque_create_repo

Create a repository in the Yuque knowledge base to organize documents and manage content hierarchies. Specify name, visibility, owner, and description for structured knowledge management.

Instructions

Create a repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRepository name.
slugNoOptional repository slug.
descriptionNoOptional repository description.
isPublicNoWhether the repository is public.
ownerTypeNoOwner type.
ownerLoginNoOwner login for user or group repo creation.

Implementation Reference

  • The handler function for the yuque_create_repo tool.
    yuque_create_repo: async (args, client) => jsonText(await client.createRepo(args)),
  • src/tools.js:272-286 (registration)
    The registration and schema definition for the yuque_create_repo tool.
    {
      name: "yuque_create_repo",
      description: "Create a repository.",
      inputSchema: {
        type: "object",
        properties: {
          name: schemaProperty("string", "Repository name.", { minLength: 1 }),
          slug: schemaProperty("string", "Optional repository slug."),
          description: schemaProperty("string", "Optional repository description."),
          isPublic: schemaProperty("boolean", "Whether the repository is public."),
          ownerType: schemaProperty("string", "Owner type.", { enum: ["user", "group"] }),
          ownerLogin: schemaProperty("string", "Owner login for user or group repo creation.")
        },
        required: ["name"]
      }

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