mcpbeat Sign in

Gitlab MCP Server

local only

Gitlab MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 96 949 installs a week from npm. Last commit 17 Sep 2026.

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

Installs per day peak 37 033 · avg 17 304 · +15% w/w
a month agotoday
96 949
Installs / week
npm · @zereight/mcp-gitlab
1983
Stars
10 open issues
17 Sep 2026
Last commit
0 releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 17 h ago · rules 3dff92dd89df

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Known vulnerability in the package @zereight/mcp-gitlab · GHSA-2h44-8472-frjj
Known vulnerability in the package @zereight/mcp-gitlab · GHSA-cv3r-c5h8-f4g5
Known vulnerability in the package @zereight/mcp-gitlab · GHSA-5648-rgj9-v224
Known vulnerability in the package @zereight/mcp-gitlab · GHSA-vmp7-252j-cwp7
Touches key and credential files utils/version-check.ts:93
  paths.push(process.env.NPM_CONFIG_USERCONFIG ?? join(homedir(), ".npmrc"));

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add gitlab-mcp -- npx -y @zereight/mcp-gitlab
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "gitlab-mcp": {
      "args": [
        "-y",
        "@zereight/mcp-gitlab"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.gitlab-mcp]
command = "npx"
args = ["-y", "@zereight/mcp-gitlab"]
.cursor/mcp.json
{
  "mcpServers": {
    "gitlab-mcp": {
      "args": [
        "-y",
        "@zereight/mcp-gitlab"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "gitlab-mcp": {
      "args": [
        "-y",
        "@zereight/mcp-gitlab"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: GITLAB_PERSONAL_ACCESS_TOKEN (GitLab personal access token for local stdio use. Create a token with the GitLab scopes needed by the tools you plan to use, such as api or read_api.), GITLAB_JOB_TOKEN (Optional GitLab CI job token to use instead of a personal access token when running inside GitLab CI.), GITLAB_AUTH_COOKIE_PATH (Optional path to a GitLab authentication cookie file for cookie-based authentication.), GITLAB_API_URL (GitLab API base URL. Use https://gitlab.com/api/v4 for GitLab.com or your self-managed GitLab API URL.), GITLAB_ALLOWED_PROJECT_IDS (Optional comma-separated list of GitLab project IDs that this server is allowed to access.), GITLAB_READ_ONLY_MODE (Set to true to expose only read-only tools and block write operations.), USE_GITLAB_WIKI (Set to true to enable GitLab wiki tools.), GITLAB_TOOLSETS (Optional comma-separated list of toolsets to enable, such as projects, issues, merge_requests, pipelines, releases, users, groups, wiki, or search.), GITLAB_TOOLS (Optional comma-separated list of individual tool names to add on top of enabled toolsets.), GITLAB_DENIED_TOOLS_REGEX (Optional regular expression used to hide matching tools from the server.), GITLAB_TOOL_POLICY_APPROVE (Optional comma-separated list of tool names that require explicit approval before execution.), GITLAB_TOOL_POLICY_HIDDEN (Optional comma-separated list of tool names to hide from tools/list.), NODE_TLS_REJECT_UNAUTHORIZED (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 (Optional path to a custom CA certificate file for self-managed GitLab instances.), GITLAB_MASKING_ENABLED (Set to true to mask text tool results and returned errors using built-in or configured rules.), GITLAB_MASKING_CONFIG (Optional path to a response-masking JSON configuration file.), GITLAB_MASKING_POLICY_FILE (Optional protected server-owned JSON file containing managed masking policies.), GITLAB_MASKING_WORKSPACE_DIR (Directory used to resolve response-masking configuration paths.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Gitlab MCP

same job, measured the same way
Redmine MCP Server
by igorolv

Redmine for AI agents: issues, projects, wiki, attachments, time entries and release analytics

local only
Azure DevOps On-Premises
by zwitbaum

MCP server for on-premises Azure DevOps Server and TFS: repos, pull requests, work items, and wiki.

401 installs/wk local only
Redmine MCP Server
by jztan

MCP server that lets AI assistants manage Redmine issues, projects, wikis, and time tracking

1 407 installs/wk local only
MCP Mediawiki
by crunchtools

Secure MCP server for MediaWiki wikis — search, pages, categories, and more

81 installs/wk local only
Seojeom MCP
by seojeom

Local-first MCP server for Claude/Codex project wiki and graph workflows

local only
I
Yandex360 MCP
by pa1ch

MCP server for Yandex 360 services (Wiki, and more) — tools for AI assistants.

67 installs/wk local only
I
InnoDay
by havilandsoftware

Unified ticketing MCP server for Jira, Linear, Trello, Notion, and GitHub Issues.

7 518 installs/wk local only
Pmwiki MCP
by kcofoni

MCP server for searching and reading PmWiki pages with text queries and group filtering.

local only

Gitlab MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for Gitlab MCP?
Gitlab MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @zereight/mcp-gitlab was installed 96 949 times last week.
How do I connect Gitlab MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls @zereight/mcp-gitlab straight from npm; nothing to host, nothing to sign up for.
How many people use Gitlab MCP?
The npm package @zereight/mcp-gitlab was installed 96 949 times in the last week. Week over week that is +15%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Gitlab MCP open source?
Yes — it is published under the MIT licence, written in TypeScript, 1 983 stars on GitHub and 10 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.