If you need to remove Memory Crystal, use the universal uninstall script instead of editing config files by hand. Default behavior is intentionally conservative:Documentation Index
Fetch the complete documentation index at: https://docs.memorycrystal.ai/llms.txt
Use this file to discover all available pages before exploring further.
- remove the Memory Crystal integration wiring for supported clients
- preserve unrelated hooks and MCP entries
- stop the local Docker backend when installed, preserving Docker volumes
- keep shared
~/.memory-crystaland~/.memorycrystalsupport files unless you explicitly pass--purge
Universal uninstall
Use this when Memory Crystal was installed with the universal installer.- removes the
crystal-memoryplugin wiring fromopenclaw.json - clears the internal hook command mapping
- resets the OpenClaw memory slot back to
memory-core - removes the
crystal-memoryplugin andmemory_crystalMCP wiring from Hermes Agent config when selected - removes the
memory-crystalMCP server from Claude/Codex/Factory Droid configs when present - removes the universal generic MCP snippet at
~/.memorycrystal/mcp-config.json - stops the local Docker Convex backend when installed; volumes are preserved unless
--wipe-local-backendis passed - restarts the OpenClaw gateway when the CLI is available
openclaw, hermes, claude-code, claude-desktop, codex-cli, factory-droid, generic-mcp, and local-backend.
Hermes Agent
Use this when you installed Memory Crystal for Hermes Agent.- removes
crystal-memoryfrom~/.hermes/config.yaml - removes the
mcp_servers.memory_crystalblock - removes Memory Crystal Hermes env keys from
~/.hermes/.env - preserves unrelated Hermes plugins, MCP servers, and env keys
Legacy single-client scripts
The single-client uninstall scripts remain available for focused cleanup.Claude Code
Use this when you installed the Memory Crystal MCP integration for Claude Code.- removes the
memory-crystalMCP server from Claude config - removes Memory Crystal hook entries from
~/.claude/settings.json - preserves any unrelated Claude hooks
Codex CLI
Use this when you installed the Memory Crystal MCP integration for Codex CLI.- removes the
memory-crystalMCP block from~/.codex/config.toml - removes Memory Crystal hook entries from
~/.codex/hooks.json - preserves unrelated Codex hooks and feature settings
Factory Droid
Use this when you installed the Memory Crystal MCP integration for Factory Droid.- removes the
memory-crystalMCP server from Factory Droid - removes Memory Crystal hook entries from
~/.factory/settings.json - preserves unrelated Factory Droid hooks
When to use --purge
Use --purge only when you want to remove the local Memory Crystal helper files from ~/.memory-crystal and ~/.memorycrystal on that machine.
Do not use --purge if:
- another supported client on the same machine still uses Memory Crystal
- you want to keep the local helper files for a later reinstall