Home / Developer tools / GitLab MCP Server

GitLab MCP Server

io.github.jmrplens/gitlab-mcp-server · v3.8.0 streamable-http, stdio

Score 74. Maintenance 30 of 40, security 35 of 35, adoption 9 of 25.

Go MCP server for GitLab: 2 dynamic tools reach ~879 actions on Free/CE, up to ~1106 on Ultimate.

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #462 of 643 Developer tools servers on Socketlist by score, with 57 GitHub stars and a last code push 1d ago.

Install

docker run -i --rm ghcr.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4
docker run -i --rm docker.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4
npx -y @jmrp.io/gitlab-mcp-server
uvx jmrplens-gitlab-mcp-server
dnx gitlab-mcp-server@3.8.0 --yes

Published as an MCP bundle (.mcpb); download it from the project's GitHub releases page.

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Offers a hosted remote endpoint: https://mcp.jmrp.io/gitlab (streamable-http). No local install needed.

Connect GitLab MCP Server to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Secret variables the publisher declares are included; drop any the README says are optional. Claude Code setup guide.

claude mcp add --env GITLAB_TOKEN=<gitlab_token> --transport stdio gitlab-mcp-server -- docker run -i --rm ghcr.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. ${NAME} reads the value from your environment, so no secret is written to the file. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "gitlab-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4"
      ],
      "env": {
        "GITLAB_TOKEN": "${GITLAB_TOKEN}"
      }
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "gitlab-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4"
      ],
      "env": {
        "GITLAB_TOKEN": "${env:GITLAB_TOKEN}"
      }
    }
  }
}

Claude Code, hosted endpoint (no local install)

The publisher also lists a hosted endpoint. If it uses OAuth, run /mcp inside Claude Code to sign in. Claude Code setup guide.

claude mcp add --transport http gitlab-mcp-server https://mcp.jmrp.io/gitlab --header 'Authorization: <authorization value>'

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
GITLAB_URLNoNoGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENYesYesGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYNoNoSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACENoNoTool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_CAPABILITY_SURFACENoNoResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMANoNoMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_TIERNoNoGitLab tier: free/ce, premium or ultimate, used as given. When unset, detected from the instance license, then from the plans of the namespaces the token administers, then, on GitLab.com, from the top
GITLAB_MCP_READ_ONLYNoNoRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODENoNoSafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_EMBEDDED_RESOURCESNoNoAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
GITLAB_MCP_EXCLUDE_TOOLSNoNoComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
GITLAB_MCP_IGNORE_SCOPESNoNoSkip the scope filter and the read_api narrowing and register all tools regardless of token permissions; a token carrying neither read_api nor api is still refused (default: false)

8 more are listed in the registry entry; see the README for the full set.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together. The serverUrl entry covers the hosted endpoint.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "docker",
        "run",
        "-i",
        "--rm",
        "ghcr.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4"
      ]
    },
    {
      "serverUrl": "https://mcp.jmrp.io/gitlab"
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance30/40Last push 1d ago, 101 open issuesFair
Security hygiene35/35Licence MIT, SECURITY.md present, published package or hosted endpointStrong
Adoption9/2557 GitHub stars, 0 npm downloads a weekWeak

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in Developer tools. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars57
npm weekly downloads0
Last push1d ago
LicenceMIT
Open issues101
SECURITY.mdYes
LanguageGo
Latest version published2026-11-22

Signals captured from GitHub, npm and the official MCP Registry on December 1, 2026. See the scoring method.

Similar servers

secureflows-mcp

Score 72. Maintenance 37 of 40, security 35 of 35, adoption 0 of 25.

io.github.michal-lefler/secureflows-mcp

MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.

★ 0MITpushed 18d ago RemoteDeveloper tools

MikroMCP

Score 90. Maintenance 38 of 40, security 35 of 35, adoption 16 of 25.

io.github.AliKarami/mikromcp

MikroTik MCP server for RouterOS and SwOS: typed tools, dry-run, RBAC, audit logs, rollback.

★ 114↓ 269/wkMITpushed 9d ago Developer tools

Dynoxide

Score 90. Maintenance 35 of 40, security 35 of 35, adoption 20 of 25.

io.github.nubo-db/dynoxide

A DynamoDB emulator with an MCP server exposing 35 DynamoDB tools to coding agents.

★ 112↓ 6k/wkApache-2.0pushed 1d ago Developer tools