Cursor Auto-review blocked your command. Unblock it without Run Everything
When Cursor Agent’s Auto-review mode blocks a shell, MCP, or Fetch call, first decide whether the block was a sandbox limit or the classifier. Prefer allowlisting the trusted action or clarifying permissions.json—Run Everything removes every prompt and is the last resort. Short answer: 5 steps. 1) Confirm you are on Auto-review; 2) Separate sandbox failures from classifier blocks; 3) Allowlist the trusted command, or switch to Allowlist mode; 4) Teach Auto-review with permissions.json; 5) Approve once or use Run Everything only when you accept the risk.
Last updated: · This page is the decision checklist; the tools list for “Fix Cursor Auto-review blocking a command” is a separate URL.
How do I fix this: Cursor Auto-review blocked your command?
Confirm you are on Auto-review
In the desktop app open Settings > Agents > Approvals & Execution. Auto-review (the default in recent Cursor versions) runs allowlisted calls immediately, sandboxes other shell commands when it can, and sends remaining shell, MCP, and Fetch calls to a classifier. Docs: https://cursor.com/docs/agent/security/run-modes
Separate sandbox failures from classifier blocks
If the command failed because the sandbox blocked network, writes outside the workspace, or another restriction, Agent can rerun it outside the sandbox—and that rerun still goes through the classifier. Network-only sandbox issues are covered in Cursor’s sandbox docs; fix network/sandbox.json when that is the real limit, not Run Mode. Terminal tool: https://cursor.com/docs/agent/tools/terminal
Allowlist the trusted command, or switch to Allowlist mode
For repeat safe actions (tests, builds, formatters), add them to your allowlist so they run without the classifier. Allowlist mode only auto-runs allowlisted actions (sandboxed shell commands can still run when sandboxing is on). Keep destructive commands off the list. Help: https://cursor.com/help/ai-features/terminal
Teach Auto-review with permissions.json
If you always want manual review for a class of actions (for example every AWS CLI call), put plain-English guidance in ~/.cursor/permissions.json or the project’s .cursor/permissions.json. Cursor merges both when present. You can ask Agent to edit the file for you. Run Modes docs explain the merge and that the classifier is not a hard security boundary.
Approve once or use Run Everything only when you accept the risk
When the classifier blocks a call, Cursor may try another approach; if Agent still needs the action, approve that single prompt. Use Run Everything only when you deliberately want zero prompts and no sandbox—Cursor documents that mode as accepting the risk. Prefer Auto-review plus a tight allowlist for day-to-day work.
Which tools are best to fix Cursor Auto-review blocking a command?
Run Modes
Auto-review vs Allowlist vs Run Everything, sandbox reruns, and permissions.json.
Terminal integration help
How Agent runs terminal commands under each Run Mode.
Terminal tool
Sandbox behavior and when commands leave the sandbox.
CLI configuration
approvalMode and permissions.allow / permissions.deny for Cursor CLI.
Open: 1 spot per week
One labeled sponsor for this topic each week; this week's spot is open. See open weeks →
All tools for “Fix Cursor Auto-review blocking a command” →
Related fixes
- Stop a Cursor agent loopHow to fix a Cursor agent loop (same edit, or work after Stop)Fix →
- Claude Code vs Codex vs Cursor ~$20 plansClaude Code vs Codex vs Cursor $20 plan limits: how to pick without burning the weekFix →
- Scan a vibe-coded app for leaked API keysCheck a vibe-coded app for leaked API keys before you share itFix →
- Add an MCP server to Claude Code, Cursor, or CodexHow to add an MCP server to Claude Code, Cursor, or CodexFix →
See also AI tools launched today on the daily board.
NewAIToolsToday Daily
Top 3 AI launches, one model or news item that matters, and one simple fix. A 5-minute read, every weekday.