GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more.
npx -y @zereight/mcp-gitlab{
"GITLAB_PERSONAL_ACCESS_TOKEN": "YOUR_SECRET_VALUE",
"GITLAB_JOB_TOKEN": "YOUR_SECRET_VALUE",
"GITLAB_AUTH_COOKIE_PATH": "YOUR_VALUE_HERE",
"GITLAB_API_URL": "https://gitlab.com/api/v4",
"GITLAB_ALLOWED_PROJECT_IDS": "YOUR_VALUE_HERE",
"GITLAB_READ_ONLY_MODE": "false",
"USE_GITLAB_WIKI": "false",
"GITLAB_TOOLSETS": "YOUR_VALUE_HERE",
"GITLAB_TOOLS": "YOUR_VALUE_HERE",
"GITLAB_DENIED_TOOLS_REGEX": "YOUR_VALUE_HERE",
"GITLAB_TOOL_POLICY_APPROVE": "YOUR_VALUE_HERE",
"GITLAB_TOOL_POLICY_HIDDEN": "YOUR_VALUE_HERE",
"NODE_TLS_REJECT_UNAUTHORIZED": "YOUR_VALUE_HERE",
"GITLAB_CA_CERT_PATH": "YOUR_VALUE_HERE"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-zereight-gitlab-mcp": {
"command": "npx",
"args": [
"-y",
"@zereight/mcp-gitlab"
],
"env": {
"GITLAB_PERSONAL_ACCESS_TOKEN": "YOUR_SECRET_VALUE",
"GITLAB_JOB_TOKEN": "YOUR_SECRET_VALUE",
"GITLAB_AUTH_COOKIE_PATH": "YOUR_VALUE_HERE",
"GITLAB_API_URL": "https://gitlab.com/api/v4",
"GITLAB_ALLOWED_PROJECT_IDS": "YOUR_VALUE_HERE",
"GITLAB_READ_ONLY_MODE": "false",
"USE_GITLAB_WIKI": "false",
"GITLAB_TOOLSETS": "YOUR_VALUE_HERE",
"GITLAB_TOOLS": "YOUR_VALUE_HERE",
"GITLAB_DENIED_TOOLS_REGEX": "YOUR_VALUE_HERE",
"GITLAB_TOOL_POLICY_APPROVE": "YOUR_VALUE_HERE",
"GITLAB_TOOL_POLICY_HIDDEN": "YOUR_VALUE_HERE",
"NODE_TLS_REJECT_UNAUTHORIZED": "YOUR_VALUE_HERE",
"GITLAB_CA_CERT_PATH": "YOUR_VALUE_HERE"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
gitlab-mcp is an MCP server for GitLab MCP server for projects, merge requests, issues, pipelines, wiki, releases, and more.. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y @zereight/mcp-gitlab; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y @zereight/mcp-gitlab. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y @zereight/mcp-gitlab. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y @zereight/mcp-gitlab. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y @zereight/mcp-gitlab. Add required environment variables before starting Cursor or VS Code.
gitlab-mcp uses STDIO transport. Use the package or command config in Install.
gitlab-mcp inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
gitlab-mcp is marked with Auth required by registry metadata auth. You may need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
@zereight/mcp-gitlabstdio | npm | 2.1.9 | Env: GITLAB_PERSONAL_ACCESS_TOKEN required secret Env: GITLAB_JOB_TOKEN secret Env: GITLAB_AUTH_COOKIE_PATH Env: GITLAB_API_URL Env: GITLAB_ALLOWED_PROJECT_IDS Env: GITLAB_READ_ONLY_MODE Env: USE_GITLAB_WIKI Env: GITLAB_TOOLSETS Env: GITLAB_TOOLS Env: GITLAB_DENIED_TOOLS_REGEX Env: GITLAB_TOOL_POLICY_APPROVE Env: GITLAB_TOOL_POLICY_HIDDEN Env: NODE_TLS_REJECT_UNAUTHORIZED Env: GITLAB_CA_CERT_PATH |