Policy Engine
Control what agents can do with path-based ACLs, file size limits, rate caps, and extension rules. Available on Pro plans and above.⚠️ Plan gate: policy write/validate actions require Pro or above. On Free, these calls fail with a tier-limit response that includes an upgrade hint.Replace mode — set the entire policy at once:
pathAcls, sizeLimits, rateLimits, extensionRules, secretScanning, add, remove) are optional — include only what you need.
Permission denials return explanatory errors: the agent is told which policy blocked the action and why.
ACL default behavior: When nopathAclsrules exist, all paths are accessible (default-allow). Once any ACL rule is added, behavior switches to default-deny: paths not matched by any rule are blocked. Agent-scoped rules (withagentId) take priority over global rules. Among matching rules, more specific patterns (longer glob) win. Permissions:"read"allows reads/lists/searches only,"read-write"allows all operations,"none"blocks everything. Path convention: MCP tools use paths without a leading slash (e.g.,docs/readme.md). Both file paths and ACL patterns are normalized —production/**and/production/**are equivalent. The web file browser uses URL paths with a leading slash; this is handled automatically.