Unclear What setting CLAUDE_CODE_KEEP_AGENT_MEMORY does is not stated.
Auto memory is the feature that lets Claude Code save and reload notes about your work between conversations. When auto memory is turned off, Claude Code now also refuses to start the memory server it would otherwise use when running in Anthropic-hosted containers. A container here means a separate, self-contained environment where Claude Code runs on Anthropic's machines. Claude Code reports that server as switched off by settings. An MCP server is an outside program that gives Claude Code extra tools.
Any of these turns it off:
autoMemoryEnabledset to false in your settingsCLAUDE_CODE_DISABLE_AUTO_MEMORYset- either of the above set at any administrator level, such as managed settings
This build also recognises a new environment variable, CLAUDE_CODE_KEEP_AGENT_MEMORY.
Organisation administrators can now switch off the hosted memory server with the same settings they already use to turn off auto memory, so one setting covers both.
What setting `CLAUDE_CODE_KEEP_AGENT_MEMORY` does is not stated.