{"$schema":"https://json-schema.org/draft/2019-09/schema","description":"Defines Cursor permissions and Auto-Run configuration for user and project permissions files","allowComments":true,"allowTrailingCommas":true,"type":"object","properties":{"mcpAllowlist":{"type":"array","description":"MCP tools that can run automatically. Entries use `server:tool`, `server:*`, `*:tool`, or `*:*`.","items":{"type":"string","minLength":1,"pattern":"^[^:*]+:[^:*]+$|^[^:*]+:\\*$|^\\*:[^:*]+$|^\\*:\\*$"}},"terminalAllowlist":{"type":"array","description":"Terminal command patterns that can run automatically.","items":{"type":"string","minLength":1}},"approvalMode":{"type":"string","description":"Controls how Cursor approves tool calls. `manual` maps to Ask Every Time.","enum":["allowlist","unrestricted","manual"]},"autoRun":{"type":"object","description":"Instructions for Auto-review Auto-Run decisions.","properties":{"allow_instructions":{"type":"array","description":"Instructions that tell Auto-review which operations are safe to run automatically.","items":{"type":"string","minLength":1}},"block_instructions":{"type":"array","description":"Instructions that tell Auto-review which operations must be blocked or require approval.","items":{"type":"string","minLength":1}}},"unevaluatedProperties":false},"autoReview":{"type":"object","description":"Instructions for Auto-review Auto-Run decisions.","properties":{"allow_instructions":{"type":"array","description":"Instructions that tell Auto-review which operations are safe to run automatically.","items":{"type":"string","minLength":1}},"block_instructions":{"type":"array","description":"Instructions that tell Auto-review which operations must be blocked or require approval.","items":{"type":"string","minLength":1}}},"unevaluatedProperties":false}},"unevaluatedProperties":false}