CostAffective
Integrations

Codex CLI Integration

Integrate the local indexer with Codex developer models.

Codex CLI Configuration

Codex reads local context mappings to populate agent prompt memories. Adding CostAffective ensures Codex is provided with token-compressed AST files instead of raw directory listings.

Profile Mapping

Add the server to your Codex client configurations at ~/.codex/config.toml:

[mcp.servers.costaffective]
command = "/home/user/.local/bin/costaffective"
args = ["serve"]