13 tools. 2 can modify or destroy data without limits.
2 write tools that can modify data. Rate limits recommended.
Last updated:
Write operations (resolve_definition) modify state. Without rate limits, an agent can make hundreds of changes in seconds — faster than any human can review or revert.
Execute tools (build_symbol_index) trigger processes with side effects. Builds, notifications, workflows — all fired without throttling.
Intercept sits between your agent and Ast. 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 @aiready/ast-mcp-server resolve_definition:
rules:
- rate_limit: 30/hour Prevents bulk unintended modifications from agents caught in loops.
check_symbol_grounding:
rules:
- rate_limit: 60/minute Controls API costs and prevents retry loops from exhausting upstream rate limits.
The Ast server has 1 write tools including resolve_definition. 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.
13 tools across 3 categories: Execute, Read, Write. 11 are read-only. 2 can modify, create, or delete data.
One line change. Instead of running the Ast server directly, prefix it with Intercept: intercept -c ast.yaml -- npx -y @@aiready/ast-mcp-server. Download a pre-built policy from policylayer.com/policies/ast 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