GitLab MCP server for Claude, ChatGPT, Claude Code and Cursor
A web-based DevOps lifecycle tool that provides a Git repository manager providing wiki, issue-tracking, and CI/CD pipeline features.
Examples of what your AI apps can do in GitLab. You'll see the exact list of tools after you connect it.
archive_project
ToolTool 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.
create_group
ToolTool to create a new group in gitlab. use when you need to establish a new group for projects or collaboration.
create_project
ToolTool to create a new project in gitlab. implements post /projects endpoint.
create_project_issue
ToolTool 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.
create_repository_branch
ToolTool 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.
get_merge_request_notes
ToolTool to fetch comments on a merge request. use when you need to retrieve all notes for a specific merge request.
get_project
ToolTool to get a single project by id or url-encoded path.
get_projects
ToolTool to list all projects accessible to the authenticated user. supports filtering.
get_repository_branch
ToolTool to retrieve information about a specific branch in a project. use when you need to get details for a single branch.
get_users
ToolTool 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.
list_project_users
ToolTool to list users of a project. use after you have a project id and want to retrieve its users.
delete_project
ToolTool 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.
download_project_avatar
ToolTool to download a project’s avatar image. use when you need the raw avatar bytes after confirming the project exists.
erase_job
ToolTool to erase the content of a specified job within a project. use when you need to remove job artifacts and logs.
get_commit_refs
ToolTool 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.
get_commit_sequence
ToolTool 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.
get_group
ToolTool to retrieve information about a specific group by its id. use when you need to get details of a gitlab group.
get_group_member
ToolTool 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.
get_groups
ToolGet groups
get_job_details
ToolTool 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.
get_project_languages
ToolTool to list programming languages used in a project with percentages. use when you need the project language breakdown.
get_project_member
ToolTool to retrieve details for a specific project member. use after confirming project and user ids to fetch membership information for a project member.
get_project_member_all
ToolTool 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).
get_project_merge_request_commits
ToolTool to get commits of a merge request. use when you need to retrieve all commits associated with a specific merge request.
get_project_merge_requests
ToolTool 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.
get_projects_id_merge_requests_iid_diffs
ToolTool 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.
get_repository_branches
ToolRetrieves 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.
get_single_commit
ToolTool 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.
get_single_pipeline
ToolTool 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.
get_user
ToolTool to retrieve information about a specific user by their id. use when you need to fetch details for a single gitlab user.
get_user_preferences
ToolTool 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.
get_users_id_status
ToolTool 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.
get_user_status
ToolTool to get the current user's status. use when displaying or verifying the authenticated user's gitlab status after login.
get_user_support_pin
ToolTool 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.
import_project_members
ToolTool to import members from one project to another. use when migrating members between projects.
list_all_group_members
ToolTool to list all members of a group including direct, inherited, and invited members. use when you need a comprehensive membership list beyond direct members.
list_all_project_members
ToolTool to list all members of a project (direct, inherited, invited). use when you need the effective membership list including inherited and invited members.
list_billable_group_members
ToolTool 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.
list_group_members
ToolTool to list direct members of a group. use when you need to retrieve or filter a group's direct membership.
list_pending_group_members
ToolTool 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.
list_pipeline_jobs
ToolTool 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.
list_project_groups
ToolTool to list ancestor groups of a project. use when you need to retrieve all groups a project belongs to or is shared with.
list_project_invited_groups
ToolTool to list groups invited to a project. use when auditing which groups have access to a project.
list_project_pipelines
ToolTool 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.
list_project_shareable_groups
ToolTool to list groups that can be shared with a project. use before sharing a project to fetch eligible groups.
list_project_tags
ToolTool 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.
list_project_transfer_locations
ToolTool to list namespaces available for project transfer. use when you need to determine which groups a project can be transferred into.
list_repository_commits
ToolTool 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.
list_user_projects
ToolTool to list projects owned by a specific user. use after obtaining target user identity to fetch owned projects.
post_user_support_pin
ToolTool to create a support pin for your authenticated user. use when gitlab support requests a pin to verify your identity.
put_user_preferences
ToolTool to update the current user's preferences. use when adjusting default diff viewing and ci identity settings.
set_user_status
ToolTool to set the current user's status. use when you need to update availability or convey current mood on gitlab.
share_project_with_group
ToolTool to share a project with a group. use when you need to grant a group specific access level to a project.
start_project_housekeeping
ToolTool to start the housekeeping task for a project. use when you need to trigger manual maintenance or pruning on a repository.
Free. No card needed.
How to connect GitLab
- 1Create your free ContextGate account.
- 2GitLab isn't in ContextGate's app list yet. If you have an MCP server for GitLab, add it under Connections → Add Connection → Custom MCP.
- 3Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use GitLab.
What you get with GitLab and ContextGate
- Your AI apps can use GitLab Claude, Cursor, ChatGPT and other AI apps reach GitLab through the one ContextGate connection you add to them.
- You choose which tools they can use Switch off any GitLab tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Select a tool on the left to see its parameters
What you get with GitLab and ContextGate
- Your AI apps can use GitLab: Claude, Cursor, ChatGPT and other AI apps reach GitLab through the one ContextGate connection you add to them.
- You choose which tools they can use: Switch off any GitLab tool you don't want used. It's hidden from your AI apps and refused if called.
- Every call is checked and recorded: Your policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Free. No card needed.
How to connect GitLab
- Create your free ContextGate account.
- GitLab isn't in ContextGate's app list yet. If you have an MCP server for GitLab, add it under Connections → Add Connection → Custom MCP.
- Add ContextGate to Claude, Cursor or ChatGPT (the Setup page shows you how), then ask it to use GitLab.