What it is
Controls whether Claude Code asks the server to [review auto mode actions](/docs/en/permission-modes#server-side-classifier-review). When unset, Claude Code asks the server on Amazon Bedrock, Google Cloud's Agent Platform, Microsoft Foundry, and Claude Platform on AWS, and when you point ANTHROPIC_BASE_URL at an LLM gateway or proxy. Set to 0 to use Claude Code's own classifier requests instead. Not read on a direct connection to the Anthropic API. Requires Claude Code v2.1.271 or later; asking the server by default requires v2.1.278 or later
Anthropic's own wording. Read off Environment variables, captured 2026-09-22.
Presence across releases
1Build by build
8One row per release since the first build this name was read out of. Absent means the build was read and the name was not in it, never mined means no bundle for that release was ever archived, and a declared type or a default is only ever what that release's own bundle stated.
First cited
1The earliest release whose published evidence quoted CLAUDE_CODE_AUTO_MODE_SERVER was v2.1.278, 19 Sep 2026. That is the oldest release this project wrote about it, so it is a floor on the name's age and not the release that introduced it. It is not a presence reading: which builds carried the name is the table above.
Names beside it
Every environment variable in the inventory starting claude_code_auto_mode, up to twelve of them.
CLAUDE_CODE_AUTO_MODE_ARTIFACT_CONSENT_RULEThe rule stopping Claude publishing artifacts you didn't ask for can now be removed remotely. never mined
CLAUDE_CODE_AUTO_MODE_CLASSIFY_ASK_USER_QUESTIONIn auto mode, a question can be classified and handled instead of halting the run. never mined
CLAUDE_CODE_AUTO_MODE_EXTERNAL_PERMISSIONSNo description from anybody. v2.1.160
CLAUDE_CODE_AUTO_MODE_MODELNo description from anybody. v2.1.160
CLAUDE_CODE_AUTO_MODE_OUTCOME_CODESThe switch controlling outcome codes in auto mode now runs through a wrapper with an empty branch. never mined
CLAUDE_CODE_AUTO_MODE_REPO_VISIBILITYAuto mode's awareness of whether your repo is public now has its own environment variable and config field. never mined
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.