GitLab MCP Server
by jmrplensio.github.jmrplens/gitlab-mcp-serverv3.2.0
GitLab REST API v4 coverage with meta-tools, resources and prompts, plus read-only and safe modes.
context tax
needs auth
security
100/100
cold start
pending
freshness
Active26d ago
Our reading of GitLab, from the data
GitLab is a version control MCP server from jmrplens, listed in the official MCP Registry.
Its endpoint requires sign-in or an API key just to list tools, so we haven't measured its token cost; we never use real credentials.
Maintenance is active: the last public signal was 26 days ago (2026-10-17). For comparison, 65% of version control servers are active or maintained.
With 45 GitHub stars it ranks #67 of 725 version control servers we index.
It runs either locally over stdio or as a hosted endpoint and needs one secret (GITLAB_TOKEN); use a scoped, least-privilege key.
Install GitLab MCP server
Install in Claude Code
claude mcp add gitlab -e GITLAB_TOKEN='<gitlab-token>' -- npx -y @jmrp.io/gitlab-mcp-serverInstall in Cursor
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@jmrp.io/gitlab-mcp-server"
],
"env": {
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@jmrp.io/gitlab-mcp-server"
],
"env": {
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"gitlab": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@jmrp.io/gitlab-mcp-server"
],
"env": {
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": [
"-y",
"@jmrp.io/gitlab-mcp-server"
],
"env": {
"GITLAB_TOKEN": "<gitlab-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test ghcr.io/jmrplens/gitlab-mcp-server:3.2.0@sha256:054f99756efb1182aff73effb2a8861ddde8c90146d2e2b3efafd459647d69f8 --env GITLAB_TOKEN
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| GITLAB_URL | — | — | GitLab instance URL (default: https://gitlab.com; set for self-managed instances) |
| GITLAB_TOKEN | yes | yes | 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, falling back to free. Gates Premium and Ultimate actions; GitLab.com Ultimate also serves the Orbit Knowledge Graph tools |
| 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) |
| GITLAB_MCP_CAPABILITY_SURFACE | — | — | Resource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full |
| GITLAB_MCP_META_PARAM_SCHEMA | — | — | Meta-tool input schema detail: opaque, compact, or full (default: opaque) |
| GITLAB_MCP_EMBEDDED_RESOURCES | — | — | Append EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true) |
| GITLAB_MCP_EXCLUDE_TOOLS | — | — | Comma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner) |
| GITLAB_MCP_IGNORE_SCOPES | — | — | Skip 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) |
| GITLAB_MCP_UPLOAD_MAX_FILE_SIZE | — | — | Largest local file an upload or file-reading action accepts, in bytes or with a KB, MB or GB suffix (e.g. 2GB); at most 1 TB (default: 2147483648, 2 GB) |
| GITLAB_MCP_ALLOWED_UPLOAD_DIRS | — | — | Extra OS path-list-separated directories an action may read a local file from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local paths |
| GITLAB_MCP_ALLOWED_DOWNLOAD_DIRS | — | — | Extra OS path-list-separated directories an action may write a downloaded file into; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local paths |
| GITLAB_MCP_ALLOWED_IMPORT_DIRS | — | — | Extra OS path-list-separated directories a project or group import archive may be read from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local paths |
| GITLAB_MCP_RATE_LIMIT_RPS | — | — | Rate limit per credential, in requests per second, on every call that reaches GitLab, with tools/list charged to a bucket of its own; 0, the default on stdio, disables it (default: 0) |
| GITLAB_MCP_RATE_LIMIT_BURST | — | — | Token-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40) |
Remote endpoints
- streamable-http
https://mcp.jmrp.io/gitlab
Security signals
100/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ○Package metadata (install scripts, provenance) — pending
- ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 26d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-17 · 26d ago · GitHub
Latest release
2026-10-09 · 34d ago · GitHub · v3.2.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-09 · 34d ago · official registry · v3.2.0
How it compares in Version Control
Against the most-starred version control servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| GitLab (this) | 45 | — | not measured | Active | local + hosted |
| Git | 91,356 | 12 | 1,139 | Active | local |
| PostHog | 40,338 | — | not measured | Active | local + hosted |
| GitHub | 33,740 | 46 | 11,509 | Active | local + hosted |
| GitDiagram | 18,313 | 3 | 864 | Active | hosted |
| Skill Seekers | 15,180 | — | not measured | Active | — |
FAQ
›How do I install the GitLab MCP server in Claude Code?
Run: claude mcp add gitlab -e GITLAB_TOKEN='<gitlab-token>' -- npx -y @jmrp.io/gitlab-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does GitLab require an API key?
Yes. It expects GITLAB_TOKEN, of which 1 is a secret.
›Can I use GitLab as a remote (hosted) MCP server?
Yes — it offers both a hosted endpoint and a local stdio package.
›Is GitLab in the official MCP registry?
Yes, as io.github.jmrplens/gitlab-mcp-server.
Sources and method
- Official MCP Registry entry
- updated 2026-10-09
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Security signals, computed by us
- 2026-10-19
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to GitLab
Other version control MCP servers.