Cursor is an AI code editor built on VS Code whose agent edits files, runs terminal commands, and connects to MCP servers. Its run modes range from a command allowlist to an auto-review classifier, which Cursor describes as a best-effort guardrail rather than a hard boundary. A terminal sandbox and enterprise controls sit on top.
Read in this order
- OfficialAgent Security (Cursor Docs)Start here: Cursor's own account of agent risks and the controls it offers.
- OfficialRun Modes (Cursor Docs)What each run mode auto-approves, so you can pick one per risk level.
- OfficialLLM Safety and Controls (Cursor Docs)Organization-level controls an admin can enforce across a team.