Skip to content

Codex Setup

Terminal window
engram setup codex

The setup writes three things:

  • MCP server config in ~/.codex/config.toml
  • model instructions with the Memory Protocol
  • a compaction prompt file so memory-save instructions survive summarization

Use an mcp_servers.engram block in your Codex config and point Codex to the Engram instruction files if you manage config yourself.

Codex can use MCP without extra ceremony, but the protocol and compact prompt are what keep continuity strong between sessions.