Skip to main content
Glama

list_branches

List branches in a Gitee repository, allowing sorting by name or update time, pagination, and flexible direction to manage repository branches efficiently.

Instructions

列出 Gitee 仓库中的分支

Input Schema

NameRequiredDescriptionDefault
directionNoSort directionasc
ownerYesRepository owner path (enterprise, organization, or personal path)
pageNoPage number
per_pageNoNumber of items per page, maximum 100
repoYesRepository path
sortNoSort fieldname

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "direction": { "default": "asc", "description": "Sort direction", "enum": [ "asc", "desc" ], "type": "string" }, "owner": { "description": "Repository owner path (enterprise, organization, or personal path)", "type": "string" }, "page": { "default": 1, "description": "Page number", "type": "integer" }, "per_page": { "description": "Number of items per page, maximum 100", "maximum": 100, "minimum": 1, "type": "integer" }, "repo": { "description": "Repository path", "type": "string" }, "sort": { "default": "name", "description": "Sort field", "enum": [ "name", "updated" ], "type": "string" } }, "required": [ "owner", "repo" ], "type": "object" }

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/normal-coder/gitee-mcp-server'

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