Skip to content
MCP-BridgeMCP-Bridge
Developer ToolsOAuth2CommunityScore: 58

GitLab API MCP Server

Manage repositories, CI/CD pipelines, and merge requests through your AI agent.

Quick Answer

  1. 1. The GitLab API MCP server lets Claude, Cursor, and VS Code interact with the GitLab API API through natural language.
  2. 2. Setup: Add the config to claude_desktop_config.json, set your OAuth2 variables, and restart.
  3. 3. 3 operations available including List projects, List merge requests, List pipelines.
  4. 4. Quality score: 58/99fair source quality and documentation coverage.

Overview

Category: Developer Tools

Auth: OAuth2

Endpoints: 3

Transport: STDIO

Command: npx -y @gitlab/mcp-server

Spec: v4.0

Setup time: ~2 min (auth required)

Environment Variables

GITLAB_TOKEN

Example: your_gitlab_token

One-Click Install

Copy the snippet for your MCP client and paste it in — zero editing required.

Claude Desktop

Add to claude_desktop_config.json

{
  "mcpServers": {
    "gitlab": {
      "command": "npx",
      "args": [
        "-y",
        "@gitlab/mcp-server"
      ],
      "env": {
        "GITLAB_TOKEN": "your_gitlab_token"
      }
    }
  }
}
Deep link

Cursor

Settings → MCP Servers → Add

{
  "mcpServers": {
    "gitlab": {
      "url": "https://mcpbridge.org/config/gitlab.json"
    }
  }
}

Saves as .cursor/mcp.json in the download. Move it to your project root.

Deep link install →

VS Code

Use with MCP extension

{
  "mcpServers": {
    "gitlab": {
      "url": "https://mcpbridge.org/config/gitlab.json"
    }
  }
}

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"
}
    }
  }
}

What You Can Build

With the GitLab API MCP server, your AI assistant can:

  • Access 3 API operations through natural language
  • Read, create, and modify developer tools resources without writing HTTP requests
  • Chain multiple operations in a single conversation for complex workflows
  • Combine with other MCP servers for cross-tool automation

Endpoints

GET/projects

List projects

GET/projects/{id}/merge_requests

List merge requests

GET/projects/{id}/pipelines

List pipelines

Authentication

This API requires OAuth2 authentication.

Set the required environment variables in your MCP client before using this server. Refer to the GitLab API API documentation to obtain credentials.

Required environment variables:

  • GITLAB_TOKEN

Spec Version

Version: 4.0

Spec version published with the OpenAPI document. Config auto-updates when the spec changes.

Page last updated: June 13, 2026

Quality Score

58/99Fair
  • +Community source (+22)
  • +Has documentation (+12)
  • +Auth type defined (+8)
  • +OpenAPI spec available (+8)
  • +3 endpoints (+8)

Own this API?

Claim your listing to update description, links, and category — and get a verified badge.

Claim this listing →