GitLab MCP Server
io.github.zereight/gitlab-mcp
About GitLab MCP Server
GitLab MCP Server is an MCP server published by the GitHub account zereight. GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more.
It runs on your own machine: your AI client starts it from the npm package @zereight/mcp-gitlab at version 2.3.13.
It asks for 2 secrets: GITLAB_PERSONAL_ACCESS_TOKEN and GITLAB_JOB_TOKEN. Give it a key with the least access that still works.
Version 2.3.13 was published on 27 October 2026, and the source code is public, so you can read it before installing.
Written from the registry entry. 9 automated checks on the registry entry and the package code: 7 pass, 0 warn, 0 fail, 2 info. How we check.
What it asks for
| Variable | Required | Secret | Description |
|---|---|---|---|
GITLAB_PERSONAL_ACCESS_TOKEN | No | Yes | 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_COOKIE_PATH, or GITLAB_USE_OAUTH=true must be set. Create a token with the GitLab scopes the tools need, such as api or read_api. |
GITLAB_PERSONAL_ACCESS_TOKEN_FILE | No | No | Path 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 startup. Does not replace job token, OAuth, cookie, or remote authorization. |
GITLAB_JOB_TOKEN | No | Yes | Optional GitLab CI job token to use instead of a personal access token when running inside GitLab CI. |
GITLAB_AUTH_COOKIE_PATH | No | No | Optional path to a GitLab authentication cookie file for cookie-based authentication. |
GITLAB_USE_OAUTH | No | No | Set to true to start with GitLab OAuth instead of a personal access token, job token, or cookie file. |
GITLAB_OAUTH_CLIENT_ID | No | No | GitLab OAuth application ID. When GITLAB_USE_OAUTH=true, set this or GITLAB_OAUTH_TOKEN_SCRIPT. |
GITLAB_OAUTH_TOKEN_SCRIPT | No | No | Command that prints an OAuth access token. When GITLAB_USE_OAUTH=true, set this or GITLAB_OAUTH_CLIENT_ID. |
GITLAB_API_URL | No | No | GitLab API base URL. Use https://gitlab.com/api/v4 for GitLab.com or your self-managed GitLab API URL. |
GITLAB_ALLOWED_PROJECT_IDS | No | No | Optional comma-separated list of GitLab project IDs that this server is allowed to access. |
GITLAB_PERMISSION_MODE | No | No | Tool exposure. Allowed values are readonly, modify, and full. Unset uses full. readonly keeps read-only tools. modify blocks delete and teardown tools. |
GITLAB_TOOLSETS | No | No | Optional comma-separated list of toolsets to enable, such as projects, issues, merge_requests, pipelines, releases, users, groups, wiki, or search. |
GITLAB_TOOLS | No | No | Optional comma-separated list of individual tool names to add on top of enabled toolsets. |
GITLAB_DENIED_TOOLS_REGEX | No | No | Optional regular expression used to hide matching tools from the server. |
GITLAB_TOOL_POLICY_APPROVE | No | No | Optional comma-separated list of tool names that require explicit approval before execution. |
GITLAB_TOOL_POLICY_HIDDEN | No | No | Optional comma-separated list of tool names to hide from tools/list. |
NODE_TLS_REJECT_UNAUTHORIZED | No | No | Set to 0 only when you intentionally need to connect to a GitLab instance with invalid or self-signed TLS certificates. |
GITLAB_CA_CERT_PATH | No | No | Optional path to a custom CA certificate file for self-managed GitLab instances. |
GITLAB_MASKING_ENABLED | No | No | Set to true to mask text tool results and returned errors using built-in or configured rules. |
GITLAB_MASKING_CONFIG | No | No | Optional path to a response-masking JSON configuration file. |
GITLAB_MASKING_POLICY_FILE | No | No | Optional protected server-owned JSON file containing managed masking policies. |
GITLAB_MASKING_WORKSPACE_DIR | No | No | Directory used to resolve response-masking configuration paths. |
Checks
| Check | Result | Detail |
|---|---|---|
| Source repository linked | Pass | https://github.com/zereight/gitlab-mcp |
| Version pinned | Pass | Every package has an explicit version |
| Secrets requested | Info | Asks for 2 secrets: GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_JOB_TOKEN |
| Known package registry | Pass | All packages come from npm, PyPI, OCI, NuGet or MCPB |
| Namespace ownership | Info | Name verified via GitHub account zereight |
| Registry text aimed at the AI | Pass | Description and settings contain no hidden characters or instructions to the AI |
| Install scripts | Pass | @zereight/mcp-gitlab@2.3.13 runs nothing at install |
| Code red flags | Pass | Read 91 files in @zereight/mcp-gitlab@2.3.13: no obfuscation, encoded execution, credential reads or data-collection endpoints found |
| Text aimed at the AI | Pass | No hidden characters or instructions to the AI in 91 files, including comments and the README |
Popularity & health: 95 / 100
Worked out from public numbers and our own checks, not from user reviews or ratings. It says how used and how looked-after a server is, not whether it is safe.
364 forks, 608 merged pull requests. Sources: GitHub, npm, PyPI (pypistats.org) and Hacker News (Algolia), fetched 2026-10-31.
What people say
No Hacker News threads link to its source code.
Look further: search Reddit, search Hacker News, read its GitHub issues. These are not reviews we checked.
Facts
| Registry name | io.github.zereight/gitlab-mcp |
|---|---|
| Publisher | GitHub account zereight |
| How the name is verified | Name verified via GitHub account zereight. The registry ties the name prefix to that account or domain; it does not check the code. |
| Type | Local: runs on your machine from a package |
| Packages | npm @zereight/mcp-gitlab 2.3.13 (stdio)oci docker.io/zereight050/gitlab-mcp:2.3.13 no version given (stdio) |
| Version | 2.3.13 |
| Published | |
| Last updated | |
| Source repository | https://github.com/zereight/gitlab-mcp |
| Website | https://zereight.github.io/gitlab-mcp/ |
| Category | Productivity & notes (assigned by keyword rule, not by hand) |
Related servers in Productivity & notes
- Dutify4/4Whole Dutify suite in one server: Hub call recordings, projects,…
- Redmine4/4Work with Redmine issues, projects, time entries, wiki pages and…
ONES3/3Manage ONES projects, issues, tests, work hours, and Wiki knowledge.- redmine-mcp-connector7/7stdio MCP server wrapping the Redmine REST API: issues, projects,…
codev3/3Connect AI agents to codev for Salesforce projects, builds,…- jira-mcp7/7Jira & Confluence MCP: 24 tools for issues, sprints, comments,…