Skip to main content
Glama

GitLab MCP Server

by Alosies

list_pipelines

Retrieve and filter CI/CD pipelines for a GitLab project by status, branch, commit, or other criteria to monitor build status and execution history.

Instructions

List pipelines in a project

Input Schema

NameRequiredDescriptionDefault
nameNoFilter by pipeline name
order_byNoOrder pipelines by fieldid
per_pageNoNumber of results per page (max 100)
project_idYesProject ID or path
refNoFilter by branch or tag name
shaNoFilter by commit SHA
sortNoSort orderdesc
statusNoFilter by pipeline status
updated_afterNoFilter pipelines updated after this date (ISO 8601 format)
updated_beforeNoFilter pipelines updated before this date (ISO 8601 format)
usernameNoFilter by username of the user who triggered the pipeline
yaml_errorsNoFilter pipelines with YAML errors

Input Schema (JSON Schema)

{ "properties": { "name": { "description": "Filter by pipeline name", "type": "string" }, "order_by": { "default": "id", "description": "Order pipelines by field", "enum": [ "id", "status", "ref", "updated_at", "user_id" ], "type": "string" }, "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" }, "ref": { "description": "Filter by branch or tag name", "type": "string" }, "sha": { "description": "Filter by commit SHA", "type": "string" }, "sort": { "default": "desc", "description": "Sort order", "enum": [ "asc", "desc" ], "type": "string" }, "status": { "description": "Filter by pipeline status", "enum": [ "created", "waiting_for_resource", "preparing", "pending", "running", "success", "failed", "canceled", "skipped", "manual", "scheduled" ], "type": "string" }, "updated_after": { "description": "Filter pipelines updated after this date (ISO 8601 format)", "type": "string" }, "updated_before": { "description": "Filter pipelines updated before this date (ISO 8601 format)", "type": "string" }, "username": { "description": "Filter by username of the user who triggered the pipeline", "type": "string" }, "yaml_errors": { "description": "Filter pipelines with YAML errors", "type": "boolean" } }, "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