Skip to main content
Glama

GitLab MCP Server

by Alosies

list_project_branches

Retrieve and search through branches within a GitLab project to view available development lines and manage code versions effectively.

Instructions

List branches in a project

Input Schema

NameRequiredDescriptionDefault
per_pageNoNumber of results per page (max 100)
project_idYesProject ID or path
searchNoSearch branches by name

Input Schema (JSON Schema)

{ "properties": { "per_page": { "default": 20, "description": "Number of results per page (max 100)", "maximum": 100, "type": "number" }, "project_id": { "description": "Project ID or path", "type": "string" }, "search": { "description": "Search branches by name", "type": "string" } }, "required": [ "project_id" ], "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/Alosies/gitlab-mcp-server'

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