Connecting Codex CLI
Status: ✅ Current · Last reviewed: 2026-06-18
OpenAI's Codex CLI is MCP-only — it connects to the Memeri gateway over HTTP. (For local file + terminal telemetry, run Codex inside the platform Terminal, or use Claude Code.)
Step 1 — Add Memeri as an MCP server
In Codex's MCP config:
{
"mcpServers": {
"memeri": {
"type": "streamable-http",
"url": "{{GATEWAY_URL}}/mcp",
"auth": { "type": "bearer", "token": "<paste your token>" }
}
}
}
Codex's exact config-file path varies by version — check Codex's own docs for the location. Your token is on the Connect page.
Step 2 — Restart and verify
Restart Codex and make any tool call. The Telemetry Health panel on the Connect page should show MCP = Live.