Skip to content
MCP-Bridge
Developer Tools

GitLab API Claude Desktop Config

Add the GitLab API MCP server to Claude Desktop with this ready-to-use configuration.

Setup Instructions

  1. Open Claude Desktop
  2. Go to Settings → Developer → Edit Config → claude_desktop_config.json
  3. Paste the JSON below into the file
  4. Set your OAuth2 in the env section
  5. Restart Claude Desktop

Configuration JSON

Copy the entire block into your claude_desktop_config.json

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

Environment Variables

GITLAB_TOKEN

Replace your_gitlab_token with your actual gitlab token

Endpoints

GET/projects

List projects

GET/projects/{id}/merge_requests

List merge requests

GET/projects/{id}/pipelines

List pipelines