| name | view-pipeline |
| description | View CI/CD pipeline status for a merge request or project |
View GitLab Pipeline Status
Name
gitlab:view-pipeline - View CI/CD pipeline status for a merge request or project
Synopsis
/view-pipeline [arguments]
Description
View CI/CD pipeline status for a merge request or project
Implementation
View the status of CI/CD pipelines for a merge request or project.
Usage
/view-pipeline [project-id] [mr-number]
Or for a specific pipeline:
/view-pipeline [project-id] --pipeline [pipeline-id]
This command displays comprehensive pipeline and job information.
What This Command Does
- Fetches pipeline data for a merge request or specific pipeline ID
- Retrieves all jobs in the pipeline using
get_pipeline_jobs
- Displays:
- Pipeline status and duration
- Individual job statuses
- Failed job logs (if any)
- Job durations and timestamps
- Pipeline stages breakdown
Prerequisites
- GitLab MCP server must be installed and configured
- You must have access to the project
- OAuth authentication must be completed
Example Interaction
View MR Pipeline
User: /view-pipeline 456 15
Claude: Fetching pipeline status for MR !15 in project 456...
## Pipeline Status for MR !15
### Pipeline #1234
**Status**: ⏳ Running
**Duration**: 3m 42s (still running)
**Started**: 2025-01-15 10:30:22
**Branch**: feature/user-authentication
### Jobs by Stage
#### Stage: build (✓ Completed - 1m 23s)
- ✓ compile-typescript - Passed (1m 18s)
- ✓ bundle-assets - Passed (54s)
#### Stage: test (⏳ Running - 2m 15s)
- ✓ unit-tests - Passed (1m 45s)
- ⏳ integration-tests - Running (30s elapsed)
- ⏸️ e2e-tests - Pending
#### Stage: lint (⏸️ Pending)
- ⏸️ eslint-check - Pending
- ⏸️ type-check - Pending
#### Stage: deploy (⏸️ Pending)
- ⏸️ deploy-staging - Pending
### Summary
2 of 7 jobs completed successfully
1 job currently running
4 jobs pending
Estimated time remaining: ~2-3 minutes