Koskamo

GitLab MCP

An open-source Model Context Protocol server that enables AI agents to interact with GitLab.com and self-managed instances. It provides 91 tools to manage projects, merge requests, pipelines, CI/CD variables, approvals, issues, and code reviews. The server supports both read-write operations and a locked read-only mode via the MCP_READ_ONLY environment variable.

Package and access

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

GitLab MCP logo, by Visweshwaran SCommunity listingLocal stdioSource reviewed; not executedPublished by Visweshwaran S
Vendor documentation

What you can do with it

  • Manage GitLab projects and repository files
  • Create and review merge requests
  • Monitor and manage CI/CD pipelines
  • Handle issues and approvals

Source and maintenance

Community listingRegistry 0.25.2
Maintenance checked

Packages and installation

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

ghcr.io/vish288/mcp-gitlab:0.25.2

oci
ghcr.io/vish288/mcp-gitlab:0.25.2 package definition
{
  "transport": "stdio",
  "identifier": "ghcr.io/vish288/mcp-gitlab:0.25.2",
  "registryType": "oci",
  "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": "MCP_TOOLSETS",
      "format": "string",
      "description": "Comma list of tool groups to expose (code, review, ci, issues, release, admin); unset or 'all' lists every tool. Shrinks tools/list for clients with a tool budget; MCP_READ_ONLY still applies after the selection"
    },
    {
      "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.

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": {
    "gitlab-mcp-0-25-2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITLAB_TOKEN=<YOUR_GITLAB_TOKEN>",
        "-e",
        "GITLAB_URL=<YOUR_GITLAB_URL>",
        "-e",
        "GITLAB_READ_ONLY=<YOUR_GITLAB_READ_ONLY>",
        "-e",
        "MCP_READ_ONLY=<YOUR_MCP_READ_ONLY>",
        "-e",
        "MCP_TOOLSETS=<YOUR_MCP_TOOLSETS>",
        "-e",
        "GITLAB_AUTH=<YOUR_GITLAB_AUTH>",
        "-e",
        "GITLAB_OAUTH_CLIENT_ID=<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "-e",
        "GITLAB_OAUTH_CLIENT_SECRET=<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "-e",
        "GITLAB_OAUTH_BASE_URL=<YOUR_GITLAB_OAUTH_BASE_URL>",
        "-e",
        "GITLAB_OAUTH_SCOPES=<YOUR_GITLAB_OAUTH_SCOPES>",
        "-e",
        "GITLAB_OAUTH_JWT_KEY=<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "-e",
        "GITLAB_HTTP_BEARER_TOKEN=<YOUR_GITLAB_HTTP_BEARER_TOKEN>",
        "ghcr.io/vish288/mcp-gitlab:0.25.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>",
        "MCP_TOOLSETS": "<YOUR_MCP_TOOLSETS>",
        "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": {
    "gitlab-mcp-0-25-2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITLAB_TOKEN=<YOUR_GITLAB_TOKEN>",
        "-e",
        "GITLAB_URL=<YOUR_GITLAB_URL>",
        "-e",
        "GITLAB_READ_ONLY=<YOUR_GITLAB_READ_ONLY>",
        "-e",
        "MCP_READ_ONLY=<YOUR_MCP_READ_ONLY>",
        "-e",
        "MCP_TOOLSETS=<YOUR_MCP_TOOLSETS>",
        "-e",
        "GITLAB_AUTH=<YOUR_GITLAB_AUTH>",
        "-e",
        "GITLAB_OAUTH_CLIENT_ID=<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "-e",
        "GITLAB_OAUTH_CLIENT_SECRET=<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "-e",
        "GITLAB_OAUTH_BASE_URL=<YOUR_GITLAB_OAUTH_BASE_URL>",
        "-e",
        "GITLAB_OAUTH_SCOPES=<YOUR_GITLAB_OAUTH_SCOPES>",
        "-e",
        "GITLAB_OAUTH_JWT_KEY=<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "-e",
        "GITLAB_HTTP_BEARER_TOKEN=<YOUR_GITLAB_HTTP_BEARER_TOKEN>",
        "ghcr.io/vish288/mcp-gitlab:0.25.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>",
        "MCP_TOOLSETS": "<YOUR_MCP_TOOLSETS>",
        "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": {
    "gitlab-mcp-0-25-2": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITLAB_TOKEN=<YOUR_GITLAB_TOKEN>",
        "-e",
        "GITLAB_URL=<YOUR_GITLAB_URL>",
        "-e",
        "GITLAB_READ_ONLY=<YOUR_GITLAB_READ_ONLY>",
        "-e",
        "MCP_READ_ONLY=<YOUR_MCP_READ_ONLY>",
        "-e",
        "MCP_TOOLSETS=<YOUR_MCP_TOOLSETS>",
        "-e",
        "GITLAB_AUTH=<YOUR_GITLAB_AUTH>",
        "-e",
        "GITLAB_OAUTH_CLIENT_ID=<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "-e",
        "GITLAB_OAUTH_CLIENT_SECRET=<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "-e",
        "GITLAB_OAUTH_BASE_URL=<YOUR_GITLAB_OAUTH_BASE_URL>",
        "-e",
        "GITLAB_OAUTH_SCOPES=<YOUR_GITLAB_OAUTH_SCOPES>",
        "-e",
        "GITLAB_OAUTH_JWT_KEY=<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "-e",
        "GITLAB_HTTP_BEARER_TOKEN=<YOUR_GITLAB_HTTP_BEARER_TOKEN>",
        "ghcr.io/vish288/mcp-gitlab:0.25.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>",
        "MCP_TOOLSETS": "<YOUR_MCP_TOOLSETS>",
        "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": {
    "gitlab-mcp-0-25-2": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITLAB_TOKEN=<YOUR_GITLAB_TOKEN>",
        "-e",
        "GITLAB_URL=<YOUR_GITLAB_URL>",
        "-e",
        "GITLAB_READ_ONLY=<YOUR_GITLAB_READ_ONLY>",
        "-e",
        "MCP_READ_ONLY=<YOUR_MCP_READ_ONLY>",
        "-e",
        "MCP_TOOLSETS=<YOUR_MCP_TOOLSETS>",
        "-e",
        "GITLAB_AUTH=<YOUR_GITLAB_AUTH>",
        "-e",
        "GITLAB_OAUTH_CLIENT_ID=<YOUR_GITLAB_OAUTH_CLIENT_ID>",
        "-e",
        "GITLAB_OAUTH_CLIENT_SECRET=<YOUR_GITLAB_OAUTH_CLIENT_SECRET>",
        "-e",
        "GITLAB_OAUTH_BASE_URL=<YOUR_GITLAB_OAUTH_BASE_URL>",
        "-e",
        "GITLAB_OAUTH_SCOPES=<YOUR_GITLAB_OAUTH_SCOPES>",
        "-e",
        "GITLAB_OAUTH_JWT_KEY=<YOUR_GITLAB_OAUTH_JWT_KEY>",
        "-e",
        "GITLAB_HTTP_BEARER_TOKEN=<YOUR_GITLAB_HTTP_BEARER_TOKEN>",
        "ghcr.io/vish288/mcp-gitlab:0.25.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>",
        "MCP_TOOLSETS": "<YOUR_MCP_TOOLSETS>",
        "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 GitLab MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.