Skip to main content
Glama

list_branches

Retrieve and filter branches from a Git repository to view available development lines and search for specific ones.

Instructions

List branches in a repository. Optionally search for specific branches.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoYesRepository identifier (GitLab: "group/project" or ID, GitHub: "owner/repo")
searchNoSearch term to filter branches
pageNoPage number (default: 1)
per_pageNoItems per page (default: 20, max: 100)

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/Ray0907/git-mcp-server'

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