
GitLab
A comprehensive GitLab API wrapper that exposes 84 tools covering the full development lifecycle. You get project management, merge request workflows with inline code review and multi-line discussion threads, CI/CD pipeline control, approval rule configuration at both project and MR level, and CI/CD variable management for projects and groups. Supports both GitLab.com and self-hosted instances without requiring GitLab Duo or Premium tiers. Works in read-only mode if you want to lock down write operations. Built on FastMCP with clean Pydantic models. Particularly useful for teams managing complex approval workflows or automating pipeline operations across multiple projects, since it handles everything from creating commits with file actions to sequencing merge operations and retrying failed jobs.
- GitHub stars
- 7
- tools
- 54
- auth
- Secret needed
- transport
- STDIO
- env vars
- 12
- last updated
- Nov 10, 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_TOKENsecretGitLab personal access token (token mode). Optional after `mcp-gitlab auth login`; also accepts GITLAB_PAT, GITLAB_PERSONAL_ACCESS_TOKEN, GITLAB_API_TOKEN
GITLAB_URL*GitLab instance URL (e.g. https://gitlab.com)
GITLAB_READ_ONLYAlias 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
MCP_READ_ONLYLocks 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 env
MCP_TOOLSETSComma 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 selection
GITLAB_AUTHAuthentication mode: token (default) or oauth (OAuth 2.1 proxy; streamable-http only)
GITLAB_OAUTH_CLIENT_IDApplication ID of the GitLab OAuth app (oauth mode, or local sign-in on a self-managed instance)
GITLAB_OAUTH_CLIENT_SECRETsecretSecret of the GitLab OAuth app (oauth mode)
GITLAB_OAUTH_BASE_URLPublic URL of this server, no trailing slash (oauth mode); redirect URI is <base>/auth/callback
GITLAB_OAUTH_SCOPESSpace-separated GitLab scopes required on every request (oauth mode; default api)
GITLAB_OAUTH_JWT_KEYsecretFastMCP JWT signing key, >=32 random chars (oauth mode; defaults to one derived from the client secret)
GITLAB_HTTP_BEARER_TOKENsecretBearer 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)
Readme
Details
- Repository
- github.com/vish288/mcp-gitlab
- Website
- vish288.github.io/mcp-install?server=mcp-gitlab
- Category
- Developer Tools
- Package
mcp-gitlab- Transport
- STDIO
- Auth
- Required
- Registry
- MCP registry, active