Skip to main content
Glama

GitHub Enterprise MCP Server

list-branches

Retrieve branch details for a GitHub Enterprise repository, including protected branches, with pagination support. Specify owner, repo, and optional filters for precise results.

Input Schema

NameRequiredDescriptionDefault
ownerYesUser or organization name
pageNoPage number
perPageNoItems per page
protected_onlyNoWhether to show only protected branches
repoYesRepository name

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "owner": { "description": "User or organization name", "type": "string" }, "page": { "default": 1, "description": "Page number", "type": "number" }, "perPage": { "default": 30, "description": "Items per page", "type": "number" }, "protected_only": { "default": false, "description": "Whether to show only protected branches", "type": "boolean" }, "repo": { "description": "Repository name", "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/ddukbg/github-enterprise-mcp'

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