gitlab-mcp
MCP server for GitLab that enables AI assistants to manage CI pipelines, job logs, repositories, branches, merge requests, and commits via the GitLab REST API.
README
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.
Tools
Pipelines & Jobs
| Tool | Description |
|---|---|
gitlab_list_pipelines |
Recent pipelines with status |
gitlab_get_pipeline |
Pipeline summary + job breakdown |
gitlab_list_jobs |
Jobs in a specific pipeline |
gitlab_get_job |
Status of a single job |
gitlab_get_job_log |
Raw log output (with tail truncation) |
gitlab_poll_job |
Block until a job reaches a terminal state |
gitlab_retry_job |
Retry a failed/cancelled job |
gitlab_cancel_job |
Cancel a running job |
gitlab_retry_pipeline |
Retry all failed jobs in a pipeline |
gitlab_trigger_pipeline |
Trigger a new pipeline on a ref |
Repositories & Branches
| Tool | Description |
|---|---|
gitlab_list_projects |
Projects accessible to the token |
gitlab_get_project |
Project metadata |
gitlab_list_branches |
Branches with latest commit |
gitlab_get_file |
File contents at any ref |
gitlab_list_commits |
Commit log for a ref |
gitlab_get_commit |
Commit detail + diff stats |
Merge Requests
| Tool | Description |
|---|---|
gitlab_list_merge_requests |
Open/closed/merged MRs |
gitlab_get_merge_request |
Full MR detail |
gitlab_create_merge_request |
Open a new MR |
gitlab_add_mr_note |
Post a comment on an MR |
Configuration
| Variable | Description |
|---|---|
GITLAB_URL |
GitLab instance base URL |
GITLAB_TOKEN |
Personal or project access token |
GITLAB_DEFAULT_PROJECT |
Default project path (e.g. group/project) |
MCP_TRANSPORT |
stdio (default) or sse |
MCP_HOST / MCP_PORT |
SSE listen address |
Run
pip install -e .
GITLAB_URL=https://gitlab.example.com GITLAB_TOKEN=... gitlab-mcp
Deploy
Deployed as a systemd SSE service on Proteus. GitLab CI pushes on merge to main.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.