GitLab
io.github.vish288/mcp-gitlab
v0.25.1Updated Nov 23, 2026stdio · Dockerstdio · PyPI
GitLab MCP server (MCP 2026-07-28): projects, MRs, pipelines, CI/CD, issues; writes or read-only
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add mcp-gitlab -e 'GITLAB_URL=<your-gitlab-url>' -- uvx mcp-gitlab==0.25.1Configuration
12 settings.
GITLAB_URLEnv var· requiredGitLab instance URL (e.g. https://gitlab.com)GITLAB_TOKENEnv var· optional· secretGitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKENGITLAB_OAUTH_CLIENT_SECRETEnv var· optional· secretSecret of the GitLab OAuth app (oauth mode)GITLAB_OAUTH_JWT_KEYEnv var· optional· secretFastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)GITLAB_HTTP_BEARER_TOKENEnv var· optional· secretBearer token (min 16 chars) required to bind an HTTP transport to a non-loopback host; clients send it as 'Authorization: Bearer <token>' (token mode; --auth oauth has its own sign-in)GITLAB_READ_ONLYEnv var· optionalAlias for MCP_READ_ONLY. Any value other than false/0/no/off/empty locks the server read-only; --read-only can only raise the lock
Show 6 moreShow fewer
MCP_READ_ONLYEnv var· optionalLocks the server read-only: write tools and write-workflow prompts are not listed and nothing lifts the lock at runtime. Shared name across the mcp-* servers; set it in the deployer's envMCP_TOOLSETSEnv var· optionalComma list of tool groups to expose (code, review, ci, issues, release, admin); unset or 'all' lists every tool. Shrinks tools/list for clients with a tool budget; MCP_READ_ONLY still applies after the selectionGITLAB_AUTHEnv var· optionalAuthentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)GITLAB_OAUTH_CLIENT_IDEnv var· optionalApplication ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)GITLAB_OAUTH_BASE_URLEnv var· optionalPublic URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callbackGITLAB_OAUTH_SCOPESEnv var· optionalSpace-separated GitLab scopes required on every request (oauth mode; default api)
Links
Listed in the official MCP Registry since Nov 23, 2026. Mirrored daily; last checked Nov 26, 2026.