- List all branches in a GitLab project repository, sorted alphabetically
- Retrieve details of a specific branch in a GitLab project
- Create a new branch in a GitLab project repository
- Delete a branch from a GitLab project repository
- List the protected branch rules of a GitLab project
- List the branch rules, visibility and pipeline gate of every project in a GitLab group in one call
- Retrieve the protection rule for one branch or wildcard in a GitLab project
- Add branch protection rules to a GitLab project branch
- Remove branch protection rules from a GitLab project branch
- List commits in a GitLab project repository
- Retrieve details of a specific commit in a GitLab project
- List the merge requests that brought a commit into a GitLab project
- Create a commit with multiple file actions in a GitLab project
- Get the diff of changes introduced by a specific commit
- Cherry-pick a commit onto a target branch in a GitLab project
- Revert a commit in a GitLab project branch
- List all deploy keys for a GitLab project
- Add a deploy key to a GitLab project
- Remove a deploy key from a GitLab project
- Enable an existing deploy key for a GitLab project
- List all deployment environments for a GitLab project
- Retrieve details of a specific deployment environment in a GitLab project
- Create a new deployment environment for a GitLab project
- Update a deployment environment in a GitLab project
- Stop a running deployment environment in a GitLab project
- List all GitLab groups accessible to the authenticated user
- Retrieve details of a specific GitLab group
- Create a new GitLab group
- Update settings and configuration of a GitLab group
- Schedule a GitLab group for deletion or permanently delete a subgroup
- List all projects belonging to a GitLab group
- List visible direct subgroups of a GitLab group
- List all members of a GitLab group
- List everyone with access to a GitLab group, including inherited and invited members
- List everyone who uses a seat in a GitLab top-level group, including members of its subgroups and projects
- List the subgroups and projects where one billable member of a GitLab top-level group holds a direct membership
- List the pending invitations and members awaiting approval across a GitLab top-level group, its subgroups and its projects
- List the members of a GitLab group's subgroups, filtered by role, in one call
- List the direct members of every project in a GitLab group, filtered by role, in one call
- List the enterprise users of a GitLab.com top-level group, the accounts its verified domains own
- Add a user as a member of a GitLab group
- Remove a user from a GitLab group
- Get the current GitLab connection's unified credentials and identity.
- List unified groups in GitLab (all levels).
- Get a unified GitLab group by ID.
- List unified organizations (top-level groups) in GitLab.
- Get a unified GitLab organization (top-level group) by ID.
- List unified resource types in GitLab.
- List unified resource users for a GitLab group or project.
- List unified roles in GitLab.
- Get a unified GitLab role by ID.
- List the members of a GitLab top-level group, its pending invitations and the people with access only through its subgroups, projects or invited groups, as unified users.
- Get a member of the connection's GitLab top-level group, its subgroups or projects by ID, or one of its pending invitations by the invitation_ id unified_list_users returns.
- Retrieve the GitLab version and edition of the connected instance
- List all issues in a specific GitLab project
- Retrieve details of a specific issue in a GitLab project
- Create a new issue in a GitLab project
- Update an existing issue in a GitLab project
- Delete an issue from a GitLab project
- Move an issue to a different GitLab project
- List all comments (notes) on a GitLab issue
- Add a comment (note) to a GitLab issue
- List all users participating in a GitLab issue
- List all merge requests related to a GitLab issue
- List all labels in a GitLab project
- Retrieve details of a specific label in a GitLab project
- Create a new label in a GitLab project
- Update an existing label in a GitLab project
- Delete a label from a GitLab project
- Read a file from the artifacts of a CI/CD job as text: a file inside the artifacts archive, or a report artifact such as junit or sast that is stored as its own file (set file_type). To discover what a job or pipeline produced, use get_job or get_pipeline with include: artifacts. For large files, page through with byte_offset and byte_limit.
- Get a CI/CD job in a GitLab project. Add include: log to also get the job's trace/log, which you can page through with byte_offset and byte_limit. Use from: end with a small byte_limit to read only the tail of the log. Add include: artifacts to also list the artifacts the job produced (name, size, file type); read one with the get_artifact_file tool.
- Get the current version of MCP server.
- Read the content published at a GitLab Pages URL as text, including private Pages sites the authenticated user may view. The URL is resolved against the Pages sites of this GitLab instance and the file is read from the current deployment, so the result is what visitors see, not the repository source. A directory URL reads its index.html. For large files, page through with byte_offset and byte_limit.
- List releases in a GitLab project, most recently released first. Identify the project with exactly one of url or project_id. Returns release metadata and asset links, not release assets themselves. Releases scheduled for a future date are omitted unless state is upcoming or all, and carry upcoming true when returned.
- List tags in a GitLab project, most recently updated first. Identify the project with exactly one of url or project_id. When search is given, a tag whose name matches it exactly is listed first. Returns each tag name and its tip commit, not the tag message, commit diff, or file contents. When metadata.has_next_page is true, pass metadata.end_cursor as after to fetch the next page.
- Merge a merge request, or schedule it to merge automatically. Without strategy the merge starts immediately and completes asynchronously; with strategy, auto-merge is armed and the merge request merges once its checks pass. Identify the merge request by url, or by project_id and merge_request_iid. To approve a merge request instead, use save_merge_request_review.
- Add a branch to a GitLab project from a source ref.
Examples:
- Use branch and ref to create a new branch from an existing branch or commit SHA
- Add a commit with one or more file actions to a project branch.
- Get a single commit's metadata, optionally including its diff or notes. Identify the commit with either url, or project_id and commit_sha.
- Get metadata for a single GitLab group: numeric ID, full path, name, visibility, parent, and web URL. Identify the group with exactly one of url or group_id. Use list_groups to discover groups.
- Get a merge request and optionally its diffs, commits, notes, pipelines, discussions, approvals, or conflicts. Without `include`, only the base merge request metadata is returned; request associated data through the `include` parameter so nothing extra is fetched unless asked for.
- Read a file from a GitLab repository at a given ref. Reads from GitLab, not the local filesystem: use it for a project you have not checked out, or a specific branch, tag, or commit — not your local working copy. Returns the file as committed at ref. For large files, use offset and limit to read in windows; when the response is partial, system_instruction gives the next offset.
- Get a CI/CD pipeline in a GitLab project, and optionally its jobs, downstream pipelines,
bridge (trigger) jobs, or the artifacts its jobs produced. The pipeline can be a child
pipeline: pass the id of a downstream pipeline to inspect its jobs, and its
project_full_path as id when it belongs to another project. A bridge job's downstream
pipeline is omitted if you do not have access to it. The artifacts facet pages over the
pipeline's jobs; read one artifact file with the get_artifact_file tool. To list
pipelines, use the list_pipelines tool instead.
- Get metadata for a single GitLab project: numeric ID, full path, default branch, visibility, and web URL. Identify the project with exactly one of url or project_id. Use search with scope projects to find a project you cannot name yet. Pass include: ["work_item_types"] to also return the project work item types and their enabled widgets, for use before save_work_item.
- Fetch a saved view and its work items list from a namespace
- Get a single GitLab user. Use me: true to look up the authenticated user, for example to find your own user id before setting assignee_ids or reviewer_ids. Provide exactly one of username, id, or me. Returns the numeric id, username, name, state, and web URL.
- Get a single work item (issue, epic, task, incident, objective, key result) with its type, dates, assignees, labels, milestone, and parent. Optionally include its notes, its discussions, or the merge requests related to it. Identify the work item by url, or by work_item_iid plus group_id or project_id. Widgets the work item type does not support are omitted.
- List the work item types available in a namespace (group or project), including system-defined types (Issue, Epic, Task, etc.) and custom types. Each returned type includes its global ID, name, icon, and the widget types enabled on it so the agent can avoid setting fields the type does not support.
- Link a work item to other work items with a relationship type (relates_to, blocks, blocked_by)
- List commits in a GitLab project, filtered by ref, author, path, or date. Identify the project with exactly one of url or project_id. Returns compact commit metadata; use get_commit for a single commit's diff or notes.
- List GitLab groups. Without group_id, lists top-level groups where you are a member. With group_id, lists the direct subgroups of that group, regardless of membership. Set include_subgroups to true to recurse into all descendant subgroups (with no group_id, this lists your groups at any depth). Archived groups and groups pending deletion are excluded. Useful for discovering group IDs and full paths for other tools.
- List or search merge requests in a GitLab project or group by author, assignee, reviewer, state, milestone, labels, or text. Identify the project or group with exactly one of url, project_id, or group_id. Group results always include merge requests from subgroups. Returns compact merge request metadata; use get_merge_request for the full detail of a single merge request, or search for full-text search across resource types.
- List milestones in a GitLab project or group. Identify the project or group with exactly one of url, project_id, or group_id. Returns milestones of all states unless state is set.
- List GitLab projects. Without group_id, lists projects you have at least guest access to; pass min_access_level to raise the threshold. With group_id, lists every project in that group and its subgroups regardless of access level; adding min_access_level or visibility narrows the listing to that group only, not its subgroups. When group_id is given, the response includes subgroupsIncluded so you know which case applied.
- List files and directories in a GitLab repository at a given path and ref. Identify the project with exactly one of url or project_id. Returns entry metadata only, never file contents; use get_repository_file to read a file. Each call returns up to 100 entries; when pageInfo.hasNextPage is true, pass pageInfo.endCursor as after to fetch the next page.
- List the members of a GitLab project with their role and access level. Direct members only, unless include_inherited is true.
- List the to-do items of the authenticated user, such as review requests, assignments, and mentions. Returns pending to-do items unless state is set. Each to-do item includes its numeric id, action, target type, target URL, and the name and iid of its target.
- List the work item saved views in a project or group. Provide exactly one of url, project_id, or group_id. Each row carries the saved view ID, name, description, sort, visibility, and whether the current user is subscribed. Pass the ID to get_saved_view_work_items for the filters and work items of one saved view.
- List or search work items (ISSUE, INCIDENT, TEST_CASE, REQUIREMENT, TASK, TICKET, OBJECTIVE, KEY_RESULT, EPIC) in a group or project. Filter by state, author, assignees, labels, milestone, dates, parent, type, or free text. Group scope includes work items of descendant projects and subgroups. Each row carries only compact identifying fields: id, iid, title, state, web URL, reference, created and updated timestamps, and work item type. Use get_work_item for full details of one work item, including description, assignees, labels, and milestone.
- Write merge request review artifacts as the authenticated user. Exactly one method per call: create_note adds a top-level comment; reply_discussion replies within an existing discussion; create_diff_note comments on a specific diff line; resolve_discussion resolves or unresolves a discussion; update_note replaces the text of an existing note; submit_review posts multiple diff comments plus an optional summary in one call; post_duo_review asks GitLab Duo to review the merge request; approve records your approval (pass sha to avoid approving stale content); unapprove removes your approval. Identify the merge request by url, or by project_id and merge_request_iid. Each parameter below names the methods that use it.
- Add a comment to a GitLab merge request or work item, reply to an existing discussion thread, or resolve or unresolve a discussion thread. Identify the target with url, or with merge_request_iid or work_item_iid plus its project_id or group_id
- Run, retry, cancel, or rename a CI/CD pipeline in a GitLab project. Omit pipeline_id and pass ref to run a new pipeline, or pass merge_request_iid to create a pipeline linked to a merge request. Identify the project with exactly one of url or project_id. Pass pipeline_id with action to retry, cancel, or update an existing pipeline; update renames it and requires name.
- Play a manual CI/CD job in a GitLab project, optionally with variables. Provide url, or project_id and job_id. If both are provided, they must identify the same job. This can trigger deployments. Check the job with get_job before playing it.
- Create or update a GitLab work item, such as an issue, task, or epic.
Omit work_item_iid to create a new work item; provide work_item_iid or a
work item URL to update an existing one. Send only the fields you intend
to set, and omit the rest.
- Search labels in a GitLab project or group by multiple terms
- Create a fork of a project
- Retrieve contribution events for a user
- List all pipeline schedules
- List all project pipelines
- List all repository branches
- Semantic (meaning-based) search over different types of content.
Searches indexed project content using embedding-based similarity rather than
keyword matching. Use this when you do not know the exact symbol or file name,
or to discover how a behavior is implemented across the codebase.
Primary use cases:
- When you do not know the exact symbol or file path
- To see how a behavior or feature is implemented across the codebase
- To discover related implementations (clients, jobs, workers)
How to use:
- Provide a concise, specific query with concrete keywords
- Use directory_path to narrow scope when scope is "code"
- Prefer precise intent over broad terms
Results are grouped by file. Each file includes merged line ranges with content
and a relevance score (0.0-1.0). The response includes an overall confidence
level (high/medium/low/unknown) based on score distribution.
Requires semantic search to be enabled and indexed for the project namespace.
- Search across GitLab with automatic selection of the best available search method. Requires `scope` and `search` (for example, `{"scope": "work_items", "search": "rate limit"}`). **Capabilities:** basic (keywords, file filters), advanced (boolean operators), exact code (exact match, regex, symbols) **Syntax Examples:** - Basic: "bug fix", "filename:*.rb", "extension:js" - Advanced: "bug AND critical", "display | banner", "#23456" - Exact code: "class User", "foo lang:ruby", "sym:initialize"
- Create a new GitLab project.
Creates a project in the specified namespace (group or user). If no namespace is
provided, the project is created in the authenticated user's personal namespace.
- Create or update a merge request in a GitLab project.
merge_request_iid alone decides the operation. Omitting it always creates a new
merge request; provide it to update an existing one.
- Create: omit merge_request_iid. title, source_branch, and target_branch are required.
- Update: provide merge_request_iid.
Use state_event (close or reopen) to change an existing merge request's state.
- List all merge requests for a specific GitLab project
- List merge requests across all projects in a GitLab group and its subgroups
- Retrieve details of a specific merge request in a GitLab project
- Create a new merge request in a GitLab project
- Update an existing merge request in a GitLab project
- Accept and merge a GitLab merge request
- Automatically rebase the source branch of a merge request against its target branch
- List all commits in a GitLab merge request
- List diffs of files changed in a GitLab merge request
- Approve a GitLab merge request
- Retrieve who approved a GitLab merge request and whether it meets its approval requirements
- Retrieve the approval rules of a GitLab merge request and whether each is satisfied
- List the merge request approval rules configured on a GitLab project
- Retrieve the merge request approval settings of a GitLab project
- Retrieve the merge request approval settings a GitLab group sets for all of its projects
- List the merge requests of a GitLab group and its subgroups with their author, merger, approvers and committers in one call
- List all comments on a GitLab merge request
- Add a comment to a GitLab merge request
- Cancel the auto-merge setting on a GitLab merge request
- Retrieve all participants in a GitLab merge request
- List all milestones in a GitLab project
- Retrieve details of a specific milestone in a GitLab project
- Create a new milestone in a GitLab project
- Update an existing milestone in a GitLab project
- Delete a milestone from a GitLab project
- List all namespaces accessible to the authenticated GitLab user
- Retrieve details of a specific GitLab namespace
- List all pipelines for a GitLab project
- Retrieve details of a specific pipeline in a GitLab project
- Trigger a new pipeline for a GitLab project
- Retry failed or canceled jobs in a GitLab pipeline
- Cancel all jobs for a running pipeline in a GitLab project
- Delete a pipeline from a GitLab project
- Retrieve variables of a specific pipeline in a GitLab project
- List all jobs in a specific GitLab pipeline
- Retrieve details of a specific CI/CD job in a GitLab project
- Retrieve the log output of a CI/CD job in a GitLab project
- Retry a CI/CD job in a GitLab project
- List all GitLab projects accessible to the authenticated user
- Retrieve details of a specific GitLab project
- Create a new GitLab project
- Update settings and configuration of a GitLab project
- Delete a GitLab project
- Fork a GitLab project into a namespace
- Archive a GitLab project to make it read-only
- Unarchive a GitLab project to restore full access
- List all members of a GitLab project
- List everyone with access to a GitLab project, including inherited and invited members
- Add a user as a member of a GitLab project
- Update a project member's access level or expiration
- Remove a user from a GitLab project
- List all releases for a GitLab project
- Retrieve details of a specific release in a GitLab project
- Create a new release for a GitLab project
- Update an existing release in a GitLab project
- Delete a release from a GitLab project
- List files and directories in a GitLab project repository
- Retrieve a file from a GitLab project repository
- Create a new file in a GitLab project repository
- Update an existing file in a GitLab project repository
- Delete a file from a GitLab project repository
- List all tags in a GitLab project repository
- Create a new tag in a GitLab project repository
- Delete a tag from a GitLab project repository
- Retrieve the list of contributors for a GitLab project repository
- Compare two branches, tags, or commits in a GitLab project
- Search across all accessible GitLab resources
- Search within a specific GitLab group and its subgroups
- Search within a specific GitLab project
- List all snippets for the authenticated GitLab user
- Retrieve details of a specific GitLab snippet
- Retrieve the raw content of a personal GitLab snippet
- Retrieve the raw content of one file in a personal GitLab snippet
- Create a new GitLab snippet
- Update an existing GitLab snippet
- Delete a GitLab snippet permanently
- List all GitLab users accessible to the authenticated user
- Retrieve details of a specific GitLab user by ID
- Retrieve the authenticated user's profile information
- Create a new GitLab user account (admin only)
- Update an existing GitLab user account (admin only)
- Delete a GitLab user account (admin only)
- Retrieve the status of the authenticated user
- Retrieve the status of a specific GitLab user
- List all CI/CD variables for a GitLab project
- Retrieve a specific CI/CD variable from a GitLab project
- Create a new CI/CD variable for a GitLab project
- Update an existing CI/CD variable in a GitLab project
- Delete a CI/CD variable from a GitLab project
No matching actions