Overview
Codex CLI is OpenAI's coding assistant. Nowledge Mem connects via MCP (Level 1) and custom commands (Level 2).
Setup
Level 1 — MCP Config:
Add to ~/.codex/config.toml:
[mcp_servers.nowledge-mem]
url = "http://localhost:14242/mcp"
[mcp_servers.nowledge-mem.http_headers]
APP = "Codex"
Level 2 — Custom Commands:
curl -fsSL https://raw.githubusercontent.com/nowledge-co/community/main/nowledge-mem-codex-prompts/install.sh | bash
Usage
/save→ Save session to Mem/distill→ Extract insights into memories