
GitLab MCP Server
Hooks into the GitLab REST API v4 and GraphQL to expose 1000+ operations as MCP tools, from merge request creation and pipeline inspection to wiki edits and container registry management. Ships as a single static binary with three transport modes: stdio for local Claude Desktop, streamable HTTP for remote setups, and a dynamic find/execute surface that keeps token overhead under 21k while maintaining full API reach. Built with security scanning on SonarCloud and supports self-hosted GitLab instances with TLS verification. Includes 11 sampling actions for LLM-assisted code review and pipeline failure diagnosis, plus 46 resources for read-only access to projects, issues, and commits. Reach for this when you need programmatic GitLab control from an AI assistant without clicking through the web UI.
- GitHub stars
- 47
- tools
- 54
- auth
- Secret needed
- transport
- STDIO, HTTP
- env vars
- 20
- last updated
- Oct 31, 2026
Tools
54 toolsPublic tool metadata for what this MCP can expose to an agent.
GITLAB_ARCHIVE_PROJECTTool to archive a project. Use when you need to mark a project read-only after finishing active development. Call after confirming no further changes are required.1 params
Tool to archive a project. Use when you need to mark a project read-only after finishing active development. Call after confirming no further changes are required.
idintegerGITLAB_CREATE_GROUPTool to create a new group in GitLab. Use when you need to establish a new group for projects or collaboration.26 params
Tool to create a new group in GitLab. Use when you need to establish a new group for projects or collaboration.
auto_devops_enabledbooleanavatarstringdefault_branchstringdefault_branch_protection_defaultsobjectdescriptionstringduo_availabilitystringdefault_on · default_off · never_onemails_enabledbooleanenabled_git_access_protocolstringssh · http · allexperiment_features_enabledbooleanextra_shared_runners_minutes_limitintegerlfs_enabledbooleanmembership_lockbooleanmentions_disabledbooleannamestringorganization_idintegerparent_idintegerpathstringproject_creation_levelstringadministrator · noone · maintainer · developerrequest_access_enabledbooleanrequire_two_factor_authenticationboolean+6 more parameters. See the server's own documentation for the full schema.
GITLAB_CREATE_PROJECTTool to create a new project in GitLab. Implements POST /projects endpoint.12 params
Tool to create a new project in GitLab. Implements POST /projects endpoint.
build_git_strategystringcontainer_registry_enabledbooleandefault_branchstringdescriptionstringissues_enabledbooleanmerge_requests_enabledbooleannamestringnamespace_idintegerpathstringsnippets_enabledbooleanvisibilitystringprivate · internal · publicwiki_enabledbooleanGITLAB_CREATE_PROJECT_ISSUETool to create a new issue in a GitLab project. Use when you need to report a bug, request a feature, or track a task within a specific project.17 params
Tool to create a new issue in a GitLab project. Use when you need to report a bug, request a feature, or track a task within a specific project.
assignee_idintegerassignee_idsarrayconfidentialbooleancreated_atstringdescriptionstringdiscussion_to_resolvestringdue_datestringepic_idintegerepic_iidintegeridstringiidintegerissue_typestringissue · incident · test_case · taskdefault: issuelabelsstringmerge_request_to_resolve_discussions_ofintegermilestone_idintegertitlestringweightintegerGITLAB_CREATE_REPOSITORY_BRANCHTool to create a new branch in a project. Use when you need to create a new branch from an existing branch or a specific commit in a GitLab project.3 params
Tool to create a new branch in a project. Use when you need to create a new branch from an existing branch or a specific commit in a GitLab project.
branch_namestringproject_idintegerrefstringGITLAB_DELETE_PROJECTTool to delete a GitLab project by its ID. Use when you need to remove a project, either by marking it for later deletion or deleting it immediately.3 params
Tool to delete a GitLab project by its ID. Use when you need to remove a project, either by marking it for later deletion or deleting it immediately.
full_pathstringidintegerpermanently_removebooleanGITLAB_DOWNLOAD_PROJECT_AVATARTool to download a project’s avatar image. Use when you need the raw avatar bytes after confirming the project exists.1 params
Tool to download a project’s avatar image. Use when you need the raw avatar bytes after confirming the project exists.
idstringGITLAB_ERASE_JOBTool to erase the content of a specified job within a project. Use when you need to remove job artifacts and logs.2 params
Tool to erase the content of a specified job within a project. Use when you need to remove job artifacts and logs.
job_idintegerproject_idintegerGITLAB_GET_COMMIT_REFSTool to get all references (branches or tags) a commit is pushed to. Use when you need to find out which branches or tags a specific commit belongs to in a GitLab project.3 params
Tool to get all references (branches or tags) a commit is pushed to. Use when you need to find out which branches or tags a specific commit belongs to in a GitLab project.
project_idintegerref_typestringbranch · tag · alldefault: allshastringGITLAB_GET_COMMIT_SEQUENCETool to get the sequence number of a commit in a project by following parent links from the given commit. Use when you need to determine the order of a commit in the project's history.3 params
Tool to get the sequence number of a commit in a project by following parent links from the given commit. Use when you need to determine the order of a commit in the project's history.
first_parentbooleanproject_idintegershastringGITLAB_GET_GROUPTool to retrieve information about a specific group by its ID. Use when you need to get details of a GitLab group.3 params
Tool to retrieve information about a specific group by its ID. Use when you need to get details of a GitLab group.
idintegerwith_custom_attributesbooleanwith_projectsbooleanGITLAB_GET_GROUP_MEMBERTool to retrieve details for a specific group member. Use when you need to fetch membership information for a user in a group after you know both group ID and user ID.2 params
Tool to retrieve details for a specific group member. Use when you need to fetch membership information for a user in a group after you know both group ID and user ID.
idintegeruser_idintegerGITLAB_GET_GROUPSGet Groups13 params
Get Groups
all_availablebooleanmin_access_levelintegerorder_bystringid · name · path · created_at · updated_atownedbooleanpageintegerper_pageintegersearchstringskip_groups[]arraysortstringasc · descstatisticsbooleanwith_custom_attributesbooleanwith_projectsbooleanwith_two_factorbooleanGITLAB_GET_JOB_DETAILSTool to retrieve details of a single job by its ID within a specified project. Use this when you need to fetch specific information about a particular CI/CD job.2 params
Tool to retrieve details of a single job by its ID within a specified project. Use this when you need to fetch specific information about a particular CI/CD job.
job_idintegerproject_idintegerGITLAB_GET_MERGE_REQUEST_NOTESTool to fetch comments on a merge request. Use when you need to retrieve all notes for a specific merge request.4 params
Tool to fetch comments on a merge request. Use when you need to retrieve all notes for a specific merge request.
idintegermerge_request_iidintegerpageintegerper_pageintegerGITLAB_GET_PROJECTTool to get a single project by ID or URL-encoded path.1 params
Tool to get a single project by ID or URL-encoded path.
idintegerGITLAB_GET_PROJECT_LANGUAGESTool to list programming languages used in a project with percentages. Use when you need the project language breakdown.1 params
Tool to list programming languages used in a project with percentages. Use when you need the project language breakdown.
idintegerGITLAB_GET_PROJECT_MEMBERTool to retrieve details for a specific project member. Use after confirming project and user IDs to fetch membership information for a project member.2 params
Tool to retrieve details for a specific project member. Use after confirming project and user IDs to fetch membership information for a project member.
idintegeruser_idintegerGITLAB_GET_PROJECT_MEMBER_ALLTool to retrieve details for a specific project member (including inherited and invited members). Use when you need the effective membership info (including invitations and inheritance).2 params
Tool to retrieve details for a specific project member (including inherited and invited members). Use when you need the effective membership info (including invitations and inheritance).
idintegeruser_idintegerGITLAB_GET_PROJECT_MERGE_REQUEST_COMMITSTool to get commits of a merge request. Use when you need to retrieve all commits associated with a specific merge request.2 params
Tool to get commits of a merge request. Use when you need to retrieve all commits associated with a specific merge request.
idintegermerge_request_iidintegerGITLAB_GET_PROJECT_MERGE_REQUESTSTool to retrieve a list of merge requests for a specific project. Use when you need to get all merge requests associated with a project, with options to filter by state, labels, milestones, and other attributes.36 params
Tool to retrieve a list of merge requests for a specific project. Use when you need to get all merge requests associated with a project, with options to filter by state, labels, milestones, and other attributes.
approvedstringapproved_by_idsarrayapprover_idsarrayassignee_idintegerauthor_idintegerauthor_usernamestringcreated_afterstringcreated_beforestringdeployed_afterstringdeployed_beforestringenvironmentstringidintegeriids[]arraylabelsstringmerge_user_idintegermerge_user_usernamestringmilestonestringmy_reaction_emojistringnot_filterobjectorder_bystring+16 more parameters. See the server's own documentation for the full schema.
GITLAB_GET_PROJECTSTool to list all projects accessible to the authenticated user. Supports filtering.19 params
Tool to list all projects accessible to the authenticated user. Supports filtering.
archivedbooleanid_afterintegerid_beforeintegermembershipbooleanmin_access_levelintegerorder_bystringid · name · path · created_at · updated_at · star_countownedbooleanpageintegerper_pageintegersearchstringsimplebooleansortstringasc · descstarredbooleanstatisticsbooleanvisibilitystringprivate · internal · publicwith_custom_attributesbooleanwith_issues_enabledbooleanwith_merge_requests_enabledbooleanwith_programming_languagestringGITLAB_GET_PROJECTS_ID_MERGE_REQUESTS_IID_DIFFSTool to list all diff versions of a merge request. Use when you need to inspect changes across different diff versions after creating or updating a merge request.2 params
Tool to list all diff versions of a merge request. Use when you need to inspect changes across different diff versions after creating or updating a merge request.
idintegermerge_request_iidintegerGITLAB_GET_REPOSITORY_BRANCHTool to retrieve information about a specific branch in a project. Use when you need to get details for a single branch.2 params
Tool to retrieve information about a specific branch in a project. Use when you need to get details for a single branch.
branch_namestringproject_idintegerGITLAB_GET_REPOSITORY_BRANCHESRetrieves a list of repository branches for a project. Use this when you need to get all branches or search for specific branches within a GitLab project.3 params
Retrieves a list of repository branches for a project. Use this when you need to get all branches or search for specific branches within a GitLab project.
project_idintegerregexstringsearchstringGITLAB_GET_SINGLE_COMMITTool to get a specific commit identified by the commit hash or name of a branch or tag. Use this when you need to retrieve detailed information about a single commit in a GitLab project repository.3 params
Tool to get a specific commit identified by the commit hash or name of a branch or tag. Use this when you need to retrieve detailed information about a single commit in a GitLab project repository.
idintegershastringstatsbooleanGITLAB_GET_SINGLE_PIPELINETool to retrieve details of a single pipeline by its ID within a specified project. Use when you need to get information about a specific CI/CD pipeline.2 params
Tool to retrieve details of a single pipeline by its ID within a specified project. Use when you need to get information about a specific CI/CD pipeline.
pipeline_idintegerproject_idintegerGITLAB_GET_USERTool to retrieve information about a specific user by their ID. Use when you need to fetch details for a single GitLab user.1 params
Tool to retrieve information about a specific user by their ID. Use when you need to fetch details for a single GitLab user.
idintegerGITLAB_GET_USER_PREFERENCESTool to get the current user's preferences. Use when you need to retrieve the user's diff display and CI identity JWT settings after authentication.
Tool to get the current user's preferences. Use when you need to retrieve the user's diff display and CI identity JWT settings after authentication.
No parameter schema in public metadata yet.
GITLAB_GET_USERSTool to retrieve a list of users from GitLab. Use this when you need to find user information, search for specific users, or filter users based on various criteria like activity status or creation date.24 params
Tool to retrieve a list of users from GitLab. Use this when you need to find user information, search for specific users, or filter users based on various criteria like activity status or creation date.
activebooleanadminsbooleanauditorsbooleanblockedbooleancreated_afterstringcreated_beforestringexclude_activebooleanexclude_externalbooleanexclude_humansbooleanexclude_internalbooleanextern_uidstringexternalbooleanhumansbooleanorder_bystringid · name · username · created_at · updated_atpageintegerper_pageintegerproviderstringsearchstringskip_ldapbooleansortstringasc · desc+4 more parameters. See the server's own documentation for the full schema.
GITLAB_GET_USERS_ID_STATUSTool to get a user's status by ID. Use when you need to retrieve a GitLab user's current status message, emoji, and availability after identifying their user ID.1 params
Tool to get a user's status by ID. Use when you need to retrieve a GitLab user's current status message, emoji, and availability after identifying their user ID.
user_idintegerGITLAB_GET_USER_STATUSTool to get the current user's status. Use when displaying or verifying the authenticated user's GitLab status after login.
Tool to get the current user's status. Use when displaying or verifying the authenticated user's GitLab status after login.
No parameter schema in public metadata yet.
GITLAB_GET_USER_SUPPORT_PINTool to get details of the current user's Support PIN. Use when you need to retrieve the active support PIN and its expiration for the authenticated user.
Tool to get details of the current user's Support PIN. Use when you need to retrieve the active support PIN and its expiration for the authenticated user.
No parameter schema in public metadata yet.
GITLAB_IMPORT_PROJECT_MEMBERSTool to import members from one project to another. Use when migrating members between projects.2 params
Tool to import members from one project to another. Use when migrating members between projects.
idstringproject_idstringGITLAB_LIST_ALL_GROUP_MEMBERSTool to list all members of a group including direct, inherited, and invited members. Use when you need a comprehensive membership list beyond direct members.3 params
Tool to list all members of a group including direct, inherited, and invited members. Use when you need a comprehensive membership list beyond direct members.
idintegerpageintegerper_pageintegerGITLAB_LIST_ALL_PROJECT_MEMBERSTool to list all members of a project (direct, inherited, invited). Use when you need the effective membership list including inherited and invited members.7 params
Tool to list all members of a project (direct, inherited, invited). Use when you need the effective membership list including inherited and invited members.
idintegerpageintegerper_pageintegerquerystringshow_seat_infobooleanstatestringawaiting · activeuser_idsarrayGITLAB_LIST_BILLABLE_GROUP_MEMBERSTool to list billable members of a top-level group (including its subgroups and projects). Use when generating billing reports; requires Owner role on the group.5 params
Tool to list billable members of a top-level group (including its subgroups and projects). Use when generating billing reports; requires Owner role on the group.
idintegerpageintegerper_pageintegersearchstringsortstringaccess_level_asc · access_level_desc · last_joined · name_asc · name_desc · oldest_joinedGITLAB_LIST_GROUP_MEMBERSTool to list direct members of a group. Use when you need to retrieve or filter a group's direct membership.10 params
Tool to list direct members of a group. Use when you need to retrieve or filter a group's direct membership.
activebooleanidintegerinclude_inheritedbooleanpageintegerper_pageintegerquerystringrelationsarrayskip_usersarraysortstringaccess_level_asc · access_level_desctwo_factorstringenabled · disabledGITLAB_LIST_PENDING_GROUP_MEMBERSTool to list pending members of a group and its subgroups and projects. Use when you need to review users awaiting approval or invited without an account. Call after confirming the top-level group ID.3 params
Tool to list pending members of a group and its subgroups and projects. Use when you need to review users awaiting approval or invited without an account. Call after confirming the top-level group ID.
idintegerpageintegerper_pageintegerGITLAB_LIST_PIPELINE_JOBSTool to retrieve a list of jobs for a specified pipeline within a project. Use this when you need to inspect the status or details of jobs associated with a particular CI/CD pipeline.4 params
Tool to retrieve a list of jobs for a specified pipeline within a project. Use this when you need to inspect the status or details of jobs associated with a particular CI/CD pipeline.
idintegerinclude_retriedbooleanpipeline_idintegerscopestringcanceled · canceling · created · failed · manual · pendingGITLAB_LIST_PROJECT_GROUPSTool to list ancestor groups of a project. Use when you need to retrieve all groups a project belongs to or is shared with.8 params
Tool to list ancestor groups of a project. Use when you need to retrieve all groups a project belongs to or is shared with.
idintegerpageintegerper_pageintegersearchstringshared_min_access_levelintegershared_visible_onlybooleanskip_groupsarraywith_sharedbooleanGITLAB_LIST_PROJECT_INVITED_GROUPSTool to list groups invited to a project. Use when auditing which groups have access to a project.3 params
Tool to list groups invited to a project. Use when auditing which groups have access to a project.
idintegerpageintegerper_pageintegerGITLAB_LIST_PROJECT_PIPELINESTool to retrieve a list of pipelines for a specified project. Use when you need to get information about CI/CD pipelines, such as their status, source, or creation/update times.17 params
Tool to retrieve a list of pipelines for a specified project. Use when you need to get information about CI/CD pipelines, such as their status, source, or creation/update times.
created_afterstringcreated_beforestringidintegernamestringorder_bystringid · status · ref · updated_at · user_iddefault: idpageintegerper_pageintegerrefstringscopestringrunning · pending · finished · branches · tagsshastringsortstringasc · descdefault: descsourcestringstatusstringcreated · waiting_for_resource · preparing · pending · running · successupdated_afterstringupdated_beforestringusernamestringyaml_errorsbooleanGITLAB_LIST_PROJECT_SHAREABLE_GROUPSTool to list groups that can be shared with a project. Use before sharing a project to fetch eligible groups.5 params
Tool to list groups that can be shared with a project. Use before sharing a project to fetch eligible groups.
idintegerpageintegerper_pageintegersearchstringskip_groupsarrayGITLAB_LIST_PROJECT_TAGSTool to retrieve a list of repository tags for a specified project. Use when you need to get all tags associated with a project in GitLab.6 params
Tool to retrieve a list of repository tags for a specified project. Use when you need to get all tags associated with a project in GitLab.
idintegerorder_bystringpageintegerper_pageintegersearchstringsortstringGITLAB_LIST_PROJECT_TRANSFER_LOCATIONSTool to list namespaces available for project transfer. Use when you need to determine which groups a project can be transferred into.2 params
Tool to list namespaces available for project transfer. Use when you need to determine which groups a project can be transferred into.
idintegersearchstringGITLAB_LIST_PROJECT_USERSTool to list users of a project. Use after you have a project ID and want to retrieve its users.3 params
Tool to list users of a project. Use after you have a project ID and want to retrieve its users.
idstringsearchstringskip_usersarrayGITLAB_LIST_REPOSITORY_COMMITSTool to get a list of repository commits in a project. Use when you need to retrieve commit history for a specific project, branch, or time range.11 params
Tool to get a list of repository commits in a project. Use when you need to retrieve commit history for a specific project, branch, or time range.
allbooleanauthorstringfirst_parentbooleanorderstringdefault · topopathstringproject_idintegerref_namestringsincestringtrailersbooleanuntilstringwith_statsbooleanGITLAB_LIST_USER_PROJECTSTool to list projects owned by a specific user. Use after obtaining target user identity to fetch owned projects.22 params
Tool to list projects owned by a specific user. Use after obtaining target user identity to fetch owned projects.
archivedbooleanidintegerid_afterintegerid_beforeintegermembershipbooleanmin_access_levelintegerorder_bystringid · name · path · created_at · updated_at · star_countownedbooleanpageintegerper_pageintegersearchstringsimplebooleansortstringasc · descstarredbooleanstatisticsbooleanupdated_afterstringupdated_beforestringvisibilitystringprivate · internal · publicwith_custom_attributesbooleanwith_issues_enabledboolean+2 more parameters. See the server's own documentation for the full schema.
GITLAB_POST_USER_SUPPORT_PINTool to create a support PIN for your authenticated user. Use when GitLab Support requests a PIN to verify your identity.
Tool to create a support PIN for your authenticated user. Use when GitLab Support requests a PIN to verify your identity.
No parameter schema in public metadata yet.
GITLAB_PUT_USER_PREFERENCESTool to update the current user's preferences. Use when adjusting default diff viewing and CI identity settings.3 params
Tool to update the current user's preferences. Use when adjusting default diff viewing and CI identity settings.
pass_user_identities_to_ci_jwtbooleanshow_whitespace_in_diffsbooleanview_diffs_file_by_filebooleanGITLAB_SET_USER_STATUSTool to set the current user's status. Use when you need to update availability or convey current mood on GitLab.3 params
Tool to set the current user's status. Use when you need to update availability or convey current mood on GitLab.
clear_status_afterstring30_minutes · 3_hours · 8_hours · 1_day · 3_days · 7_daysemojistringmessagestringGITLAB_SHARE_PROJECT_WITH_GROUPTool to share a project with a group. Use when you need to grant a group specific access level to a project.4 params
Tool to share a project with a group. Use when you need to grant a group specific access level to a project.
expires_atstringgroup_accessintegergroup_idintegeridintegerGITLAB_START_PROJECT_HOUSEKEEPINGTool to start the housekeeping task for a project. Use when you need to trigger manual maintenance or pruning on a repository.2 params
Tool to start the housekeeping task for a project. Use when you need to trigger manual maintenance or pruning on a repository.
idintegertaskstringprune · eagerSponsors
Configuration
GITLAB_URLdefault: https://gitlab.comGitLab instance URL (default: https://gitlab.com; set for self-managed instances)
GITLAB_TOKEN*secretGitLab Personal Access Token (glpat-...)
GITLAB_MCP_SKIP_TLS_VERIFYdefault: falseSkip TLS certificate verification for self-signed certs (default: false)
GITLAB_MCP_TOOL_SURFACEdefault: dynamicTool 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
GITLAB_MCP_READ_ONLYdefault: falseRead-only mode: removes every mutating action from the served surface; reads keep working (default: false)
GITLAB_MCP_SAFE_MODEdefault: falseSafe 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_LEVELdefault: infoLogging verbosity (default: info)
GITLAB_MCP_CAPABILITY_SURFACEdefault: fullResource and prompt catalog selector: full or minimal (default: full); resource subscriptions require full
GITLAB_MCP_META_PARAM_SCHEMAdefault: opaqueMeta-tool input schema detail: opaque, compact, or full (default: opaque)
GITLAB_MCP_EMBEDDED_RESOURCESdefault: trueAppend 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_SCOPESdefault: falseSkip 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_SIZEdefault: 2147483648Largest 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_RPSdefault: 0Rate 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_BURSTdefault: 40Token-bucket burst size when GITLAB_MCP_RATE_LIMIT_RPS is greater than 0 (default: 40)
GITLAB_MCP_LANGUAGEdefault: enLanguage 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
Readme
Details
- Repository
- github.com/jmrplens/gitlab-mcp-server
- Website
- docs.jmrp.io/gitlab-mcp-server
- Category
- Developer Tools
- Package
@jmrp.io/gitlab-mcp-server- Transport
- STDIO, HTTP
- Auth
- Required
- Registry
- MCP registry, active