Connects Claude to GitLab with 44 tools spanning projects, merge requests, pipelines, CI/CD variables, wiki pages, milestones, iterations, and webhooks. Built on a CQRS pattern where browse_* tools handle queries and manage_* tools execute changes. Handles connection failures gracefully with bounded startup, auto-reconnect with exponential backoff, and a disconnected mode that keeps diagnostics available when GitLab is unreachable. Supports multi-instance setups with per-URL OAuth, read-only mode for production safety, and stdio/SSE/HTTP transports. Granular feature flags let you disable tool groups you don't need. Useful when you want GitLab operations directly in your Claude workflow without switching to the web UI, especially for teams managing multiple self-hosted instances or needing resilient connections to flaky on-prem deployments.
Public 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 paramsTool 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 paramsTool to create a new group in GitLab. Use when you need to establish a new group for projects or collaboration.
namestringpathstringavatarstringparent_idintegervisibilitystringprivate · internal · publicdescriptionstringlfs_enabledbooleandefault_branchstringemails_enabledbooleanmembership_lockbooleanorganization_idintegerduo_availabilitystringdefault_on · default_off · never_onmentions_disabledbooleanwiki_access_levelstringdisabled · private · enabledauto_devops_enabledbooleanshare_with_group_lockbooleanproject_creation_levelstringadministrator · noone · maintainer · developerrequest_access_enabledbooleansubgroup_creation_levelstringowner · maintainertwo_factor_grace_periodintegerenabled_git_access_protocolstringssh · http · allexperiment_features_enabledbooleanshared_runners_minutes_limitintegerrequire_two_factor_authenticationbooleandefault_branch_protection_defaultsobjectextra_shared_runners_minutes_limitintegerGITLAB_CREATE_PROJECTTool to create a new project in GitLab. Implements POST /projects endpoint.12 paramsTool to create a new project in GitLab. Implements POST /projects endpoint.
namestringpathstringvisibilitystringprivate · internal · publicdescriptionstringnamespace_idintegerwiki_enabledbooleandefault_branchstringissues_enabledbooleansnippets_enabledbooleanbuild_git_strategystringmerge_requests_enabledbooleancontainer_registry_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 paramsTool 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.
idstringiidintegertitlestringlabelsstringweightintegerepic_idintegerdue_datestringepic_iidintegercreated_atstringissue_typestringissue · incident · test_case · taskdefault: issueassignee_idintegerdescriptionstringassignee_idsarrayconfidentialbooleanmilestone_idintegerdiscussion_to_resolvestringmerge_request_to_resolve_discussions_ofintegerGITLAB_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 paramsTool 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.
refstringproject_idintegerbranch_namestringGITLAB_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 paramsTool 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.
idintegerfull_pathstringpermanently_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 paramsTool 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 paramsTool 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 paramsTool 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.
shastringref_typestringbranch · tag · alldefault: allproject_idintegerGITLAB_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 paramsTool 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.
shastringproject_idintegerfirst_parentbooleanGITLAB_GET_GROUPTool to retrieve information about a specific group by its ID. Use when you need to get details of a GitLab group.3 paramsTool to retrieve information about a specific group by its ID. Use when you need to get details of a GitLab group.
idintegerwith_projectsbooleanwith_custom_attributesbooleanGITLAB_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 paramsTool 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 paramsGet Groups
pageintegersortstringasc · descownedbooleansearchstringorder_bystringid · name · path · created_at · updated_atper_pageintegerstatisticsbooleanall_availablebooleanskip_groups[]arraywith_projectsbooleanwith_two_factorbooleanmin_access_levelintegerwith_custom_attributesbooleanGITLAB_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 paramsTool 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 paramsTool to fetch comments on a merge request. Use when you need to retrieve all notes for a specific merge request.
idintegerpageintegerper_pageintegermerge_request_iidintegerGITLAB_GET_PROJECTTool to get a single project by ID or URL-encoded path.1 paramsTool 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 paramsTool 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 paramsTool 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 paramsTool 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 paramsTool 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 paramsTool 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.
idintegerwipstringpageintegersortstringviewstringscopestringstatestringiids[]arraylabelsstringsearchstringapprovedstringorder_bystringper_pageintegerauthor_idintegermilestonestringnot_filterobjectassignee_idintegerenvironmentstringreviewer_idintegerapprover_idsarraycreated_afterstringmerge_user_idintegersource_branchstringtarget_branchstringupdated_afterstringcreated_beforestringdeployed_afterstringupdated_beforestringapproved_by_idsarrayauthor_usernamestringdeployed_beforestringmy_reaction_emojistringreviewer_usernamestringmerge_user_usernamestringwith_labels_detailsbooleanwith_merge_status_recheckbooleanGITLAB_GET_PROJECTSTool to list all projects accessible to the authenticated user. Supports filtering.19 paramsTool to list all projects accessible to the authenticated user. Supports filtering.
pageintegersortstringasc · descownedbooleansearchstringsimplebooleanstarredbooleanarchivedbooleanid_afterintegerorder_bystringid · name · path · created_at · updated_at · star_countper_pageintegerid_beforeintegermembershipbooleanstatisticsbooleanvisibilitystringprivate · internal · publicmin_access_levelintegerwith_issues_enabledbooleanwith_custom_attributesbooleanwith_programming_languagestringwith_merge_requests_enabledbooleanGITLAB_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 paramsTool 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 paramsTool to retrieve information about a specific branch in a project. Use when you need to get details for a single branch.
project_idintegerbranch_namestringGITLAB_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 paramsRetrieves 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.
regexstringsearchstringproject_idintegerGITLAB_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 paramsTool 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 paramsTool 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.
project_idintegerpipeline_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 paramsTool 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 paramsTool 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.
pageintegersortstringasc · descactivebooleanadminsbooleanhumansbooleansearchstringblockedbooleanauditorsbooleanexternalbooleanorder_bystringid · name · username · created_at · updated_atper_pageintegerproviderstringusernamestringskip_ldapbooleanextern_uidstringtwo_factorstringenabled · disabledcreated_afterstringcreated_beforestringexclude_activebooleanexclude_humansbooleanexclude_externalbooleanexclude_internalbooleanwithout_projectsbooleanwithout_project_botsbooleanGITLAB_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 paramsTool 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 paramsTool 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 paramsTool 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 paramsTool to list all members of a project (direct, inherited, invited). Use when you need the effective membership list including inherited and invited members.
idintegerpageintegerquerystringstatestringawaiting · activeper_pageintegeruser_idsarrayshow_seat_infobooleanGITLAB_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 paramsTool 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.
idintegerpageintegersortstringaccess_level_asc · access_level_desc · last_joined · name_asc · name_desc · oldest_joinedsearchstringper_pageintegerGITLAB_LIST_GROUP_MEMBERSTool to list direct members of a group. Use when you need to retrieve or filter a group's direct membership.10 paramsTool to list direct members of a group. Use when you need to retrieve or filter a group's direct membership.
idintegerpageintegersortstringaccess_level_asc · access_level_descquerystringactivebooleanper_pageintegerrelationsarrayskip_usersarraytwo_factorstringenabled · disabledinclude_inheritedbooleanGITLAB_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 paramsTool 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 paramsTool 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.
idintegerscopestringcanceled · canceling · created · failed · manual · pendingpipeline_idintegerinclude_retriedbooleanGITLAB_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 paramsTool to list ancestor groups of a project. Use when you need to retrieve all groups a project belongs to or is shared with.
idintegerpageintegersearchstringper_pageintegerskip_groupsarraywith_sharedbooleanshared_visible_onlybooleanshared_min_access_levelintegerGITLAB_LIST_PROJECT_INVITED_GROUPSTool to list groups invited to a project. Use when auditing which groups have access to a project.3 paramsTool 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 paramsTool 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.
idintegerrefstringshastringnamestringpageintegersortstringasc · descdefault: descscopestringrunning · pending · finished · branches · tagssourcestringstatusstringcreated · waiting_for_resource · preparing · pending · running · successorder_bystringid · status · ref · updated_at · user_iddefault: idper_pageintegerusernamestringyaml_errorsbooleancreated_afterstringupdated_afterstringcreated_beforestringupdated_beforestringGITLAB_LIST_PROJECT_SHAREABLE_GROUPSTool to list groups that can be shared with a project. Use before sharing a project to fetch eligible groups.5 paramsTool to list groups that can be shared with a project. Use before sharing a project to fetch eligible groups.
idintegerpageintegersearchstringper_pageintegerskip_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 paramsTool 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.
idintegerpageintegersortstringsearchstringorder_bystringper_pageintegerGITLAB_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 paramsTool 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 paramsTool 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 paramsTool 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.
allbooleanpathstringorderstringdefault · toposincestringuntilstringauthorstringref_namestringtrailersbooleanproject_idintegerwith_statsbooleanfirst_parentbooleanGITLAB_LIST_USER_PROJECTSTool to list projects owned by a specific user. Use after obtaining target user identity to fetch owned projects.22 paramsTool to list projects owned by a specific user. Use after obtaining target user identity to fetch owned projects.
idintegerpageintegersortstringasc · descownedbooleansearchstringsimplebooleanstarredbooleanarchivedbooleanid_afterintegerorder_bystringid · name · path · created_at · updated_at · star_countper_pageintegerid_beforeintegermembershipbooleanstatisticsbooleanvisibilitystringprivate · internal · publicupdated_afterstringupdated_beforestringmin_access_levelintegerwith_issues_enabledbooleanwith_custom_attributesbooleanwith_programming_languagestringwith_merge_requests_enabledbooleanGITLAB_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 paramsTool to update the current user's preferences. Use when adjusting default diff viewing and CI identity settings.
view_diffs_file_by_filebooleanshow_whitespace_in_diffsbooleanpass_user_identities_to_ci_jwtbooleanGITLAB_SET_USER_STATUSTool to set the current user's status. Use when you need to update availability or convey current mood on GitLab.3 paramsTool to set the current user's status. Use when you need to update availability or convey current mood on GitLab.
emojistringmessagestringclear_status_afterstring30_minutes · 3_hours · 8_hours · 1_day · 3_days · 7_daysGITLAB_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 paramsTool to share a project with a group. Use when you need to grant a group specific access level to a project.
idintegergroup_idintegerexpires_atstringgroup_accessintegerGITLAB_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 paramsTool to start the housekeeping task for a project. Use when you need to trigger manual maintenance or pruning on a repository.
idintegertaskstringprune · eagerAdvanced GitLab MCP server — 58 CQRS tools exposing 230 GitLab operations across 26 entity types. The tool catalog and parameters are filtered to each instance's GitLab version, tier, and token scopes, so the agent sees only what the connected instance actually supports.
This is a monorepo with two npm packages:
@structured-world/gitlab-mcp — the MCP server. In-memory and file OAuth-session storage, no database dependency. This is all most users need.@structured-world/gitlab-mcp-db — optional PostgreSQL/Prisma OAuth-session backend for running multiple replicas behind a load balancer. Enable it with OAUTH_STORAGE_TYPE=postgresql; see the PostgreSQL deployment guide for the full setup.{
"mcpServers": {
"gitlab": {
"command": "npx",
"args": ["-y", "@structured-world/gitlab-mcp"],
"env": {
"GITLAB_TOKEN": "your_gitlab_token",
"GITLAB_API_URL": "https://gitlab.com"
}
}
}
}
Requirements: Node.js >= 24
browse_* for queries, manage_* for commandsghcr.io/structured-world/gitlab-mcp:latestGitLab exposes hundreds of API operations. Giving each its own MCP tool floods an agent's context; a thin API wrapper pushes that complexity back onto the agent. This server takes a third path: 58 CQRS tools, each holding several typed actions, expose 230 operations across 26 entity types.
browse_* tools are read-only queries; manage_* tools are writes.browse_pipelines covers
pipelines, jobs, and logs in a single tool.Examples:
browse_pipelines — list, get, jobs, job, logs, triggersmanage_pipeline — create, retry, cancelbrowse_environments — list, get, list_deploymentsmanage_environment — create, update, stop, delete, update_deployment_statusbrowse_deploy_keys / manage_deploy_key — list, get / add, enable, update, deleteFull documentation is available at gitlab-mcp.sw.foundation
| Section | Description |
|---|---|
| Installation | npm, Docker, VS Code, Codex |
| Configuration | Environment variables, feature flags |
| Multi-Instance | Connect to multiple GitLab instances |
| Tool Reference | All 58 tools with parameters |
| OAuth Setup | Team authentication with Claude |
| TLS/HTTPS | Production deployment with SSL |
| Customization | Tool descriptions, action filtering |
| CLI Tools | Browse and export tool documentation |
For the complete tool reference with parameters:
# View locally
yarn list-tools --detail
# Generate documentation
yarn list-tools --export --toc > docs/tools/api-reference.md
See the Full API Reference for the auto-generated tool documentation.
# HTTP mode
docker run -e PORT=3002 -e GITLAB_TOKEN=your_token -p 3333:3002 \
ghcr.io/structured-world/gitlab-mcp:latest
# stdio mode
docker run -i --rm -e GITLAB_TOKEN=your_token \
ghcr.io/structured-world/gitlab-mcp:latest
The server handles GitLab connectivity issues gracefully:
GITLAB_INIT_TIMEOUT_MS (default 5s) regardless of GitLab availabilitydisconnected/failed state), only the manage_context tool is exposed, with local actions such as whoami, switch_profile, and set_scope for diagnostics. During active reconnect (connecting state), the full tool list remains available so MCP clients don't lose their tool catalog during brief outages. MCP clients are notified of tool availability changes via tools/list_changedfailed state (no auto-reconnect). Mid-session token revocation is detected via an authenticated HEAD /api/v4/user check that runs alongside each periodic health check (static token mode only; skipped in OAuth mode). A 401 or 403 on this check transitions the instance to failed state immediately.| Variable | Default | Description |
|---|---|---|
GITLAB_INIT_TIMEOUT_MS | 5000 | Max time to wait for GitLab during startup |
GITLAB_RECONNECT_BASE_DELAY_MS | 5000 | Initial reconnect delay (doubles each attempt) |
GITLAB_RECONNECT_MAX_DELAY_MS | 60000 | Maximum reconnect delay |
GITLAB_HEALTH_CHECK_INTERVAL_MS | 60000 | Health check interval when connected |
GITLAB_FAILURE_THRESHOLD | 3 | Consecutive transient failures before disconnecting |
GITLAB_TOOL_TIMEOUT_MS | 120000 | Max time for tool/bootstrap execution before timeout |
GITLAB_RESPONSE_WRITE_TIMEOUT_MS | 10000 | Max time to flush a non-SSE response before destroying zombie connection (0 to disable; SSE uses heartbeat) |
GITLAB_INSTANCE_CACHE_MAX | 100 | Max number of per-URL instance states kept in memory (OAuth multi-tenant; LRU eviction when exceeded) |
GITLAB_INSTANCE_TTL_MS | 3600000 | TTL for idle per-URL instance states in ms; evicted on next insert (OAuth multi-tenant) |
| Flag | Default | Tools Enabled |
|---|---|---|
USE_LABELS | true | Label management |
USE_MRS | true | Merge requests |
USE_FILES | true | File operations |
USE_VARIABLES | true | CI/CD variables |
USE_WORKITEMS | true | Issues, epics, tasks |
USE_WEBHOOKS | true | Webhook management |
USE_SNIPPETS | true | Code snippets |
USE_INTEGRATIONS | true | 50+ integrations |
USE_GITLAB_WIKI | true | Wiki pages |
USE_MILESTONE | true | Milestones |
USE_PIPELINE | true | Pipelines & CI/CD |
USE_RELEASES | true | Release management |
USE_REFS | true | Branch & tag management |
USE_MEMBERS | true | Team members |
USE_SEARCH | true | Cross-project search |
USE_ITERATIONS | true | Iteration planning (sprints) |
USE_CI_TOKENS | true | CI access credentials: job token scope and deploy keys |
USE_ENVIRONMENTS | true | Environments and deployments |
USE_RUNNERS | true | CI runner management |
USE_REGISTRY | true | Container registry repositories and tags |
USE_ACCESS_TOKENS | true | Project/group/personal access token management |
USE_AUDIT_EVENTS | true | Audit events (Premium+) |
USE_VULNERABILITIES | true | Vulnerability management (Ultimate) |
See CONTRIBUTING.md for development setup, testing, and PR guidelines.
USDT (TRC-20): TFDsezHa1cBkoeZT5q2T49Wp66K8t2DmdA
Apache License 2.0 — see LICENSE for details.
Based on zereight/gitlab-mcp (MIT). See LICENSE.MIT.
GITLAB_TOKEN*secretGitLab Personal Access Token with 'api' and 'read_user' scopes
GITLAB_API_URLGitLab instance API URL for self-hosted instances (defaults to https://gitlab.com)
GITLAB_READ_ONLY_MODEEnable read-only mode (disable all manage_* write operations)
ray0907/git-mcp-server
cyanheads/git-mcp-server
io.github.b1ff/atlassian-dc-mcp-bitbucket
io.github.b1ff/atlassian-dc-mcp-jira
com.mcparmory/atlassian-jira
sirlordt/vscode-terminal-mcp