Egor Urvanov

Permissions

MCP and safety · AI agent permissions, permission modes, least privilege

AI agent permissions define what the agent may do in your environment and connected systems: only read or write as well, and which commands to run. The principle of least privilege applies: the agent gets exactly the rights the task needs, raised step by step.

readwrite a draftwritedeleteagentgranted now ← | → lateropened once the agent has coped● model, people, systems, data  ● agent and harness  ● risk, stop, boundaryPermissions are a ladder: the lower steps are granted, the next open once the agent has coped

Permissions in agents

  • Steps · first read only, then writes to a test environment; writes to a live system go only through a person.
  • Claude Code: rules · settings say what to allow, what to ask about and what to deny. A deny rule beats any mode.
  • Claude Code: modes · by default it asks before edits and commands; acceptEdits accepts edits itself; plan only reads and plans; auto decides what is safe; bypassPermissions, the same as the --dangerously-skip-permissions flag, asks nothing and suits only a sandbox.
  • Codex: modes · read only; workspace mode, with edits and commands inside the project folder without asking and everything else with approval; full access, with no sandbox and no approvals.

Source: Claude Code permissions docs

Where it appears · 12

More 7

Related terms

Whole glossary

© 2026 Egor Urvanov