GitLab MCP Server
io.github.jmrplens/gitlab-mcp-server
v3.8.0Updated Nov 22, 2026stdio · MCPBstdio · npmstdio · NuGetstdio · Dockerstdio · PyPIremote · http
Go MCP server for GitLab: 2 dynamic tools reach ~879 actions on Free/CE, up to ~1106 on Ultimate.
Install
Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add --transport http --header 'Authorization: <your-authorization>' gitlab-mcp-server https://mcp.jmrp.io/gitlabConfiguration
21 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
GITLAB_TOKENEnv var· required· secretGitLab Personal Access Token (glpat-...)AuthorizationHeader· optional· secretBearer <token>. The endpoint runs in OAuth mode: a client that speaks the OAuth flow needs no header at all and discovers the authorization server from the 401 challenge. A GitLab personal access token also works here, sent as 'Bearer glpat-...', which keeps clients with no OAuth flow working. It travels per request and is never stored server-side.GITLAB_URLEnv var· optionalGitLab instance URL (default: https://gitlab.com; set for self-managed instances)Default:https://gitlab.comGITLAB_MCP_SKIP_TLS_VERIFYEnv var· optionalSkip TLS certificate verification for self-signed certs (default: false)Default:falseGITLAB_MCP_TOOL_SURFACEEnv var· optionalTool catalog selector: dynamic, meta, or individual (default: dynamic)Default:dynamicGITLAB_MCP_TIEREnv var· optionalGitLab tier: free/ce, premium or ultimate, used as given. When unset, detected from the instance license, then from the plans of the namespaces the token administers, then, on GitLab.com, from the top-level groups the token is a member of, falling back to free. Gates Premium and Ultimate actions; GitLab.com Ultimate also serves the Orbit Knowledge Graph tools
Show 15 moreShow fewer
GITLAB_MCP_READ_ONLYEnv var· optionalRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)Default:falseGITLAB_MCP_SAFE_MODEEnv var· optionalSafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)Default:falseGITLAB_MCP_LOG_LEVELEnv var· optionalLogging verbosity (default: info)Default:infoGITLAB_MCP_CAPABILITY_SURFACEEnv var· optionalResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require fullDefault:fullGITLAB_MCP_META_PARAM_SCHEMAEnv var· optionalMeta-tool input schema detail: opaque, compact, or full (default: opaque)Default:opaqueGITLAB_MCP_EMBEDDED_RESOURCESEnv var· optionalAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)Default:trueGITLAB_MCP_EXCLUDE_TOOLSEnv var· optionalComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)GITLAB_MCP_IGNORE_SCOPESEnv var· optionalSkip the scope filter and the read_api narrowing and register all tools regardless of token permissions; a token carrying neither read_api nor api is still refused (default: false)Default:falseGITLAB_MCP_UPLOAD_MAX_FILE_SIZEEnv var· optionalLargest local file an upload or file-reading action accepts, in bytes or with a KB, MB or GB suffix (e.g. 2GB); at most 1 TB (default: 2147483648, 2 GB)Default:2147483648GITLAB_MCP_ALLOWED_UPLOAD_DIRSEnv var· optionalExtra OS path-list-separated directories an action may read a local file from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local pathsGITLAB_MCP_ALLOWED_DOWNLOAD_DIRSEnv var· optionalExtra OS path-list-separated directories an action may write a downloaded file into; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local pathsGITLAB_MCP_ALLOWED_IMPORT_DIRSEnv var· optionalExtra OS path-list-separated directories a project or group import archive may be read from; the working directory (unless it is the filesystem root or your home directory) and the OS temp directory are always allowed. Unused in HTTP mode, which refuses local pathsGITLAB_MCP_RATE_LIMIT_RPSEnv var· optionalRate limit per credential, in requests per second, on every call that reaches GitLab, with tools/list charged to a bucket of its own; 0, the default on stdio, disables it (default: 0)Default:0GITLAB_MCP_RATE_LIMIT_BURSTEnv var· optionalToken-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)Default:40GITLAB_MCP_LANGUAGEEnv var· optionalLanguage of the elicitation questions, form field titles and progress messages a client shows the user: en or es (default: en). What the model reads stays EnglishDefault:en
Links
Listed in the official MCP Registry since Nov 22, 2026. Mirrored daily; last checked Nov 26, 2026.