GitLab MCP server tools: what read-only mode and the project allowlist really stop, and how to make your agent ask

All 290 tools of @zereight/mcp-gitlab 2.3.31, the most used community GitLab MCP server, checked by running it against a local stand-in for GitLab's REST API: what read-only mode removes and what it still reads, why the 40 default tools are not a limit, why its project allowlist leaked other projects until a second switch was on, which tools merge, push and run pipelines, and the Claude Code settings that make them ask.

Checked on by running @zereight/mcp-gitlab 2.3.31 (npm, published 21 November 2026, run with npx) from zereight/gitlab-mcp and reading its tools/list answer. Each tier is the tool risk checker’s reading, with our reason wherever we changed it. Written by the people who make VariantGate.

The short answer

Run it with GITLAB_PERMISSION_MODE=readonly, GITLAB_ALLOWED_PROJECT_IDS and ENABLE_STRICT_PROJECT_SCOPE=true: writes are refused by name and other projects stay out. Read-only mode still reads CI/CD variables and lets the agent turn on more tools, so deny those by name and give it a project access token with read_api and the Reporter role.

Can run on their own
136
Should ask a person
154

Which GitLab server this is

This page is about @zereight/mcp-gitlab, the community GitLab MCP server by zereight, MIT licensed and about 210,000 npm downloads a week. It is not GitLab’s own. GitLab has a built-in MCP server at /api/v4/mcp on every instance: an experiment in GitLab 18.3, beta in 18.6, and generally available since 19.5 on all tiers, according to GitLab’s documentation on 24 November 2026. It signs clients in with OAuth or a fine-grained token and refuses classic personal access tokens. We did not run it.

We ran npx -y @zereight/mcp-gitlab@2.3.31, published on 21 November 2026, against a small HTTP server on this machine that stood in for GitLab’s REST API v4 and recorded every request, with a made-up token and two made-up projects: 42, acme/app, and 99, other/secret. It accepted a plain http address. It made no request until a tool was called; its code also asks npm for a newer version at start-up, which we turned off with GITLAB_DISABLE_VERSION_CHECK=true. The token went only to our stand-in, as a Bearer header, and not into its log, with the audit log on as well. Everything below about what GitLab itself would answer comes from GitLab’s documentation, not from our stand-in.

40 tools by default, and the agent can add the rest

The server has 290 tools in 24 toolsets and lists 40 of them unless told otherwise: the 38 of its core toolset, plus discover_tools and help. That is a list, not a limit. discover_tools is one of the 40, and it turns on any toolset for the rest of the session. With GITLAB_TOOLSETS=core set explicitly, our client called it for pipelines and then create_pipeline sent POST /projects/42/pipeline; for variables it added create_project_variable, which went out too. merge_merge_request is not among the 40 either, but one discover_tools call for merge_requests away.

Only the api toolset, with its raw gitlab_api_request, cannot be turned on that way; it needs api named in GITLAB_TOOLSETS. What holds against discover_tools is GITLAB_DENIED_TOOLS_REGEX: denied tools were not added, and denying discover_tools itself removed it. Read-only mode holds too, because discover_tools adds only what the mode allows.

What read-only mode stops, and what it still reads

GITLAB_PERMISSION_MODE=readonly replaces the older GITLAB_READ_ONLY_MODE=true, which still works with a deprecation warning. It keeps 150 of the 290 tools, 32 of the 40 on by default. Called by name anyway, create_issue, merge_merge_request and create_pipeline each answered “not allowed in read-only mode”, and nothing reached our stand-in. The tools it keeps that are not marked read-only were checked too:

  • download_job_artifacts and download_attachment refused to save files to disk.
  • execute_graphql refused a mutation, also one placed second behind a query with operationName pointing at it, and one behind a # comment.
  • gitlab_api_request, when the api toolset is on, refused a POST, but its GET of projects/42/variables returned the variables, and the README says it ignores GITLAB_DENIED_TOOLS_REGEX. Keep api out of the toolsets.

What read-only mode does not stop is reading secrets. In a read-only session our client called discover_tools for variables, and list_project_variables returned the DEPLOY_TOKEN value we had put in our stand-in, in full. GitLab’s API returns a masked variable’s value to whoever may read variables; masking hides it in job logs. list_webhooks returned a hook address with its token in it, and get_pipeline_job_output returns job logs, which hold whatever a job prints. The server wraps job logs in a warning that they may carry attacker text, which is the right instinct: the agent reads them. get_pipeline_schedule, on by default, returns a schedule’s variables with it, so the deny pattern in the add command names it, and the settings make job logs ask.

What modify mode lets through

GITLAB_PERMISSION_MODE=modify removes 40 tools: every delete, and the teardowns cancel_pipeline, cancel_pipeline_job, stop_environment, stop_stale_environments, unprotect_branch and unprotect_tag. delete_branch and cancel_pipeline were refused, and so was a push_files with a delete action. These went through:

  • merge_merge_request with should_remove_source_branch: true, so a merge still deleted a branch.
  • create_or_update_file with empty content, sent as a PUT that would blank the file, and push_files committing to main.
  • create_pipeline, retry_pipeline and play_pipeline_job, any of which can deploy.
  • update_default_branch, protect_branch, and create_webhook pointed at attacker.example.test, which would send the project’s events there.

The project allowlist needs a second switch

GITLAB_PROJECT_ID is only a default. With it set to 42, a call naming project 99 went to /projects/99 and came back. GITLAB_ALLOWED_PROJECT_IDS=42 is the real allowlist, and every call that named another project was refused with “Access denied: Project 99 is not in the allowed project list” before anything reached our stand-in: get_project, get_file_contents, a create_merge_request into target_project_id 99, create_issue_link and move_work_item. The match is on the exact text, so project 42’s own path, acme%2Fapp, was refused too; list the IDs the agent will use.

Calls that name no project were not covered. With only the allowlist set, these went to GitLab’s global endpoints and returned project 99’s data as well as 42’s:

  • list_issues and list_merge_requests without a project_id, sent as GET /issues and GET /merge_requests.
  • list_projects, search_repositories and list_group_projects, which listed project 99 by name.
  • search_code, sent as /search?scope=blobs across the whole instance, which returned a config.yml line with the password we had put in project 99.

ENABLE_STRICT_PROJECT_SCOPE=true closed all of them. The same list_issues and list_merge_requests went to /projects/42/issues and /projects/42/merge_requests, the project lists came back with 42 only, and search_code, list_events and list_todos were refused. The README does not mention the switch; we found it in the code, which also refuses execute_graphql whenever either project setting is on.

gitlab_api_request, the raw REST tool in the api toolset, refused projects/99, projects/42/../99 with the dots encoded or not, and projects?search=. It checks the path only, as the README warns: a POST projects/42/merge_requests whose body said target_project_id: 99 reached our stand-in unchanged.

GITLAB_TOOL_POLICY_APPROVE is not a person

The server can mark tools as needing approval. We set GITLAB_TOOL_POLICY_APPROVE=merge_merge_request,create_issue. The first merge_merge_request answered “requires confirmation … Re-call with _confirmed: true to proceed”. The second call, from the same client with _confirmed: true, sent the PUT …/merge, and create_issue with _confirmed: true on the first try created the issue. The server even adds _confirmed to each such tool’s schema, so the model sees how to approve itself. It slows a confused agent down; it does not put a person in the way. Claude Code’s own prompt, or a hook, does.

The token is the lock that holds

Every switch above lives in the server, and the README itself says gitlab_api_request passes the full token scope through. The server never looks at the token’s scopes; GitLab does. GitLab documents read_api as read access to the API, all groups and projects included, and api as complete read and write access. So with a read_api token no tool can merge, push or run a pipeline, whatever mode the server is in. For local OAuth sign-in, the server’s code already asks for read_api in read-only mode and api otherwise. Our stand-in did not check scopes, so this part comes from GitLab’s documentation, not our run.

Scope does not limit what a read reaches; the token’s user and role do. A personal access token sees every project its user sees. A project access token belongs to one project and has a role: as a Reporter it can read the code, issues and merge requests but not the CI/CD variables or webhooks, which GitLab shows only to Maintainers. That makes a read_api project access token with the Reporter role the setup in which even gitlab_api_request stays read-only and inside one project.

Files it writes

With writes allowed, download_attachment and download_job_artifacts saved into .gitlab-mcp-downloads in the folder the server started in, usually your project, with a .gitignore of * so git skips it. A local_path of ../../escape was refused, and a download that GitLab redirected to another port on this machine was refused as a non-public address; that server got nothing. GITLAB_DOWNLOAD_DIR moves the folder.

A setup we would use

Give the agent a project access token with read_api and the Reporter role, add the server in read-only mode with the allowlist and the strict switch, and deny the tools that read variables and webhooks. Replace 12345 with your project’s numeric ID, and keep the token in $GITLAB_TOKEN rather than in a --token flag, which other programs on the machine can see:

claude mcp add gitlab -e GITLAB_PERSONAL_ACCESS_TOKEN=$GITLAB_TOKEN -e GITLAB_API_URL=https://gitlab.com/api/v4 -e GITLAB_PERMISSION_MODE=readonly -e GITLAB_ALLOWED_PROJECT_IDS=12345 -e ENABLE_STRICT_PROJECT_SCOPE=true -e GITLAB_DENIED_TOOLS_REGEX="variable|webhook|^get_pipeline_schedule$" -- npx -y @zereight/mcp-gitlab@2.3.31

Then nothing can write whatever the agent calls, other projects stay out of its lists and searches, and discover_tools adds only reads. The settings below let the look-only tools run and make the rest ask, including the ones that only appear after discover_tools.

The 40 tools on by default

Reaches people2 toolsAsk a person: once it reaches someone, it cannot be unsent.

  • create_merge_request_thread

    Create a new thread on a merge request.

    Server gives no read-only or destructive hint · toolset core, merge_requests

    Our call: Posts in the token user's name, and GitLab notifies everyone taking part in the issue or merge request. It cannot be unsent.

  • create_issue_note

    Add a note to an issue, optionally replying to a discussion thread.

    Server gives no read-only or destructive hint · toolset core, issues

    Our call: Posts in the token user's name, and GitLab notifies everyone taking part in the issue or merge request. It cannot be unsent.

Changes data6 toolsAsk a person. Once it is routine, a standing rule can answer.

  • create_issue

    Create a new issue.

    Server gives no read-only or destructive hint · toolset core, issues

  • create_merge_request

    Create a new merge request.

    Server gives no read-only or destructive hint · toolset core, merge_requests

  • update_merge_request

    Update a merge request (merge_request_iid or source_branch required).

    Server gives no read-only or destructive hint · toolset core, merge_requests

  • resolve_merge_request_thread

    Resolve a thread on a merge request.

    Server gives no read-only or destructive hint · toolset core, merge_requests

  • update_issue

    Update an issue.

    Server gives no read-only or destructive hint · toolset core, issues

  • update_issue_description_patch

    Patch an issue description (search/replace or unified diff) without resending the full body.

    Server gives no read-only or destructive hint · toolset core, issues

Only looks32 toolsLet it run. It only looks.

  • get_merge_request_approval_state

    Get merge request approval details including approvers.

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • search_repositories

    Search for GitLab projects.

    Server says: read-only · toolset core, repositories

  • get_file_contents

    Get the contents of one file from a GitLab project.

    Server says: read-only · toolset core, repositories

  • get_branch

    Get branch details (commit, protection status).

    Server says: read-only · toolset core, merge_requests, branches

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_branches

    List branches in project with search filter.

    Server says: read-only · toolset core, merge_requests, branches

  • get_merge_request

    Get details of a merge request (merge_request_iid or source_branch required).

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_merge_request_diffs

    Get the changes/diffs of a merge request (merge_request_iid or source_branch required).

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_merge_request_changed_files

    List changed file paths in a merge request without diff content (merge_request_iid or source_branch required).

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_merge_request_diffs

    List merge request diffs with pagination (merge_request_iid or source_branch required).

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_merge_request_file_diff

    Get diffs for specific files from a merge request (merge_request_iid or source_branch required).

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • mr_discussions

    List discussion items for a merge request.

    Server says: read-only · toolset core, merge_requests

  • get_merge_request_discussion

    Get a single discussion item for a merge request.

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_merge_request_note

    Get a specific note for a merge request.

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_merge_request_notes

    List notes for a merge request.

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_issues

    List issues (default: created by current user; use scope='all' for all).

    Server says: read-only · toolset core, issues

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • my_issues

    List issues assigned to the authenticated user.

    Server says: read-only · toolset core, issues

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_issue

    Get one issue.

    Server says: read-only · toolset core, issues

  • list_issue_discussions

    List discussions for an issue.

    Server says: read-only · toolset core, issues

  • get_project

    Get details of a specific project.

    Server says: read-only · toolset core, projects

  • list_projects

    List projects accessible by the current user.

    Server says: read-only · toolset core, projects

  • list_project_members

    List members of a GitLab project.

    Server says: read-only · toolset core, projects

  • list_labels

    List labels for a project.

    Server says: read-only · toolset core, labels

  • get_repository_tree

    List files and directories in a repository.

    Server says: read-only · toolset core, repositories

  • list_merge_requests

    List merge requests (without project_id: user's MRs; with project_id: project MRs).

    Server says: read-only · toolset core, merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • whoami

    Get current authenticated user details.

    Server says: read-only · toolset core, users

  • list_commits

    List repository commits with filtering options.

    Server says: read-only · toolset core, branches

  • get_commit

    Get details of a specific commit.

    Server says: read-only · toolset core, branches

  • get_commit_diff

    Get changes/diffs of a specific commit.

    Server says: read-only · toolset core, branches

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_file_blame

    Get git blame for a file at a given ref.

    Server says: read-only · toolset core, branches

  • health_check

    Check auth and versions.

    Server says: read-only · toolset core, projects

  • discover_tools

    List or activate a toolset for this session.

    Server says: read-only

    Our call: Changes nothing in GitLab, but turns on any toolset for the session, writes included unless read-only mode is on. Each new write still asks in Claude Code, since none has an allow rule.

  • help

    Return a short GitLab workflow guide.

    Server says: read-only

The 250 tools in other toolsets

These appear after discover_tools, or with GITLAB_TOOLSETS, such as core,pipelines. execute_graphql is in no toolset and needs GITLAB_TOOLS=execute_graphql. The legacy USE_PIPELINE, USE_MILESTONE and USE_GITLAB_WIKI switches still turn on their toolsets and are deprecated.

Hard to undo60 toolsAsk a person every time. Consider two people, or deny it if the agent never needs it.

  • merge_merge_request

    Merge a merge request.

    Server says: destructive · toolset merge_requests

  • create_or_update_file

    Create or update a file in a GitLab project.

    Server gives no read-only or destructive hint · toolset repositories

    Our call: Replaces a whole file in one commit on the branch it names. In modify mode an empty content went through as a PUT that would leave the file blank.

  • push_files

    Push multiple files in a single commit.

    Server says: destructive · toolset repositories

  • delete_branch

    Delete branch from project.

    Server says: destructive · toolset branches

  • protect_branch

    Protect a repository branch (set push/merge/unprotect access levels).

    Server says: destructive · toolset branches

  • update_protected_branch

    Update an existing protected branch rule in place (access levels, force push, code owner approval).

    Server says: destructive · toolset branches

  • unprotect_branch

    Remove protection from a previously protected branch.

    Server says: destructive · toolset branches

  • update_default_branch

    Change the default branch of a project.

    Server says: destructive · toolset branches

  • delete_merge_request_discussion_note

    Delete a discussion note on a merge request.

    Server says: destructive · toolset merge_requests

  • delete_merge_request_note

    Delete an existing merge request note.

    Server says: destructive · toolset merge_requests

  • delete_draft_note

    Delete a draft note.

    Server says: destructive · toolset merge_requests

  • delete_merge_request_emoji_reaction

    Remove an emoji reaction from a merge request.

    Server says: destructive · toolset merge_requests

  • delete_merge_request_note_emoji_reaction

    Remove an emoji reaction from a merge request note.

    Server says: destructive · toolset merge_requests

  • delete_issue_emoji_reaction

    Remove an emoji reaction from an issue.

    Server says: destructive · toolset issues

  • delete_issue_note_emoji_reaction

    Remove an emoji reaction from an issue note.

    Server says: destructive · toolset issues

  • delete_issue

    Delete an issue.

    Server says: destructive · toolset issues

  • delete_issue_link

    Delete an issue link.

    Server says: destructive · toolset issues

  • update_project

    Update project settings such as description, visibility, default branch, and feature access levels.

    Server gives no read-only or destructive hint · toolset projects

    Our call: Changes project settings, visibility included, so one call can make a private project public.

  • delete_label

    Delete a label from a project.

    Server says: destructive · toolset labels

  • delete_wiki_page

    Delete a wiki page from a project.

    Server says: destructive · toolset wiki

  • delete_group_wiki_page

    Delete a wiki page from a group.

    Server says: destructive · toolset wiki

  • delete_pipeline

    Delete a pipeline.

    Server says: destructive · toolset pipelines

  • delete_deployment

    Delete a deployment.

    Server says: destructive · toolset pipelines

  • approve_deployment

    Approve or reject a protected-environment deployment.

    Server says: destructive · toolset pipelines

  • delete_environment

    Delete a stopped environment.

    Server says: destructive · toolset pipelines

  • stop_environment

    Stop an environment.

    Server says: destructive · toolset pipelines

  • stop_stale_environments

    Stop eligible stale environments; protected environments are excluded and environments are stopped, not deleted.

    Server says: destructive · toolset pipelines

  • delete_review_app_environments

    Schedule deletion of stopped review-app environments one week later; dry_run defaults to true and actual scheduling requires dry_run=false.

    Server says: destructive · toolset pipelines

  • delete_pipeline_trigger

    Delete a project pipeline trigger.

    Server says: destructive · toolset pipelines

  • trigger_pipeline

    Trigger a pipeline with a pipeline trigger token.

    Server gives no read-only or destructive hint · toolset pipelines

    Our call: Runs the project's CI/CD jobs, which can deploy. It went through in modify mode, which only stops deletes and teardowns.

  • create_pipeline

    Create a new pipeline for a branch or tag.

    Server gives no read-only or destructive hint · toolset pipelines

    Our call: Runs the project's CI/CD jobs, which can deploy. It went through in modify mode, which only stops deletes and teardowns.

  • retry_pipeline

    Retry a failed or canceled pipeline.

    Server gives no read-only or destructive hint · toolset pipelines

  • cancel_pipeline

    Cancel a running pipeline.

    Server says: destructive · toolset pipelines

  • delete_pipeline_schedule

    Delete a pipeline schedule.

    Server says: destructive · toolset pipelines

  • play_pipeline_schedule

    Run a pipeline schedule immediately.

    Server gives no read-only or destructive hint · toolset pipelines

  • delete_pipeline_schedule_variable

    Delete a variable from a pipeline schedule.

    Server says: destructive · toolset pipelines

  • play_pipeline_job

    Run a manual pipeline job.

    Server gives no read-only or destructive hint · toolset pipelines

  • play_pipeline_jobs

    Play multiple manual pipeline jobs sequentially.

    Server gives no read-only or destructive hint · toolset pipelines

    Our call: Starts manual CI/CD jobs one after another, and manual jobs are often the deploys.

  • retry_pipeline_job

    Retry a failed or canceled pipeline job.

    Server gives no read-only or destructive hint · toolset pipelines

  • cancel_pipeline_job

    Cancel a running pipeline job.

    Server says: destructive · toolset pipelines

  • erase_pipeline_job

    Erase a pipeline job log and artifacts.

    Server says: destructive · toolset pipelines

  • delete_milestone

    Delete a milestone.

    Server says: destructive · toolset milestones

  • delete_group_milestone

    Delete a group milestone.

    Server says: destructive · toolset milestones

  • delete_group_iteration

    Delete a group iteration by ID, IID, or GraphQL GID.

    Server says: destructive · toolset projects

  • delete_group_iteration_cadence

    Delete an iteration cadence.

    Server says: destructive · toolset projects

  • delete_release

    Delete a release (does not delete the tag).

    Server says: destructive · toolset releases

  • create_release_evidence

    Create release evidence (Premium/Ultimate).

    Server gives no read-only or destructive hint · toolset releases

  • delete_tag

    Delete a repository tag.

    Server says: destructive · toolset tags

  • protect_tag

    Protect a repository tag or wildcard (set who can create it).

    Server says: destructive · toolset tags

  • unprotect_tag

    Remove protection from a previously protected tag or wildcard.

    Server says: destructive · toolset tags

  • delete_snippet

    Delete a snippet.

    Server says: destructive · toolset snippets

  • delete_work_item_emoji_reaction

    Remove an emoji reaction from a work item.

    Server says: destructive · toolset workitems

  • delete_work_item_note_emoji_reaction

    Remove an emoji reaction from a work item note (comment, thread, or thread reply).

    Server says: destructive · toolset workitems

  • delete_webhook

    Delete a project or group webhook.

    Server says: destructive · toolset webhooks

  • delete_project_variable

    Delete a CI/CD variable from a project.

    Server says: destructive · toolset variables

  • delete_group_variable

    Delete a CI/CD variable from a group.

    Server says: destructive · toolset variables

  • purge_dependency_proxy_cache

    Schedule purge of all cached dependency proxy blobs for a group.

    Server says: destructive · toolset dependency_proxy

  • rebase_merge_request

    Rebase the source branch of a merge request onto its target branch.

    Server says: destructive · toolset merge_requests

  • gitlab_api_request

    DANGER: bypasses group and project restrictions, tool allowlists (GITLAB_TOOLS and GITLAB_DENIED_TOOLS_REGEX on other tools), and individual tool safety checks.

    Server says: destructive · toolset api

  • execute_graphql

    Execute a GitLab GraphQL query.

    Server gives no read-only or destructive hint

Reaches people10 toolsAsk a person: once it reaches someone, it cannot be unsent.

  • fork_repository

    Fork a project to your account or specified namespace.

    Server gives no read-only or destructive hint · toolset repositories

    Our call: Copies the whole repository into another namespace, such as your personal one, outside the group's own rules.

  • create_note

    Create a new note (comment) to an issue or merge request.

    Server gives no read-only or destructive hint · toolset issues

    Our call: Posts in the token user's name, and GitLab notifies everyone taking part in the issue or merge request. It cannot be unsent.

  • create_merge_request_discussion_note

    Add a new discussion note to an existing merge request thread.

    Server gives no read-only or destructive hint · toolset merge_requests

    Our call: Posts in the token user's name, and GitLab notifies everyone taking part in the issue or merge request. It cannot be unsent.

  • create_merge_request_note

    Add a new note to a merge request.

    Server gives no read-only or destructive hint · toolset merge_requests

    Our call: Posts in the token user's name, and GitLab notifies everyone taking part in the issue or merge request. It cannot be unsent.

  • publish_draft_note

    Publish a single draft note.

    Server gives no read-only or destructive hint · toolset merge_requests

  • bulk_publish_draft_notes

    Publish all draft notes for a merge request.

    Server gives no read-only or destructive hint · toolset merge_requests

  • create_snippet

    Create a snippet — project-scoped when project_id is given, otherwise a personal snippet.

    Server gives no read-only or destructive hint · toolset snippets

    Our call: Takes a visibility, and a public snippet can be read by anyone the moment it exists.

  • create_work_item_note

    Add a note to a work item (supports Markdown, internal notes, threads).

    Server gives no read-only or destructive hint · toolset workitems

    Our call: Posts in the token user's name, and GitLab notifies everyone taking part in the issue or merge request. It cannot be unsent.

  • create_webhook

    Create a webhook on a project or group.

    Server gives no read-only or destructive hint · toolset webhooks

    Our call: Makes GitLab send the project's events, with commit and merge request contents, to any address the call names. In modify mode it passed with our attacker.example.test address.

  • update_webhook

    Update an existing project or group webhook.

    Server gives no read-only or destructive hint · toolset webhooks

    Our call: Makes GitLab send the project's events, with commit and merge request contents, to any address the call names. In modify mode it passed with our attacker.example.test address.

Not sure10 toolsAsk a person until you have checked what it does.

  • get_pipeline_variables

    Get variables configured for a pipeline.

    Server says: read-only · toolset pipelines

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • get_pipeline_job_output

    Get a pipeline job trace.

    Server says: read-only · toolset pipelines

    Our call: Only reads, but a job log holds whatever the job printed, a secret a script echoed included, and text an attacker put in a branch. The server wraps it in a warning; a person should still see which log is read.

  • get_pipeline_schedule

    Get details of a specific pipeline schedule, including its variables and last pipeline.

    Server says: read-only · toolset pipelines

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • get_pipeline_schedule_variable

    Get a single variable of a pipeline schedule.

    Server says: read-only · toolset pipelines

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • list_webhooks

    List webhooks for a project or group.

    Server says: read-only · toolset webhooks

    Our call: Only reads, but returns each webhook's address, and for Slack-style hooks the address is the secret. Read-only mode keeps it.

  • list_project_variables

    List CI/CD variables for a project.

    Server says: read-only · toolset variables

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • get_project_variable

    Get a single CI/CD variable from a project.

    Server says: read-only · toolset variables

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • list_group_variables

    List CI/CD variables for a group.

    Server says: read-only · toolset variables

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • get_group_variable

    Get a single CI/CD variable from a group.

    Server says: read-only · toolset variables

    Our call: Only reads, but what it reads is a CI/CD variable's value, secrets included. Read-only mode keeps it: there discover_tools turned on list_project_variables, which returned our stand-in's DEPLOY_TOKEN in full.

  • orbit_query

    Execute a GitLab Orbit graph query over the indexed SDLC knowledge graph.

    Server says: read-only · toolset orbit

    Our call: Marked read-only, but its own description says each call uses GitLab credits.

Changes data66 toolsAsk a person. Once it is routine, a standing rule can answer.

  • approve_merge_request

    Approve a merge request.

    Server gives no read-only or destructive hint · toolset merge_requests

  • unapprove_merge_request

    Unapprove a merge request.

    Server gives no read-only or destructive hint · toolset merge_requests

  • create_repository

    Create a new GitLab project.

    Server gives no read-only or destructive hint · toolset repositories

  • create_group

    Create new group or subgroup.

    Server gives no read-only or destructive hint · toolset groups

  • create_branch

    Create a new branch.

    Server gives no read-only or destructive hint · toolset branches

  • update_merge_request_discussion_note

    Update a discussion note on a merge request.

    Server gives no read-only or destructive hint · toolset merge_requests

  • update_merge_request_note

    Modify an existing merge request note.

    Server gives no read-only or destructive hint · toolset merge_requests

  • create_draft_note

    Create a draft note for a merge request.

    Server gives no read-only or destructive hint · toolset merge_requests

  • update_draft_note

    Update an existing draft note.

    Server gives no read-only or destructive hint · toolset merge_requests

  • create_merge_request_emoji_reaction

    Add an emoji reaction to a merge request (e.g.

    Server gives no read-only or destructive hint · toolset merge_requests

  • create_merge_request_note_emoji_reaction

    Add an emoji reaction to a merge request note.

    Server gives no read-only or destructive hint · toolset merge_requests

  • update_issue_note

    Modify an existing issue thread note.

    Server gives no read-only or destructive hint · toolset issues

  • create_issue_emoji_reaction

    Add an emoji reaction to an issue (e.g.

    Server gives no read-only or destructive hint · toolset issues

  • create_issue_note_emoji_reaction

    Add an emoji reaction to an issue note.

    Server gives no read-only or destructive hint · toolset issues

  • reorder_issue

    Move an issue within the manual sort order shown on issue boards.

    Server gives no read-only or destructive hint · toolset issues

    Our call: Moves an issue in the board order. The checker takes order for a purchase.

  • mark_todo_done

    Mark a GitLab to-do item as done.

    Server gives no read-only or destructive hint · toolset issues

  • mark_all_todos_done

    Mark all pending GitLab to-do items as done for the current user.

    Server gives no read-only or destructive hint · toolset issues

  • create_issue_link

    Create an issue link between two issues.

    Server gives no read-only or destructive hint · toolset issues

  • create_label

    Create a new label in a project.

    Server gives no read-only or destructive hint · toolset labels

  • update_label

    Update an existing label in a project.

    Server gives no read-only or destructive hint · toolset labels

  • create_wiki_page

    Create a wiki page in a project.

    Server gives no read-only or destructive hint · toolset wiki

  • update_wiki_page

    Update a wiki page in a project.

    Server gives no read-only or destructive hint · toolset wiki

  • create_group_wiki_page

    Create a wiki page in a group.

    Server gives no read-only or destructive hint · toolset wiki

  • update_group_wiki_page

    Update a wiki page in a group.

    Server gives no read-only or destructive hint · toolset wiki

  • update_pipeline_metadata

    Update pipeline metadata.

    Server gives no read-only or destructive hint · toolset pipelines

  • create_deployment

    Create a deployment.

    Server gives no read-only or destructive hint · toolset pipelines

  • update_deployment

    Update a deployment status.

    Server gives no read-only or destructive hint · toolset pipelines

  • update_environment

    Update an environment.

    Server gives no read-only or destructive hint · toolset pipelines

  • create_pipeline_trigger

    Create a project pipeline trigger.

    Server gives no read-only or destructive hint · toolset pipelines

  • update_pipeline_trigger

    Update a project pipeline trigger.

    Server gives no read-only or destructive hint · toolset pipelines

  • create_pipeline_schedule

    Create a new pipeline schedule for a branch or tag.

    Server gives no read-only or destructive hint · toolset pipelines

  • update_pipeline_schedule

    Update an existing pipeline schedule.

    Server gives no read-only or destructive hint · toolset pipelines

  • take_ownership_pipeline_schedule

    Take ownership of a pipeline schedule.

    Server gives no read-only or destructive hint · toolset pipelines

  • create_pipeline_schedule_variable

    Create a variable for a pipeline schedule.

    Server gives no read-only or destructive hint · toolset pipelines

  • update_pipeline_schedule_variable

    Update a variable of a pipeline schedule.

    Server gives no read-only or destructive hint · toolset pipelines

  • download_job_artifacts

    Download job artifact archive (zip) and save it under the download directory.

    Server gives no read-only or destructive hint · toolset pipelines

  • create_milestone

    Create a new milestone.

    Server gives no read-only or destructive hint · toolset milestones

  • edit_milestone

    Edit an existing milestone.

    Server gives no read-only or destructive hint · toolset milestones

  • promote_milestone

    Promote a milestone to the next stage.

    Server gives no read-only or destructive hint · toolset milestones

    Our call: Moves a project milestone up to its group, where every project in the group sees it.

  • create_group_milestone

    Create a new group milestone.

    Server gives no read-only or destructive hint · toolset milestones

  • edit_group_milestone

    Edit an existing group milestone.

    Server gives no read-only or destructive hint · toolset milestones

  • create_commit_status

    Create or update the status of a commit.

    Server gives no read-only or destructive hint · toolset branches

  • update_group_iteration

    Update a manual group iteration's title, description, or dates.

    Server gives no read-only or destructive hint · toolset projects

  • create_group_iteration

    Create a group iteration, optionally in a given iteration cadence.

    Server gives no read-only or destructive hint · toolset projects

  • create_group_iteration_cadence

    Create an iteration cadence in a group.

    Server gives no read-only or destructive hint · toolset projects

  • update_group_iteration_cadence

    Update an iteration cadence's title, description, schedule, or automation.

    Server gives no read-only or destructive hint · toolset projects

  • upload_markdown

    Upload a file for use in markdown content.

    Server gives no read-only or destructive hint · toolset users

  • download_attachment

    Download an uploaded file from a project (images returned as base64; other files, or images with local_path, are saved as new files under the download directory).

    Server gives no read-only or destructive hint · toolset users

  • create_release

    Create a new release.

    Server gives no read-only or destructive hint · toolset releases

  • update_release

    Update an existing release.

    Server gives no read-only or destructive hint · toolset releases

  • create_tag

    Create a new repository tag.

    Server gives no read-only or destructive hint · toolset tags

  • update_snippet

    Update an existing snippet (provide at least one field to change).

    Server gives no read-only or destructive hint · toolset snippets

  • create_work_item

    Create a work item (issue, task, incident, epic, etc.) with full field support.

    Server gives no read-only or destructive hint · toolset workitems

  • update_work_item

    Update a work item (title, description, labels, assignees, state, parent, iteration, custom fields, etc.).

    Server gives no read-only or destructive hint · toolset workitems

  • convert_work_item_type

    Convert a work item to a different type.

    Server gives no read-only or destructive hint · toolset workitems

    Our call: Turns a work item into another type, such as an issue into a task.

  • move_work_item

    Move a work item to a different project.

    Server gives no read-only or destructive hint · toolset workitems

  • create_work_item_emoji_reaction

    Add an emoji reaction to a work item (e.g.

    Server gives no read-only or destructive hint · toolset workitems

  • create_work_item_note_emoji_reaction

    Add an emoji reaction to a work item note (comment, thread, or thread reply).

    Server gives no read-only or destructive hint · toolset workitems

  • create_timeline_event

    Create a timeline event on an incident.

    Server gives no read-only or destructive hint · toolset workitems

  • create_project_variable

    Create a CI/CD variable for a project.

    Server gives no read-only or destructive hint · toolset variables

  • update_project_variable

    Update an existing CI/CD variable in a project.

    Server gives no read-only or destructive hint · toolset variables

  • create_group_variable

    Create a CI/CD variable for a group.

    Server gives no read-only or destructive hint · toolset variables

  • update_group_variable

    Update an existing CI/CD variable in a group.

    Server gives no read-only or destructive hint · toolset variables

  • update_dependency_proxy_settings

    Update dependency proxy settings for a group (enable/disable, credentials for authenticated Docker Hub pulls).

    Server gives no read-only or destructive hint · toolset dependency_proxy

  • dismiss_vulnerability

    Dismiss a vulnerability with a reason (acceptable_risk, false_positive, used_in_tests, mitigating_control, not_applicable) and optional comment.

    Server gives no read-only or destructive hint · toolset vulnerabilities

  • confirm_vulnerability

    Confirm a vulnerability as a real finding requiring remediation.

    Server gives no read-only or destructive hint · toolset vulnerabilities

    Our call: Changes a vulnerability's state in the project's security records. The checker takes confirm for a look.

Only looks104 toolsLet it run. It only looks.

  • get_merge_request_conflicts

    Get the conflicts of a merge request.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_merge_request_pipelines

    List pipelines for a merge request with pagination.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_protected_branches

    List protected branches in a project, supports search filter.

    Server says: read-only · toolset branches

  • get_protected_branch

    Get details of a single protected branch (access levels, force push settings).

    Server says: read-only · toolset branches

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_merge_request_versions

    List all versions of a merge request.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_merge_request_version

    Get a specific version of a merge request.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_branch_diffs

    Get diffs between two branches or commits.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_draft_note

    Get a single draft note from a merge request.

    Server says: read-only · toolset merge_requests

  • list_draft_notes

    List draft notes for a merge request.

    Server says: read-only · toolset merge_requests

  • list_merge_request_emoji_reactions

    List all emoji reactions on a merge request.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_merge_request_note_emoji_reactions

    List all emoji reactions on a merge request note.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_issue_emoji_reactions

    List all emoji reactions on an issue.

    Server says: read-only · toolset issues

  • list_issue_note_emoji_reactions

    List all emoji reactions on an issue note.

    Server says: read-only · toolset issues

  • list_todos

    List GitLab to-do items for the current user.

    Server says: read-only · toolset issues

  • list_issue_links

    List all issue links for a specific issue.

    Server says: read-only · toolset issues

  • list_issue_label_events

    List an issue's label history: who added or removed which label, when.

    Server says: read-only · toolset issues

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_issue_state_events

    List an issue's state history: who closed or reopened it, when.

    Server says: read-only · toolset issues

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_issue_link

    Get a specific issue link.

    Server says: read-only · toolset issues

  • list_namespaces

    List all namespaces (users and groups) available to the current user.

    Server says: read-only · toolset projects

  • get_namespace

    Get details of a namespace (user or group) by ID or path.

    Server says: read-only · toolset projects

  • verify_namespace

    Verify if a namespace path exists.

    Server says: read-only · toolset projects

  • list_group_members

    List members of a GitLab group with optional name or username search.

    Server says: read-only · toolset projects

  • get_label

    Get a single label from a project.

    Server says: read-only · toolset labels

  • list_group_projects

    List projects in a group.

    Server says: read-only · toolset projects

  • list_wiki_pages

    List wiki pages in a project.

    Server says: read-only · toolset wiki

  • get_wiki_page

    Get details of a specific wiki page.

    Server says: read-only · toolset wiki

  • list_group_wiki_pages

    List wiki pages in a group.

    Server says: read-only · toolset wiki

  • get_group_wiki_page

    Get details of a specific group wiki page.

    Server says: read-only · toolset wiki

  • list_pipelines

    List pipelines with filtering options.

    Server says: read-only · toolset pipelines

  • get_pipeline

    Get details of a specific pipeline.

    Server says: read-only · toolset pipelines

  • get_pipeline_test_report

    Get pipeline test report.

    Server says: read-only · toolset pipelines

  • get_pipeline_test_report_summary

    Get pipeline test report summary.

    Server says: read-only · toolset pipelines

  • list_deployments

    List deployments with filtering options.

    Server says: read-only · toolset pipelines

  • get_deployment

    Get deployment details, including approval_summary, approvals, and pending_approval_count when GitLab provides them.

    Server says: read-only · toolset pipelines

  • list_deployment_merge_requests

    List merge requests shipped with a deployment.

    Server says: read-only · toolset pipelines

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_environments

    List environments in a project.

    Server says: read-only · toolset pipelines

  • get_environment

    Get details of a specific environment.

    Server says: read-only · toolset pipelines

  • list_pipeline_triggers

    List project pipeline trigger tokens.

    Server says: read-only · toolset pipelines

  • get_pipeline_trigger

    Get a project pipeline trigger.

    Server says: read-only · toolset pipelines

  • list_pipeline_jobs

    List all jobs in a specific pipeline.

    Server says: read-only · toolset pipelines

  • list_pipeline_trigger_jobs

    List trigger jobs (bridges) in a pipeline.

    Server says: read-only · toolset pipelines

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_pipeline_job

    Get details of a GitLab pipeline job number.

    Server says: read-only · toolset pipelines

  • validate_ci_lint

    Validate provided GitLab CI/CD YAML content for a project.

    Server says: read-only · toolset ci

  • validate_project_ci_lint

    Validate an existing .gitlab-ci.yml configuration for a project.

    Server says: read-only · toolset ci

  • list_ci_catalog_resources

    List GitLab CI/CD Catalog resources/components visible to the user.

    Server says: read-only · toolset ci

  • get_ci_catalog_resource

    Get details for a GitLab CI/CD Catalog resource, including versions and components.

    Server says: read-only · toolset ci

  • list_pipeline_schedules

    List pipeline schedules in a project, optionally filtered to active or inactive.

    Server says: read-only · toolset pipelines

  • list_pipeline_schedule_pipelines

    List the pipelines that a pipeline schedule has triggered.

    Server says: read-only · toolset pipelines

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • wait_for_pipeline

    Wait for a pipeline to reach a terminal status.

    Server says: read-only · toolset pipelines

  • wait_for_job

    Wait for a job to reach a terminal status.

    Server says: read-only · toolset pipelines

  • list_job_artifacts

    List artifact files in a job's archive.

    Server says: read-only · toolset pipelines

  • get_job_artifact_file

    Get content of a single file from a job's artifacts.

    Server says: read-only · toolset pipelines

  • list_group_merge_requests

    List merge requests across all projects of a group and its subgroups.

    Server says: read-only · toolset merge_requests

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_milestones

    List milestones with filtering options.

    Server says: read-only · toolset milestones

  • get_milestone

    Get details of a specific milestone.

    Server says: read-only · toolset milestones

  • get_milestone_issue

    Get issues associated with a specific milestone.

    Server says: read-only · toolset milestones

  • get_milestone_merge_requests

    Get merge requests associated with a specific milestone.

    Server says: read-only · toolset milestones

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_milestone_burndown_events

    Get burndown events for a specific milestone.

    Server says: read-only · toolset milestones

  • list_group_milestones

    List group milestones with filtering options.

    Server says: read-only · toolset milestones

  • get_group_milestone

    Get details of a specific group milestone.

    Server says: read-only · toolset milestones

  • get_group_milestone_issue

    Get issues associated with a specific group milestone.

    Server says: read-only · toolset milestones

  • get_group_milestone_merge_requests

    Get merge requests associated with a specific group milestone.

    Server says: read-only · toolset milestones

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_group_milestone_burndown_events

    Get burndown events for a specific group milestone.

    Server says: read-only · toolset milestones

  • get_users

    Get GitLab user details by usernames.

    Server says: read-only · toolset users

  • get_user

    Get user details by ID.

    Server says: read-only · toolset users

  • list_commit_statuses

    List statuses for a commit.

    Server says: read-only · toolset branches

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_group_iterations

    List group iterations with filtering options.

    Server says: read-only · toolset projects

  • get_group_iteration

    Get a group iteration by ID, IID, or GraphQL GID.

    Server says: read-only · toolset projects

  • list_project_iterations

    List the iterations available to a project with filtering options.

    Server says: read-only · toolset projects

  • list_group_iteration_cadences

    List a group's iteration cadences with filtering options.

    Server says: read-only · toolset projects

  • list_events

    List events for the authenticated user (before/after: YYYY-MM-DD).

    Server says: read-only · toolset users

  • get_project_events

    List events for a project (before/after: YYYY-MM-DD).

    Server says: read-only · toolset users

  • list_releases

    List all releases for a project.

    Server says: read-only · toolset releases

  • get_release

    Get a release by tag name.

    Server says: read-only · toolset releases

  • download_release_asset

    Download a release asset file by direct asset path.

    Server says: read-only · toolset releases

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_tags

    List repository tags for a project.

    Server says: read-only · toolset tags

  • get_tag

    Get a repository tag by name.

    Server says: read-only · toolset tags

  • get_tag_signature

    Get the X.509 signature of a signed tag (404 if unsigned).

    Server says: read-only · toolset tags

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_protected_tags

    List protected tags in a project.

    Server says: read-only · toolset tags

  • get_protected_tag

    Get details of a single protected tag or wildcard (create access levels).

    Server says: read-only · toolset tags

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_snippets

    List snippets — project snippets when project_id is given, otherwise personal snippets.

    Server says: read-only · toolset snippets

  • get_snippet

    Get a snippet's metadata.

    Server says: read-only · toolset snippets

  • get_work_item

    Get a work item with full details including status, hierarchy, type, and widgets.

    Server says: read-only · toolset workitems

  • list_work_items

    List work items with filters (type, state, search, assignees, labels).

    Server says: read-only · toolset workitems

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • list_work_item_statuses

    List available statuses for a work item type (Premium/Ultimate).

    Server says: read-only · toolset workitems

  • list_custom_field_definitions

    List custom field definitions for a work item type.

    Server says: read-only · toolset workitems

  • list_work_item_notes

    List notes and discussions on a work item.

    Server says: read-only · toolset workitems

  • list_work_item_emoji_reactions

    List all emoji reactions on a work item.

    Server says: read-only · toolset workitems

  • list_work_item_note_emoji_reactions

    List all emoji reactions on a work item note (comment, thread, or thread reply).

    Server says: read-only · toolset workitems

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • get_timeline_events

    List timeline events for an incident.

    Server says: read-only · toolset workitems

  • list_webhook_events

    List recent webhook events (past 7 days).

    Server says: read-only · toolset webhooks

  • get_webhook_event

    Get full details of a specific webhook event.

    Server says: read-only · toolset webhooks

  • search_code

    Search for code across all projects (requires advanced search or Zoekt).

    Server says: read-only · toolset search

  • search_project_code

    Search for code within a specific project (requires advanced search or Zoekt).

    Server says: read-only · toolset search

  • search_group_code

    Search for code within a specific group (requires advanced search or Zoekt).

    Server says: read-only · toolset search

  • get_dependency_proxy_settings

    Get dependency proxy settings for a group.

    Server says: read-only · toolset dependency_proxy

  • list_dependency_proxy_blobs

    List cached dependency proxy blobs for a group.

    Server says: read-only · toolset dependency_proxy

  • list_project_vulnerabilities

    List vulnerabilities for a project with optional state, severity, and report type filters (GraphQL-backed, cursor pagination).

    Server says: read-only · toolset vulnerabilities

  • get_vulnerability

    Get full details of a specific vulnerability.

    Server says: read-only · toolset vulnerabilities

  • orbit_get_schema

    Fetch the current GitLab Orbit graph schema (node and edge types).

    Server says: read-only · toolset orbit

  • orbit_get_status

    Check GitLab Orbit indexing status for the enabled scope.

    Server says: read-only · toolset orbit

    Our call: Marked read-only and kept by read-only mode, and it only reads. The checker takes a word in its name, such as merge, for a change.

  • orbit_list_tools

    List the MCP tool definitions exposed by GitLab Orbit.

    Server says: read-only · toolset orbit

  • list_project_runners

    List runners available to a project.

    Server says: read-only · toolset pipelines

  • get_runner

    Get one runner by ID.

    Server says: read-only · toolset pipelines

Let the reads run in Claude Code

Claude Code asks before every MCP tool it has no rule for. Added as gitlab, this server’s tools are named mcp__gitlab__<tool>. These allow rules, in .claude/settings.json or ~/.claude/settings.json, let the tools that only look run without a prompt. Everything else keeps asking, including any tool a later version of the server adds.

{
  "permissions": {
    "allow": [
      "mcp__gitlab__get_merge_request_approval_state",
      "mcp__gitlab__get_merge_request_conflicts",
      "mcp__gitlab__list_merge_request_pipelines",
      "mcp__gitlab__search_repositories",
      "mcp__gitlab__get_file_contents",
      "mcp__gitlab__get_branch",
      "mcp__gitlab__list_branches",
      "mcp__gitlab__list_protected_branches",
      "mcp__gitlab__get_protected_branch",
      "mcp__gitlab__get_merge_request",
      "mcp__gitlab__get_merge_request_diffs",
      "mcp__gitlab__list_merge_request_changed_files",
      "mcp__gitlab__list_merge_request_diffs",
      "mcp__gitlab__get_merge_request_file_diff",
      "mcp__gitlab__list_merge_request_versions",
      "mcp__gitlab__get_merge_request_version",
      "mcp__gitlab__get_branch_diffs",
      "mcp__gitlab__mr_discussions",
      "mcp__gitlab__get_merge_request_discussion",
      "mcp__gitlab__get_merge_request_note",
      "mcp__gitlab__get_merge_request_notes",
      "mcp__gitlab__get_draft_note",
      "mcp__gitlab__list_draft_notes",
      "mcp__gitlab__list_merge_request_emoji_reactions",
      "mcp__gitlab__list_merge_request_note_emoji_reactions",
      "mcp__gitlab__list_issue_emoji_reactions",
      "mcp__gitlab__list_issue_note_emoji_reactions",
      "mcp__gitlab__list_issues",
      "mcp__gitlab__my_issues",
      "mcp__gitlab__get_issue",
      "mcp__gitlab__list_todos",
      "mcp__gitlab__list_issue_links",
      "mcp__gitlab__list_issue_discussions",
      "mcp__gitlab__list_issue_label_events",
      "mcp__gitlab__list_issue_state_events",
      "mcp__gitlab__get_issue_link",
      "mcp__gitlab__list_namespaces",
      "mcp__gitlab__get_namespace",
      "mcp__gitlab__verify_namespace",
      "mcp__gitlab__get_project",
      "mcp__gitlab__list_projects",
      "mcp__gitlab__list_project_members",
      "mcp__gitlab__list_group_members",
      "mcp__gitlab__list_labels",
      "mcp__gitlab__get_label",
      "mcp__gitlab__list_group_projects",
      "mcp__gitlab__list_wiki_pages",
      "mcp__gitlab__get_wiki_page",
      "mcp__gitlab__list_group_wiki_pages",
      "mcp__gitlab__get_group_wiki_page",
      "mcp__gitlab__get_repository_tree",
      "mcp__gitlab__list_pipelines",
      "mcp__gitlab__get_pipeline",
      "mcp__gitlab__get_pipeline_test_report",
      "mcp__gitlab__get_pipeline_test_report_summary",
      "mcp__gitlab__list_deployments",
      "mcp__gitlab__get_deployment",
      "mcp__gitlab__list_deployment_merge_requests",
      "mcp__gitlab__list_environments",
      "mcp__gitlab__get_environment",
      "mcp__gitlab__list_pipeline_triggers",
      "mcp__gitlab__get_pipeline_trigger",
      "mcp__gitlab__list_pipeline_jobs",
      "mcp__gitlab__list_pipeline_trigger_jobs",
      "mcp__gitlab__get_pipeline_job",
      "mcp__gitlab__validate_ci_lint",
      "mcp__gitlab__validate_project_ci_lint",
      "mcp__gitlab__list_ci_catalog_resources",
      "mcp__gitlab__get_ci_catalog_resource",
      "mcp__gitlab__list_pipeline_schedules",
      "mcp__gitlab__list_pipeline_schedule_pipelines",
      "mcp__gitlab__wait_for_pipeline",
      "mcp__gitlab__wait_for_job",
      "mcp__gitlab__list_job_artifacts",
      "mcp__gitlab__get_job_artifact_file",
      "mcp__gitlab__list_merge_requests",
      "mcp__gitlab__list_group_merge_requests",
      "mcp__gitlab__list_milestones",
      "mcp__gitlab__get_milestone",
      "mcp__gitlab__get_milestone_issue",
      "mcp__gitlab__get_milestone_merge_requests",
      "mcp__gitlab__get_milestone_burndown_events",
      "mcp__gitlab__list_group_milestones",
      "mcp__gitlab__get_group_milestone",
      "mcp__gitlab__get_group_milestone_issue",
      "mcp__gitlab__get_group_milestone_merge_requests",
      "mcp__gitlab__get_group_milestone_burndown_events",
      "mcp__gitlab__get_users",
      "mcp__gitlab__get_user",
      "mcp__gitlab__whoami",
      "mcp__gitlab__list_commits",
      "mcp__gitlab__get_commit",
      "mcp__gitlab__get_commit_diff",
      "mcp__gitlab__get_file_blame",
      "mcp__gitlab__list_commit_statuses",
      "mcp__gitlab__list_group_iterations",
      "mcp__gitlab__get_group_iteration",
      "mcp__gitlab__list_project_iterations",
      "mcp__gitlab__list_group_iteration_cadences",
      "mcp__gitlab__health_check",
      "mcp__gitlab__list_events",
      "mcp__gitlab__get_project_events",
      "mcp__gitlab__list_releases",
      "mcp__gitlab__get_release",
      "mcp__gitlab__download_release_asset",
      "mcp__gitlab__list_tags",
      "mcp__gitlab__get_tag",
      "mcp__gitlab__get_tag_signature",
      "mcp__gitlab__list_protected_tags",
      "mcp__gitlab__get_protected_tag",
      "mcp__gitlab__list_snippets",
      "mcp__gitlab__get_snippet",
      "mcp__gitlab__get_work_item",
      "mcp__gitlab__list_work_items",
      "mcp__gitlab__list_work_item_statuses",
      "mcp__gitlab__list_custom_field_definitions",
      "mcp__gitlab__list_work_item_notes",
      "mcp__gitlab__list_work_item_emoji_reactions",
      "mcp__gitlab__list_work_item_note_emoji_reactions",
      "mcp__gitlab__get_timeline_events",
      "mcp__gitlab__list_webhook_events",
      "mcp__gitlab__get_webhook_event",
      "mcp__gitlab__search_code",
      "mcp__gitlab__search_project_code",
      "mcp__gitlab__search_group_code",
      "mcp__gitlab__get_dependency_proxy_settings",
      "mcp__gitlab__list_dependency_proxy_blobs",
      "mcp__gitlab__list_project_vulnerabilities",
      "mcp__gitlab__get_vulnerability",
      "mcp__gitlab__orbit_get_schema",
      "mcp__gitlab__orbit_get_status",
      "mcp__gitlab__orbit_list_tools",
      "mcp__gitlab__list_project_runners",
      "mcp__gitlab__get_runner",
      "mcp__gitlab__discover_tools",
      "mcp__gitlab__help"
    ]
  }
}

The command that adds the server:

claude mcp add gitlab -e GITLAB_PERSONAL_ACCESS_TOKEN=$GITLAB_TOKEN -e GITLAB_API_URL=https://gitlab.com/api/v4 -e GITLAB_PERMISSION_MODE=readonly -e GITLAB_ALLOWED_PROJECT_IDS=12345 -e ENABLE_STRICT_PROJECT_SCOPE=true -e GITLAB_DENIED_TOOLS_REGEX="variable|webhook|^get_pipeline_schedule$" -- npx -y @zereight/mcp-gitlab@2.3.31

Send the rest to a person, not the terminal

A prompt in the terminal only works while someone is watching it. With this hook, every other tool of the server becomes a request in your VariantGate inbox, on your phone or in Slack, and Claude Code waits for the answer. The matcher names the look-only tools, so a tool added later is sent too. Put the key in VARIANTGATE_KEY, or run the one-command setup for Claude Code first.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "mcp__gitlab__(?!(get_merge_request_approval_state|get_merge_request_conflicts|list_merge_request_pipelines|search_repositories|get_file_contents|get_branch|list_branches|list_protected_branches|get_protected_branch|get_merge_request|get_merge_request_diffs|list_merge_request_changed_files|list_merge_request_diffs|get_merge_request_file_diff|list_merge_request_versions|get_merge_request_version|get_branch_diffs|mr_discussions|get_merge_request_discussion|get_merge_request_note|get_merge_request_notes|get_draft_note|list_draft_notes|list_merge_request_emoji_reactions|list_merge_request_note_emoji_reactions|list_issue_emoji_reactions|list_issue_note_emoji_reactions|list_issues|my_issues|get_issue|list_todos|list_issue_links|list_issue_discussions|list_issue_label_events|list_issue_state_events|get_issue_link|list_namespaces|get_namespace|verify_namespace|get_project|list_projects|list_project_members|list_group_members|list_labels|get_label|list_group_projects|list_wiki_pages|get_wiki_page|list_group_wiki_pages|get_group_wiki_page|get_repository_tree|list_pipelines|get_pipeline|get_pipeline_test_report|get_pipeline_test_report_summary|list_deployments|get_deployment|list_deployment_merge_requests|list_environments|get_environment|list_pipeline_triggers|get_pipeline_trigger|list_pipeline_jobs|list_pipeline_trigger_jobs|get_pipeline_job|validate_ci_lint|validate_project_ci_lint|list_ci_catalog_resources|get_ci_catalog_resource|list_pipeline_schedules|list_pipeline_schedule_pipelines|wait_for_pipeline|wait_for_job|list_job_artifacts|get_job_artifact_file|list_merge_requests|list_group_merge_requests|list_milestones|get_milestone|get_milestone_issue|get_milestone_merge_requests|get_milestone_burndown_events|list_group_milestones|get_group_milestone|get_group_milestone_issue|get_group_milestone_merge_requests|get_group_milestone_burndown_events|get_users|get_user|whoami|list_commits|get_commit|get_commit_diff|get_file_blame|list_commit_statuses|list_group_iterations|get_group_iteration|list_project_iterations|list_group_iteration_cadences|health_check|list_events|get_project_events|list_releases|get_release|download_release_asset|list_tags|get_tag|get_tag_signature|list_protected_tags|get_protected_tag|list_snippets|get_snippet|get_work_item|list_work_items|list_work_item_statuses|list_custom_field_definitions|list_work_item_notes|list_work_item_emoji_reactions|list_work_item_note_emoji_reactions|get_timeline_events|list_webhook_events|get_webhook_event|search_code|search_project_code|search_group_code|get_dependency_proxy_settings|list_dependency_proxy_blobs|list_project_vulnerabilities|get_vulnerability|orbit_get_schema|orbit_get_status|orbit_list_tools|list_project_runners|get_runner|discover_tools|help)$).*",
        "hooks": [
          { "type": "command", "command": "variantgate hook claude-code", "timeout": 180 }
        ]
      }
    ]
  }
}

Disagree with a tier, or run the server with other flags? Open these tools in the tool risk checker, change what you like, and copy the settings for your own setup. It runs in your browser and starts from its own reading, so a tool we marked as only looking by hand asks there until you change it.

Any MCP client: put the proxy in front

Claude Desktop, Cursor and most other MCP clients have no hook to send a call to a person. The VariantGate MCP proxy does it in the server’s place: it starts the server, lets the look-only tools above through, and holds every other call until someone approves it in the inbox. Run npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz login once to save a key, then use this in claude_desktop_config.json or ~/.cursor/mcp.json:

{
  "mcpServers": {
    "gitlab": {
      "args": [
        "-y",
        "https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz",
        "mcp-proxy",
        "--name",
        "gitlab",
        "--look-only",
        "get_merge_request_approval_state,get_merge_request_conflicts,list_merge_request_pipelines,search_repositories,get_file_contents,get_branch,list_branches,list_protected_branches,get_protected_branch,get_merge_request,get_merge_request_diffs,list_merge_request_changed_files,list_merge_request_diffs,get_merge_request_file_diff,list_merge_request_versions,get_merge_request_version,get_branch_diffs,mr_discussions,get_merge_request_discussion,get_merge_request_note,get_merge_request_notes,get_draft_note,list_draft_notes,list_merge_request_emoji_reactions,list_merge_request_note_emoji_reactions,list_issue_emoji_reactions,list_issue_note_emoji_reactions,list_issues,my_issues,get_issue,list_todos,list_issue_links,list_issue_discussions,list_issue_label_events,list_issue_state_events,get_issue_link,list_namespaces,get_namespace,verify_namespace,get_project,list_projects,list_project_members,list_group_members,list_labels,get_label,list_group_projects,list_wiki_pages,get_wiki_page,list_group_wiki_pages,get_group_wiki_page,get_repository_tree,list_pipelines,get_pipeline,get_pipeline_test_report,get_pipeline_test_report_summary,list_deployments,get_deployment,list_deployment_merge_requests,list_environments,get_environment,list_pipeline_triggers,get_pipeline_trigger,list_pipeline_jobs,list_pipeline_trigger_jobs,get_pipeline_job,validate_ci_lint,validate_project_ci_lint,list_ci_catalog_resources,get_ci_catalog_resource,list_pipeline_schedules,list_pipeline_schedule_pipelines,wait_for_pipeline,wait_for_job,list_job_artifacts,get_job_artifact_file,list_merge_requests,list_group_merge_requests,list_milestones,get_milestone,get_milestone_issue,get_milestone_merge_requests,get_milestone_burndown_events,list_group_milestones,get_group_milestone,get_group_milestone_issue,get_group_milestone_merge_requests,get_group_milestone_burndown_events,get_users,get_user,whoami,list_commits,get_commit,get_commit_diff,get_file_blame,list_commit_statuses,list_group_iterations,get_group_iteration,list_project_iterations,list_group_iteration_cadences,health_check,list_events,get_project_events,list_releases,get_release,download_release_asset,list_tags,get_tag,get_tag_signature,list_protected_tags,get_protected_tag,list_snippets,get_snippet,get_work_item,list_work_items,list_work_item_statuses,list_custom_field_definitions,list_work_item_notes,list_work_item_emoji_reactions,list_work_item_note_emoji_reactions,get_timeline_events,list_webhook_events,get_webhook_event,search_code,search_project_code,search_group_code,get_dependency_proxy_settings,list_dependency_proxy_blobs,list_project_vulnerabilities,get_vulnerability,orbit_get_schema,orbit_get_status,orbit_list_tools,list_project_runners,get_runner,discover_tools,help",
        "--",
        "npx",
        "-y",
        "@zereight/mcp-gitlab@2.3.31"
      ],
      "command": "npx",
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<GITLAB_TOKEN>",
        "GITLAB_API_URL": "https://gitlab.com/api/v4",
        "GITLAB_PERMISSION_MODE": "readonly",
        "GITLAB_ALLOWED_PROJECT_IDS": "12345",
        "ENABLE_STRICT_PROJECT_SCOPE": "true",
        "GITLAB_DENIED_TOOLS_REGEX": "variable|webhook|^get_pipeline_schedule$"
      }
    }
  }
}

Already have it in Claude Desktop? One command rewrites the file for you, with these look-only tools filled in, and keeps the old one (setup vscode does the same for VS Code; how it works):

npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz setup claude-desktop

The same in Claude Code, instead of the hook. The proxy now asks about every call that matters, so an allow rule for the whole server, mcp__gitlab, keeps Claude Code from asking a second time in the terminal:

claude mcp add gitlab -e GITLAB_PERSONAL_ACCESS_TOKEN=$GITLAB_TOKEN -e GITLAB_API_URL=https://gitlab.com/api/v4 -e GITLAB_PERMISSION_MODE=readonly -e GITLAB_ALLOWED_PROJECT_IDS=12345 -e ENABLE_STRICT_PROJECT_SCOPE=true -e GITLAB_DENIED_TOOLS_REGEX="variable|webhook|^get_pipeline_schedule$" -- npx -y https://variantgate.com/sdk/variantgate-agent-0.15.0.tgz mcp-proxy --name gitlab --look-only get_merge_request_approval_state,get_merge_request_conflicts,list_merge_request_pipelines,search_repositories,get_file_contents,get_branch,list_branches,list_protected_branches,get_protected_branch,get_merge_request,get_merge_request_diffs,list_merge_request_changed_files,list_merge_request_diffs,get_merge_request_file_diff,list_merge_request_versions,get_merge_request_version,get_branch_diffs,mr_discussions,get_merge_request_discussion,get_merge_request_note,get_merge_request_notes,get_draft_note,list_draft_notes,list_merge_request_emoji_reactions,list_merge_request_note_emoji_reactions,list_issue_emoji_reactions,list_issue_note_emoji_reactions,list_issues,my_issues,get_issue,list_todos,list_issue_links,list_issue_discussions,list_issue_label_events,list_issue_state_events,get_issue_link,list_namespaces,get_namespace,verify_namespace,get_project,list_projects,list_project_members,list_group_members,list_labels,get_label,list_group_projects,list_wiki_pages,get_wiki_page,list_group_wiki_pages,get_group_wiki_page,get_repository_tree,list_pipelines,get_pipeline,get_pipeline_test_report,get_pipeline_test_report_summary,list_deployments,get_deployment,list_deployment_merge_requests,list_environments,get_environment,list_pipeline_triggers,get_pipeline_trigger,list_pipeline_jobs,list_pipeline_trigger_jobs,get_pipeline_job,validate_ci_lint,validate_project_ci_lint,list_ci_catalog_resources,get_ci_catalog_resource,list_pipeline_schedules,list_pipeline_schedule_pipelines,wait_for_pipeline,wait_for_job,list_job_artifacts,get_job_artifact_file,list_merge_requests,list_group_merge_requests,list_milestones,get_milestone,get_milestone_issue,get_milestone_merge_requests,get_milestone_burndown_events,list_group_milestones,get_group_milestone,get_group_milestone_issue,get_group_milestone_merge_requests,get_group_milestone_burndown_events,get_users,get_user,whoami,list_commits,get_commit,get_commit_diff,get_file_blame,list_commit_statuses,list_group_iterations,get_group_iteration,list_project_iterations,list_group_iteration_cadences,health_check,list_events,get_project_events,list_releases,get_release,download_release_asset,list_tags,get_tag,get_tag_signature,list_protected_tags,get_protected_tag,list_snippets,get_snippet,get_work_item,list_work_items,list_work_item_statuses,list_custom_field_definitions,list_work_item_notes,list_work_item_emoji_reactions,list_work_item_note_emoji_reactions,get_timeline_events,list_webhook_events,get_webhook_event,search_code,search_project_code,search_group_code,get_dependency_proxy_settings,list_dependency_proxy_blobs,list_project_vulnerabilities,get_vulnerability,orbit_get_schema,orbit_get_status,orbit_list_tools,list_project_runners,get_runner,discover_tools,help -- npx -y @zereight/mcp-gitlab@2.3.31

When the agent should write

Add the server a second time under its own name, such as gitlab-write, with GITLAB_PERMISSION_MODE=modify and a project access token with api and the Developer role, so the rules for mcp__gitlab__ do not cover it and every tool asks. Protect the default branch so that only Maintainers may push and merge there: the agent can then open merge requests but not land them, and not run a pipeline on a protected branch. Do not add api to its toolsets; gitlab_api_request skips the allowlist checks on anything but the path.

See it before you decide.

The playground runs the whole approval loop in your browser, no account needed. When it fits, the free plan covers 100 requests a month.