About
Overview
The GitLab MCP Server enables AI agents to interact with GitLab instances. It provides tools for managing projects, creating merge requests, filing issues, browsing repository contents, and interacting with CI/CD pipelines. Supports both GitLab.com and self-hosted instances.
Capabilities
Tools & Capabilities
⚡create_issue
Create a new GitLab issue
⚡create_merge_request
Create a merge request
⚡list_projects
List projects accessible to the user
⚡get_file_contents
Get file contents from a repository
⚡list_pipelines
List CI/CD pipelines for a project
⚡search_code
Search code across projects
Setup
Installation
bash
Install
npx -y @modelcontextprotocol/server-gitlabExamples
Example Usage
javascript
Usage
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-gitlab"],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "glpat-your-token",
"GITLAB_API_URL": "https://gitlab.com/api/v4"
}
}
}
}Quick Info
AuthorAnthropic
LanguageTypeScript
StatusStable
Stars★ 890
Last UpdatedFeb 12, 2026