{"version":"2.1.336","anchor":"auto-memory-can-be-disabled-by-admin-settings-or-env-and-re","canonical_anchor":"auto-memory-can-be-disabled-by-admin-settings-or-env-and-re","heading":"Turning off auto memory now also turns off the hosted memory server","tier":"notice","area":"Memory","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336\/e\/auto-memory-can-be-disabled-by-admin-settings-or-env-and-re","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.336","markdown":"### Turning off auto memory now also turns off the hosted memory server\n\nIf auto memory is turned off in your settings or by an administrator, Claude Code now also refuses the memory server used in Anthropic-hosted environments\n\n**Unclear.** What setting `CLAUDE_CODE_KEEP_AGENT_MEMORY` does is not stated.\n\n**What**\n\nAuto 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.\n\nAny of these turns it off:\n\n- `autoMemoryEnabled` set to false in your settings\n\n- `CLAUDE_CODE_DISABLE_AUTO_MEMORY` set\n\n- either of the above set at any administrator level, such as managed settings\n\nThis build also recognises a new environment variable, `CLAUDE_CODE_KEEP_AGENT_MEMORY`.\n\n**Why**\n\nOrganisation 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.\n\n- Area: Memory\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}