gitlab-mcp
Allows AI assistants to access GitLab CI pipelines, job logs, repositories, branches, merge requests, and commits through the GitLab REST API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@gitlab-mcpshow the latest pipeline status for the main branch"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
gitlab-mcp
MCP server for GitLab — gives AI assistants access to CI pipelines, job logs, repositories, branches, merge requests, and commits through the GitLab REST API.
Why
CI failures, pipeline status, and MR reviews are a constant context-switch. This server lets an AI assistant fetch job logs, retry failures, inspect diffs, and comment on MRs without the developer leaving their current task.
Related MCP server: GitLab MCP Server
Tools
Pipelines & Jobs
Tool | Description |
| Recent pipelines with status |
| Pipeline summary + job breakdown |
| Jobs in a specific pipeline |
| Status of a single job |
| Raw log output (with |
| Block until a job reaches a terminal state |
| Retry a failed/cancelled job |
| Cancel a running job |
| Retry all failed jobs in a pipeline |
| Trigger a new pipeline on a ref |
Repositories & Branches
Tool | Description |
| Projects accessible to the token |
| Project metadata |
| Branches with latest commit |
| File contents at any ref |
| Commit log for a ref |
| Commit detail + diff stats |
Merge Requests
Tool | Description |
| Open/closed/merged MRs |
| Full MR detail |
| Open a new MR |
| Post a comment on an MR |
Configuration
Variable | Description |
| GitLab instance base URL |
| Personal or project access token |
| Default project path (e.g. |
|
|
| SSE listen address |
Run
pip install -e .
GITLAB_URL=https://gitlab.example.com GITLAB_TOKEN=... gitlab-mcpDeploy
Deployed as a systemd SSE service on Proteus. GitLab CI pushes on merge to main.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/LeonRLewis/gitlab-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server