You can now let your agent run longer with fewer interruptions!
Auto-review is a new run mode that lets Cursor work for longer with fewer approval prompts, while keeping execution safe. It applies to Shell, MCP, and Fetch tool calls.
Every call goes through three checks in order:
Allowlist: if the call matches your terminal or MCP allowlist, it runs immediately.
Sandbox: if the call can run sandboxed, it runs there with network and filesystem restrictions. Available on macOS, Linux, and Windows (via WSL2); other platforms skip to the classifier.
Classifier: anything else goes to an LLM classifier, along with your current request and your custom instructions. It decides whether to allow the call, try a different approach, or surface a standard approval prompt.
The classifier adds no extra cost on top of your existing agent usage.
One thing to keep in mind: the classifier is non-deterministic and can make mistakes in both directions, so treat Auto-review as best-effort convenience, not a security boundary. For strict control, stick with Allowlist and approve calls yourself.
Set your run mode in Settings > Cursor Settings > Agents > Run Mode, and steer the classifier with custom instructions! More information in our docs.
Nice, however it would be better if I could add a specific instruction to the classifier: e.g. “Do not run any npx commands, allow all read only commands, disallow any commands that would modify files outside of the project directory”.
You can do that with a .cursor/permissions.json file in your repo!
{
"autoRun": {
"allow_instructions": [
"Allow read-only shell commands that inspect files, directories, git state, logs, process status, or command output without modifying files or external state.",
"Allow read-only MCP, WebFetch, and WebSearch calls that retrieve or inspect data without creating, updating, deleting, posting, triggering, or deploying anything."
],
"block_instructions": [
"Block all npx commands, regardless of arguments or apparent intent.",
"Block commands that create, edit, move, delete, chmod, chown, format, install, generate, or otherwise modify files outside the current project directory."
]
}
}
I would like to have Auto-Review (without sandbox) option. To me, sandbox never properly works, just confuses the model, and I don’t even understand the value proposition of it.
Allowlist + Classifier (with instructions) should be good enough. No need for sandbox at all.