22 tools. 15 can modify or destroy data without limits.
6 destructive tools with no built-in limits. Policy required.
Last updated:
Destructive tools (delete_ci_variable, delete_group, delete_pipeline_trigger) permanently delete resources. There is no undo. An agent calling these in a retry loop causes irreversible damage.
Write operations (create_ci_variable, create_group, create_pipeline_trigger) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Intercept sits between your agent and GitLab Operations. Every tool call checked against your policy before it executes — so your agent can do its job without breaking things.
npx -y @policylayer/intercept scan -- npx -y @jarecsni/gitlab-ops-mcp delete_ci_variable:
rules:
- action: deny Destructive tools should never be available to autonomous agents without human approval.
create_ci_variable:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
list_ci_variables:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
Yes. The GitLab Operations server exposes 6 destructive tools including delete_ci_variable, delete_group, delete_pipeline_trigger. These permanently remove resources with no undo. Intercept blocks destructive tools by default so they never reach the upstream server.
The GitLab Operations server has 9 write tools including create_ci_variable, create_group, create_pipeline_trigger. Set rate limits in your policy file -- for example, rate_limit: 10/hour prevents an agent from making more than 10 modifications per hour. Intercept enforces this at the transport layer.
22 tools across 3 categories: Destructive, Read, Write. 7 are read-only. 15 can modify, create, or delete data.
One line change. Instead of running the GitLab Operations server directly, prefix it with Intercept: intercept -c jarecsni-gitlab-ops-mcp.yaml -- npx -y @jarecsni/gitlab-ops-mcp. Download a pre-built policy from policylayer.com/policies/jarecsni-gitlab-ops-mcp and adjust the limits to match your use case.
Starter policies available for each. Same risk classification, same one-command setup.
Set budgets, approvals, and hard limits across MCP servers.
npx -y @policylayer/intercept init