14 tools. 7 can modify or destroy data without limits.
1 destructive tool with no built-in limits. Policy required.
Last updated:
Destructive tools (git_reset) permanently delete resources. There is no undo. An agent calling these in a retry loop causes irreversible damage.
Write operations (git_add, git_checkout, git_clone) 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 Git. 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 @modelcontextprotocol/server-git git_reset:
rules:
- action: deny Destructive tools should never be available to autonomous agents without human approval.
git_add:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
git_branch:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
Yes. The Git server exposes 1 destructive tools including git_reset. These permanently remove resources with no undo. Intercept blocks destructive tools by default so they never reach the upstream server.
The Git server has 6 write tools including git_add, git_checkout, git_clone. 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.
14 tools across 3 categories: Destructive, Read, Write. 7 are read-only. 7 can modify, create, or delete data.
One line change. Instead of running the Git server directly, prefix it with Intercept: intercept -c git.yaml -- npx -y @@modelcontextprotocol/server-git. Download a pre-built policy from policylayer.com/policies/git 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