Codex
Give OpenAI's Codex a memory it keeps between sessions.
Install
- Open ~/.codex/config.toml - create the file if it isn't there yet.
- Add the block below, replacing the placeholder with your own memory link. Keep the /m/ link exactly as it is: no .md on the end - that suffix returns these instructions instead of the memory server.
- Restart Codex. Ask it "what MCP tools do you have?" - it should list store_memory and recall_memory.
Codex is configured in TOML, not JSON. Add this block to ~/.codex/config.toml (or .codex/config.toml inside a project, to scope the memory to that project).
[mcp_servers.recall-select]
url = "https://recall.select/m/YOUR-MEMORY-KEY"
Your memory link is the whole credential - anyone who has it can read and write your memory. Keep it secret.
Using it
Codex can now remember across sessions: it saves what you tell it to keep and finds it later by meaning, so a new session starts already knowing your preferences and decisions instead of asking again.
Tips
- No API key or token is needed. Your memory link already carries the credential, which is why there is no bearer_token_env_var line here.
- If your Codex build has the MCP subcommand, "codex mcp add recall-select --url <your-link>" writes the same block for you.
- The link is the whole password. A project-scoped .codex/config.toml belongs in .gitignore.