memaxdocs
Integrations

Codex

Connect OpenAI Codex to Memax via MCP.

OpenAI Codex supports MCP servers for tool integration.

Setup

Configure MCP

Add Memax to your Codex MCP configuration:

{
  "mcpServers": {
    "memax": {
      "command": "npx",
      "args": ["-y", "memax-cli", "mcp", "serve"]
    }
  }
}

Authenticate

memax login

Verify

Start a Codex session and ask about available tools. Codex should have access to memax_recall, memax_push, and other Memax tools.

Usage

Codex can use Memax to:

  • Pull relevant context before generating code
  • Store important decisions or patterns discovered during sessions
  • Search your knowledge base for conventions and guidelines

CLI piping

For environments where MCP isn't configured:

CONTEXT=$(memax recall "deployment checklist")
# Include in your Codex prompt