GitLab MCP Server

MCP server · by jmrplens

Developer Tools mcpbDockernpmPythonnugetStreamable HTTP v3.4.0

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 3.4.0

mcpb
https://github.com/jmrplens/gitlab-mcp-server/releases/download/v3.4.0/gitlab-mcp-server-darwin.mcpb
mcpb
https://github.com/jmrplens/gitlab-mcp-server/releases/download/v3.4.0/gitlab-mcp-server-windows.mcpb
mcpb
https://github.com/jmrplens/gitlab-mcp-server/releases/download/v3.4.0/gitlab-mcp-server-linux.mcpb
Docker
docker run -i --rm ghcr.io/jmrplens/gitlab-mcp-server:3.4.0@sha256:a0ef01843875161060ec89225fe4091f95a7ae2a8984286a435752fc6089dcbb
Docker
docker run -i --rm docker.io/jmrplens/gitlab-mcp-server:3.4.0@sha256:a0ef01843875161060ec89225fe4091f95a7ae2a8984286a435752fc6089dcbb
npm
npx -y @jmrp.io/gitlab-mcp-server
Python
uvx jmrplens-gitlab-mcp-server
nuget
gitlab-mcp-server
Streamable HTTP
https://mcp.jmrp.io/gitlab

Setup by client

Pick your client — the config below is generated for this server (both local and hosted-endpoint forms). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "gitlab-mcp-server-2": {
      "command": "npx",
      "args": [
        "-y",
        "@jmrp.io/gitlab-mcp-server"
      ],
      "env": {
        "GITLAB_TOKEN": "<YOUR_GITLAB_TOKEN>"
      }
    }
  }
}

Remote (hosted) endpoint

https://mcp.jmrp.io/gitlab

Claude Desktop: Settings → Connectors → Add custom connector, paste this URL.

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • GITLAB_URL — GitLab instance URL (default: https://gitlab.com; set for self-managed instances)
  • GITLAB_TOKEN required secret — GitLab Personal Access Token (glpat-...)
  • GITLAB_MCP_SKIP_TLS_VERIFY — Skip TLS certificate verification for self-signed certs (default: false)
  • GITLAB_MCP_TOOL_SURFACE — Tool catalog selector: dynamic, meta, or individual (default: dynamic)
  • GITLAB_MCP_TIER — GitLab 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-level groups the to
  • GITLAB_MCP_READ_ONLY — Read-only mode: removes every mutating action from the served surface; reads keep working (default: false)
  • GITLAB_MCP_SAFE_MODE — Safe 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_LOG_LEVEL — Logging verbosity (default: info)

GitHub

⭐ 45 stars · 最近更新于 29 天前 · MIT license

About this server

Distributed as mcpb, Docker, npm, Python, nuget, Streamable HTTP, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install GitLab MCP Server?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is GitLab MCP Server free to use?

The MCP server itself is free to install. The source is public on https://github.com/jmrplens/gitlab-mcp-server. Any third-party service it calls may require its own API key and account.

Which clients support GitLab MCP Server?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/gitlab-mcp-server-2.svg)](https://mcpnav.net/server/gitlab-mcp-server-2/)

HTML

<a href="https://mcpnav.net/server/gitlab-mcp-server-2/"><img src="https://mcpnav.net/badge/gitlab-mcp-server-2.svg" alt="Listed on MCPNav" height="20"></a>