Skip to content
Verified official

GitLab MCP Server MCP

v2.3.27 changelog · 28

io.github.zereight/gitlab-mcp

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

transport:stdio runtime:npm

Target client

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add gitlab-mcp -e GITLAB_PERSONAL_ACCESS_TOKEN=<GITLAB_PERSONAL_ACCESS_TOKEN> -e GITLAB_PERSONAL_ACCESS_TOKEN_FILE=<GITLAB_PERSONAL_ACCESS_TOKEN_FILE> -e GITLAB_JOB_TOKEN=<GITLAB_JOB_TOKEN> -e GITLAB_AUTH_COOKIE_PATH=<GITLAB_AUTH_COOKIE_PATH> -e GITLAB_USE_OAUTH=<GITLAB_USE_OAUTH> -e GITLAB_OAUTH_CLIENT_ID=<GITLAB_OAUTH_CLIENT_ID> -e GITLAB_OAUTH_TOKEN_SCRIPT=<GITLAB_OAUTH_TOKEN_SCRIPT> -e GITLAB_API_URL=<GITLAB_API_URL> -e GITLAB_ALLOWED_PROJECT_IDS=<GITLAB_ALLOWED_PROJECT_IDS> -e GITLAB_PERMISSION_MODE=<GITLAB_PERMISSION_MODE> -e GITLAB_TOOLSETS=<GITLAB_TOOLSETS> -e GITLAB_TOOLS=<GITLAB_TOOLS> -e GITLAB_DENIED_TOOLS_REGEX=<GITLAB_DENIED_TOOLS_REGEX> -e GITLAB_TOOL_POLICY_APPROVE=<GITLAB_TOOL_POLICY_APPROVE> -e GITLAB_TOOL_POLICY_HIDDEN=<GITLAB_TOOL_POLICY_HIDDEN> -e NODE_TLS_REJECT_UNAUTHORIZED=<NODE_TLS_REJECT_UNAUTHORIZED> -e GITLAB_CA_CERT_PATH=<GITLAB_CA_CERT_PATH> -e GITLAB_MASKING_ENABLED=<GITLAB_MASKING_ENABLED> -e GITLAB_MASKING_CONFIG=<GITLAB_MASKING_CONFIG> -e GITLAB_MASKING_POLICY_FILE=<GITLAB_MASKING_POLICY_FILE> -e GITLAB_MASKING_WORKSPACE_DIR=<GITLAB_MASKING_WORKSPACE_DIR> -- npx -y @zereight/mcp-gitlab

setup guides: Claude Code Claude Desktop Cursor VS Code Zed Windsurf Cline Gemini CLI Grok LangChain

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

This listing does not declare its tools. Connect the server and your client will discover them on the handshake.