L'Atlas / MCP servers / GitLab MCP Server
MCP server

GitLab MCP Server

io.github.zereight/gitlab-mcp

MCP server Not tested

Get a review See pricing

GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more.

Technical sheet

Author
zereight (registry namespace)
Repository
github.com/zereight/gitlab-mcp
Site
zereight.github.io/gitlab-mcp
Version
3.1.0
Transport
stdio
Authentication
None (declared in the registry)
Packages
@zereight/mcp-gitlab 3.1.0 npm stdio
docker.io/zereight050/gitlab-mcp:3.1.0 oci stdio
Tools
—
Categories
Development and code
Last updated
26 Nov 2026
Published
26 Nov 2026

Badge for your README

Listed on L’Atlas

Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded. Latest test not successful: the badge only says “listed”.

MarkdownREADME.md
[![Listed on L’Atlas](https://latlas.dev/badge/fiche/io.github.zereight/gitlab-mcp.svg?lang=en)](https://latlas.dev/en/mcp/io.github.zereight/gitlab-mcp)
HTML
<a href="https://latlas.dev/en/mcp/io.github.zereight/gitlab-mcp"><img src="https://latlas.dev/badge/fiche/io.github.zereight/gitlab-mcp.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>

Our tests

No remote address published: this server runs locally, so we do not test it.

Client compatibility

Based on the transports each client documents as supported; this is not a live test inside the client.

ClientDocumented transportsThis serverSource
Claude Codestdio Streamable HTTP SSEtransport accepteddoc
Claude (claude.ai, Claude Desktop, Cowork)stdio Streamable HTTP SSEtransport accepteddoc
ChatGPT (serveurs MCP personnalisés / plugins)Streamable HTTP SSEtransport not listeddoc
Cursorstdio Streamable HTTP SSEtransport accepteddoc
VS Code (GitHub Copilot)stdio Streamable HTTP SSEtransport accepteddoc
Windsurf (documentation redirigée vers Devin Local / Devin CLI)stdio Streamable HTTP SSEtransport accepteddoc
Gemini CLIstdio Streamable HTTP SSEtransport accepteddoc
OpenAI Codex (CLI, extension IDE, app)stdio Streamable HTTPtransport accepteddoc

Ready-to-copy configs

Local launch of package @zereight/mcp-gitlab (npm). Formats taken from each client’s documentation.

Claude Code
claude mcp add-json gitlab-mcp '{"command":"npx","args":["-y","@zereight/[email protected]"]}'
Claude (claude.ai, Claude Desktop, Cowork)claude_desktop_config.json (macOS : ~/Library/Application Support/Claude/ ; Windows : %APPDATA%\Claude\ ; Linux : ~/.config/Claude/)
{
  "mcpServers": {
    "gitlab-mcp": {
      "command": "npx",
      "args": ["-y","@zereight/[email protected]"]
    }
  }
}
Cursor.cursor/mcp.json (projet) ou ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "gitlab-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","@zereight/[email protected]"]
    }
  }
}
VS Code (GitHub Copilot).mcp.json à la racine du workspace, ou ~/.copilot/mcp-config.json ($COPILOT_HOME/mcp-config.json)
{
  "mcpServers": {
    "gitlab-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y","@zereight/[email protected]"],
      "tools": ["*"]
    }
  }
}
Windsurf (documentation redirigée vers Devin Local / Devin CLI).devin/mcp_config.json (projet), .devin/mcp_config.local.json (local), ~/.config/devin/mcp_config.json (utilisateur)
{
  "mcpServers": {
    "gitlab-mcp": {
      "command": "npx",
      "args": ["-y","@zereight/[email protected]"]
    }
  }
}
Gemini CLI~/.gemini/settings.json (utilisateur) ou .gemini/settings.json (projet)
{
  "mcpServers": {
    "gitlab-mcp": {
      "command": "npx",
      "args": ["-y","@zereight/[email protected]"]
    }
  }
}
OpenAI Codex (CLI, extension IDE, app)~/.codex/config.toml (ou .codex/config.toml pour un projet de confiance)
[mcp_servers.gitlab-mcp]
command = "npx"
args = ["-y","@zereight/[email protected]"]

Declared environment variables

NameRequiredDescription
GITLAB_PERSONAL_ACCESS_TOKENno (secret)GitLab personal access token for local stdio use. A non-empty value overrides GITLAB_PERSONAL_ACCESS_TOKEN_FILE. One of this token, GITLAB_PERSONAL_ACCESS_TOKEN_FILE, GITLAB_JOB_TOKEN, GITLAB_AUTH_CO…
GITLAB_PERSONAL_ACCESS_TOKEN_FILEnoPath to a file that contains the personal access token. Read once at startup and trimmed. Ignored when GITLAB_PERSONAL_ACCESS_TOKEN or --token is non-empty. A missing, unreadable, or empty file stops…
GITLAB_JOB_TOKENno (secret)Optional GitLab CI job token to use instead of a personal access token when running inside GitLab CI.
GITLAB_AUTH_COOKIE_PATHnoOptional path to a GitLab authentication cookie file for cookie-based authentication.
GITLAB_USE_OAUTHnoSet to true to start with GitLab OAuth instead of a personal access token, job token, or cookie file.
GITLAB_OAUTH_CLIENT_IDnoGitLab OAuth application ID. When GITLAB_USE_OAUTH=true, set this or GITLAB_OAUTH_TOKEN_SCRIPT.
GITLAB_OAUTH_TOKEN_SCRIPTnoCommand that prints an OAuth access token. When GITLAB_USE_OAUTH=true, set this or GITLAB_OAUTH_CLIENT_ID.
GITLAB_API_URLnoGitLab API base URL. Use https://gitlab.com/api/v4 for GitLab.com or your self-managed GitLab API URL.
GITLAB_ALLOWED_PROJECT_IDSnoOptional comma-separated list of GitLab project IDs that this server is allowed to access.
GITLAB_PERMISSION_MODEnoTool exposure. Allowed values are readonly, modify, and full. Unset uses full. readonly keeps read-only tools. modify blocks delete and teardown tools.
GITLAB_TOOLSETSnoOptional comma-separated toolset ids (projects, issues, merge_requests, …). Unset keeps the lean core default plus discover_tools. Do not set all unless you accept loading ~all schemas (~73k tokens).
GITLAB_TOOLSnoOptional comma-separated list of individual tool names to add on top of enabled toolsets.
GITLAB_DENIED_TOOLS_REGEXnoOptional regular expression used to hide matching tools from the server.
GITLAB_TOOL_POLICY_APPROVEnoOptional comma-separated list of tool names that require explicit approval before execution.
GITLAB_TOOL_POLICY_HIDDENnoOptional comma-separated list of tool names to hide from tools/list.
NODE_TLS_REJECT_UNAUTHORIZEDnoSet to 0 only when you intentionally need to connect to a GitLab instance with invalid or self-signed TLS certificates.
GITLAB_CA_CERT_PATHnoOptional path to a custom CA certificate file for self-managed GitLab instances.
GITLAB_MASKING_ENABLEDnoSet to true to mask text tool results and returned errors using built-in or configured rules.
GITLAB_MASKING_CONFIGnoOptional path to a response-masking JSON configuration file.
GITLAB_MASKING_POLICY_FILEnoOptional protected server-owned JSON file containing managed masking policies.
GITLAB_MASKING_WORKSPACE_DIRnoDirectory used to resolve response-masking configuration paths.

Cite this source

Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.

GitLab MCP Server · L’Atlas

Markdown
[GitLab MCP Server — L’Atlas](https://latlas.dev/en/mcp/io.github.zereight/gitlab-mcp)
Test methodology and limitations

Source : Registre officiel MCP · retrieved 29 Nov 2026. L’Atlas adds no data beyond this source and its own tests.