Codex
Connect Codex to axs mem with hooks and MCP.
Install
In the dashboard open Connect a tool and pick Codex. Run the line it shows (macOS and Linux) and approve the
device in the browser it opens (or open the link it prints):
curl -fsSL https://raw.githubusercontent.com/axs-sh/claude/main/install.sh | sh -s -- codex https://mem.axs.shFor a script, set MASTERMEM_TOKEN to a device token from the dashboard instead.
Then start Codex, type /hooks and trust the axs mem hooks.
The installer downloads the small helper axs-mem, adds the hooks to ~/.codex/hooks.json and the MCP
server to ~/.codex/config.toml (or $CODEX_HOME), with a backup of each file it changes. The token goes into a
file only you can read (~/.config/axs-mem/codex.json), never into the Codex config.
Uninstall
~/.config/axs-mem/bin/axs-mem uninstall codexOn macOS the helper is in ~/Library/Application Support/axs-mem/bin/. Then sign the device out in the dashboard
under Team settings, Devices.