Codex marketplace plugin that combines native lifecycle hooks with the
@everme/memory-mcp MCP server for persistent cross-session memory.
- MCP resources —
mem://profileandmem://search?q={query}exposed by theevermeMCP server in~/.codex/config.toml::mcp_servers.everme. Codex bridges MCP Resources to the model, so reads work end-to-end. - Skill —
everme-memory, tells Codex when to read those resources so recall happens without explicit prompting. - Native hooks — SessionStart loads the profile, UserPromptSubmit recalls relevant memory, Stop saves the latest turn, and PreCompact flushes pending extraction. Hook failures are non-blocking and redact credentials.
evercli plugin install codexThat single command:
- Checks that a Node runtime (>= 18) is resolvable on
PATH— the Hook runner needs it — and stops with that requirement spelled out when it is missing, before registering anything or minting a token. - Finds either the standalone
codexCLI or the binary bundled with the macOS ChatGPT/Codex desktop app, then registers this marketplace viacodex plugin marketplace add EverMind-AI/EverMe. Codex's own CLI writes[marketplaces.everme]into~/.codex/config.toml(carrying itssource_type/source/last_updatedfields) — evercli does NOT overwrite this section. - Runs
codex plugin add everme@everme --jsonand verifies the returned plugin cache containshooks/hooks.jsonand the bundledbin/hook.mjs. - Calls EverMe's
POST /agentsto mint a freshagent_id+evt_*token bound to your machine andplatform=codex. - Upserts the
[plugins."everme@everme"]and[mcp_servers.everme.*]sections of~/.codex/config.tomlwith the freshly-minted credentials. Unrelated sections are preserved verbatim. - Writes the same hook credentials to
~/.codex/everme.envwith mode0600.
Start a new Codex session after installation, open /hooks, and review and
trust the EverMe hook commands. A changed hook command requires trust again.
The marketplace ships a self-contained Hook runner, so execution never installs
a package or downloads @everme/codex through npx; it only needs a Node
runtime (>= 18) resolvable on the session PATH. Codex runs a hook command
through a shell with the session working directory as its cwd, so the commands
in hooks/hooks.json locate the runner through the PLUGIN_ROOT /
CLAUDE_PLUGIN_ROOT variables Codex exports rather than through a cwd-relative
path.
Re-running the command rotates the token via the server-side upsert on
(account_id, platform, machine_fingerprint) and rewrites the config in
place — no manual cleanup, no register command, no copy-paste.
Codex App and Codex CLI both read ~/.codex/config.toml, so V1 ships a
single platform=codex (no codex-cli / codex-desktop split). One
install command, one cloud agent, one MCP config, and one protected hook env
file. Plugins continue to call the stable /api/v1/mem/* BFF contract; cloud
memory implementation selection stays server-side.
Apache-2.0.