Developer ToolsOAuth2Community
GitLab API MCP Server
Manage repositories, CI/CD pipelines, and merge requests through your AI agent.
Quick Setup
Transport: STDIO
Command: npx -y @gitlab/mcp-server
Environment Variables
GITLAB_TOKENExample: your_gitlab_token
MCP Server Configuration
Add this to your claude_desktop_config.json or Cursor MCP settings.
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y","@gitlab/mcp-server"],
"env": {
"GITLAB_TOKEN": "your_gitlab_token"
}
}
}
}Endpoints
GET
/projectsList projects
GET
/projects/{id}/merge_requestsList merge requests
GET
/projects/{id}/pipelinesList pipelines