GitLab MCP Server
by github.com/jmrplens · v3.8.0 · updated Nov 22, 2026
Go MCP server for GitLab: 2 dynamic tools reach ~879 actions on Free/CE, up to ~1106 on Ultimate.
Connect to the hosted server
Add this URL as a custom connector in your AI client.
Server URL
https://mcp.jmrp.io/gitlabClaude Code
claude mcp add --transport http gitlab-mcp-server https://mcp.jmrp.io/gitlabHeaders
AuthorizationsecretBearer <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 tr...
Run it locally
Install the package and point your AI client at it.
MCP Bundle
https://github.com/jmrplens/gitlab-mcp-server/releases/download/v3.8.0/gitlab-mcp-server-darwin.mcpbEnvironment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
MCP Bundle
https://github.com/jmrplens/gitlab-mcp-server/releases/download/v3.8.0/gitlab-mcp-server-windows.mcpbEnvironment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
MCP Bundle
https://github.com/jmrplens/gitlab-mcp-server/releases/download/v3.8.0/gitlab-mcp-server-linux.mcpbEnvironment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
Docker
docker run -i --rm ghcr.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4Environment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_CAPABILITY_SURFACEResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMAMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_EMBEDDED_RESOURCESAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
GITLAB_MCP_EXCLUDE_TOOLSComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
GITLAB_MCP_IGNORE_SCOPESSkip 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)
GITLAB_MCP_UPLOAD_MAX_FILE_SIZELargest 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)
GITLAB_MCP_ALLOWED_UPLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_DOWNLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_IMPORT_DIRSExtra 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 paths
GITLAB_MCP_RATE_LIMIT_RPSRate 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)
GITLAB_MCP_RATE_LIMIT_BURSTToken-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
GITLAB_MCP_LANGUAGELanguage 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 English
Docker
docker run -i --rm docker.io/jmrplens/gitlab-mcp-server:3.8.0@sha256:4488d2dcb855d3816f0ba92f3a21ea7c5072a4318ad8cd0a000172d57002a0c4Environment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_CAPABILITY_SURFACEResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMAMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_EMBEDDED_RESOURCESAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
GITLAB_MCP_EXCLUDE_TOOLSComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
GITLAB_MCP_IGNORE_SCOPESSkip 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)
GITLAB_MCP_UPLOAD_MAX_FILE_SIZELargest 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)
GITLAB_MCP_ALLOWED_UPLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_DOWNLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_IMPORT_DIRSExtra 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 paths
GITLAB_MCP_RATE_LIMIT_RPSRate 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)
GITLAB_MCP_RATE_LIMIT_BURSTToken-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
GITLAB_MCP_LANGUAGELanguage 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 English
npm
npx -y @jmrp.io/[email protected]Environment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_CAPABILITY_SURFACEResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMAMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_EMBEDDED_RESOURCESAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
GITLAB_MCP_EXCLUDE_TOOLSComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
GITLAB_MCP_IGNORE_SCOPESSkip 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)
GITLAB_MCP_UPLOAD_MAX_FILE_SIZELargest 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)
GITLAB_MCP_ALLOWED_UPLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_DOWNLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_IMPORT_DIRSExtra 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 paths
GITLAB_MCP_RATE_LIMIT_RPSRate 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)
GITLAB_MCP_RATE_LIMIT_BURSTToken-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
GITLAB_MCP_LANGUAGELanguage 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 English
PyPI
uvx jmrplens-gitlab-mcp-server==3.8.0Environment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_CAPABILITY_SURFACEResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMAMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_EMBEDDED_RESOURCESAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
GITLAB_MCP_EXCLUDE_TOOLSComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
GITLAB_MCP_IGNORE_SCOPESSkip 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)
GITLAB_MCP_UPLOAD_MAX_FILE_SIZELargest 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)
GITLAB_MCP_ALLOWED_UPLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_DOWNLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_IMPORT_DIRSExtra 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 paths
GITLAB_MCP_RATE_LIMIT_RPSRate 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)
GITLAB_MCP_RATE_LIMIT_BURSTToken-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
GITLAB_MCP_LANGUAGELanguage 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 English
NuGet
dnx gitlab-mcp-server --yesEnvironment variables
GITLAB_URLGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKENrequiredsecretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACETool catalog selector: dynamic, meta, or individual (default: dynamic)
GITLAB_MCP_CAPABILITY_SURFACEResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMAMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_TIERGitLab 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; Gi...
GITLAB_MCP_READ_ONLYRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODESafe mode: a mutating action returns a preview card naming the action and echoing its arguments instead of running; reads keep working (default: false)
GITLAB_MCP_EMBEDDED_RESOURCESAppend EmbeddedResource content blocks (clickable links to MCP resources) to get_* tool results (default: true)
GITLAB_MCP_EXCLUDE_TOOLSComma-separated tool names, group names or canonical action IDs to exclude, on every surface (e.g. gitlab_admin,gitlab_runner)
GITLAB_MCP_IGNORE_SCOPESSkip 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)
GITLAB_MCP_UPLOAD_MAX_FILE_SIZELargest 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)
GITLAB_MCP_ALLOWED_UPLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_DOWNLOAD_DIRSExtra 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 paths
GITLAB_MCP_ALLOWED_IMPORT_DIRSExtra 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 paths
GITLAB_MCP_RATE_LIMIT_RPSRate 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)
GITLAB_MCP_RATE_LIMIT_BURSTToken-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
GITLAB_MCP_LOG_LEVELLogging verbosity (default: info)
GITLAB_MCP_LANGUAGELanguage 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 English
More from github.com/jmrplens
More MCP servers
RenderMark
github.com/jmsaavedra
Markdown to styled HTML, PDF, DOCX, and slides with themes, diagrams, and math.
Accessibility Statement Lint
github.com/jmshinhwa
Checks the accessibility statement you already published against the EU model statement and its two
Action Runtime Sunset Lint
github.com/jmshinhwa
Finds the GitHub Actions steps that stop running on 2026-09-23, with the version to move to
Actions Deprecation Lint 2026
github.com/jmshinhwa
Node 20 is removed from GitHub-hosted runners on 2026-09-23 and ubuntu-22.04 deprecation opens 2026
Age Gate Lint
github.com/jmshinhwa
8 rules for Ofcom's highly effective age assurance duty, in force since 25 July 2025, where the pena
Agentforce Action Audit
github.com/jmshinhwa
13 rules on a Salesforce Agentforce topic file, before the deploy and before Article 50