Koskamo

mcp-gitlab

An open-source Model Context Protocol server for the GitLab REST API, providing 91 tools and 7 resources to manage projects, merge requests, pipelines, CI/CD variables, approvals, issues, and code reviews. It supports both GitLab.com and self-hosted instances, works with various AI clients like Claude and Cursor, and offers a read-only mode for safety.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-gitlab logo, by vish288Community listingLocal stdioSource reviewed; not executedPublished by vish288
You need:Install uv first (required for all uvx install flows)
Vendor documentation

Checks and signals

Each line is separate evidence, not a trust score.

  • Popularity 6 GitHub stars

What you can do with it

  • Manage GitLab projects and issues
  • Review and approve merge requests
  • Monitor and manage CI/CD pipelines
  • Handle repository files and code reviews

Source and maintenance

Community listingRegistry 0.21.2MIT
Last repository push
Latest release
v0.21.2
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

mcp-gitlab 0.21.2

pypi
mcp-gitlab package definition
{
  "version": "0.21.2",
  "transport": "stdio",
  "identifier": "mcp-gitlab",
  "registryType": "pypi",
  "environmentVariables": [
    {
      "name": "GITLAB_TOKEN",
      "format": "string",
      "description": "GitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN"
    },
    {
      "name": "GITLAB_URL",
      "format": "string",
      "isRequired": true,
      "description": "GitLab instance URL (e.g. https://gitlab.com)"
    },
    {
      "name": "GITLAB_READ_ONLY",
      "format": "string",
      "description": "Alias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock"
    },
    {
      "name": "MCP_READ_ONLY",
      "format": "string",
      "description": "Locks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's env"
    },
    {
      "name": "GITLAB_AUTH",
      "format": "string",
      "description": "Authentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)"
    },
    {
      "name": "GITLAB_OAUTH_CLIENT_ID",
      "format": "string",
      "description": "Application ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)"
    },
    {
      "name": "GITLAB_OAUTH_CLIENT_SECRET",
      "format": "string",
      "description": "Secret of the GitLab OAuth app (oauth mode)"
    },
    {
      "name": "GITLAB_OAUTH_BASE_URL",
      "format": "string",
      "description": "Public URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callback"
    },
    {
      "name": "GITLAB_OAUTH_SCOPES",
      "format": "string",
      "description": "Space-separated GitLab scopes required on every request (oauth mode; default api)"
    },
    {
      "name": "GITLAB_OAUTH_JWT_KEY",
      "format": "string",
      "description": "FastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)"
    },
    {
      "name": "GITLAB_HTTP_BEARER_TOKEN",
      "format": "string",
      "description": "Bearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer <token>' (token mode; --auth oauth has its own sign-in)"
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · repository · passed · metadata changed · updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-gitlab": {
      "command": "uvx",
      "args": [
        "mcp-gitlab==0.21.2"
      ],
      "env": {
        "GITLAB_TOKEN": "<YOUR_GITLAB_TOKEN>",
        "GITLAB_URL": "<YOUR_GITLAB_URL>",
        "GITLAB_READ_ONLY": "<YOUR_GITLAB_READ_ONLY>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>",
        "GITLAB_AUTH": "<YOUR_GITLAB_AUTH>",
        "GITLAB_OAUTH_CLIENT_ID": "<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "GITLAB_OAUTH_CLIENT_SECRET": "<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "GITLAB_OAUTH_BASE_URL": "<YOUR_GITLAB_OAUTH_BASE_URL>",
        "GITLAB_OAUTH_SCOPES": "<YOUR_GITLAB_OAUTH_SCOPES>",
        "GITLAB_OAUTH_JWT_KEY": "<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "GITLAB_HTTP_BEARER_TOKEN": "<YOUR_GITLAB_HTTP_BEARER_TOKEN>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-gitlab": {
      "command": "uvx",
      "args": [
        "mcp-gitlab==0.21.2"
      ],
      "env": {
        "GITLAB_TOKEN": "<YOUR_GITLAB_TOKEN>",
        "GITLAB_URL": "<YOUR_GITLAB_URL>",
        "GITLAB_READ_ONLY": "<YOUR_GITLAB_READ_ONLY>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>",
        "GITLAB_AUTH": "<YOUR_GITLAB_AUTH>",
        "GITLAB_OAUTH_CLIENT_ID": "<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "GITLAB_OAUTH_CLIENT_SECRET": "<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "GITLAB_OAUTH_BASE_URL": "<YOUR_GITLAB_OAUTH_BASE_URL>",
        "GITLAB_OAUTH_SCOPES": "<YOUR_GITLAB_OAUTH_SCOPES>",
        "GITLAB_OAUTH_JWT_KEY": "<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "GITLAB_HTTP_BEARER_TOKEN": "<YOUR_GITLAB_HTTP_BEARER_TOKEN>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-gitlab": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-gitlab==0.21.2"
      ],
      "env": {
        "GITLAB_TOKEN": "<YOUR_GITLAB_TOKEN>",
        "GITLAB_URL": "<YOUR_GITLAB_URL>",
        "GITLAB_READ_ONLY": "<YOUR_GITLAB_READ_ONLY>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>",
        "GITLAB_AUTH": "<YOUR_GITLAB_AUTH>",
        "GITLAB_OAUTH_CLIENT_ID": "<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "GITLAB_OAUTH_CLIENT_SECRET": "<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "GITLAB_OAUTH_BASE_URL": "<YOUR_GITLAB_OAUTH_BASE_URL>",
        "GITLAB_OAUTH_SCOPES": "<YOUR_GITLAB_OAUTH_SCOPES>",
        "GITLAB_OAUTH_JWT_KEY": "<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "GITLAB_HTTP_BEARER_TOKEN": "<YOUR_GITLAB_HTTP_BEARER_TOKEN>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-gitlab": {
      "command": "uvx",
      "args": [
        "mcp-gitlab==0.21.2"
      ],
      "env": {
        "GITLAB_TOKEN": "<YOUR_GITLAB_TOKEN>",
        "GITLAB_URL": "<YOUR_GITLAB_URL>",
        "GITLAB_READ_ONLY": "<YOUR_GITLAB_READ_ONLY>",
        "MCP_READ_ONLY": "<YOUR_MCP_READ_ONLY>",
        "GITLAB_AUTH": "<YOUR_GITLAB_AUTH>",
        "GITLAB_OAUTH_CLIENT_ID": "<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "GITLAB_OAUTH_CLIENT_SECRET": "<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "GITLAB_OAUTH_BASE_URL": "<YOUR_GITLAB_OAUTH_BASE_URL>",
        "GITLAB_OAUTH_SCOPES": "<YOUR_GITLAB_OAUTH_SCOPES>",
        "GITLAB_OAUTH_JWT_KEY": "<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "GITLAB_HTTP_BEARER_TOKEN": "<YOUR_GITLAB_HTTP_BEARER_TOKEN>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-gitlab from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.