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: qodev-gitlab-mcp
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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceProduction-ready MCP server providing GitLab integration with OAuth authentication, enabling AI assistants to manage projects, issues, merge requests, branches, files, and commits across GitLab instances.MIT
- Alicense-qualityDmaintenanceA Model Context Protocol server for GitLab integration, enabling AI assistants to manage projects, merge requests, pipelines, issues, releases, and more.MIT
- AlicenseCqualityAmaintenanceA production-ready MCP server for GitLab enabling AI assistants to read and manage GitLab projects, merge requests, issues, pipelines, wikis, releases, and more through a unified interface.1006849MIT
- AlicenseAqualityAmaintenanceMCP server for GitLab REST API enabling AI agents to manage pipelines, merge requests, diffs, and local reviews.159MIT
Related MCP Connectors
Go MCP server for GitLab: 2 dynamic tools reach 1000+ REST/GraphQL actions. Free/CE, no paid tier.
A MCP server built for developers enabling Git based project management with project and personal…
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- 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