Codex Integration
Codex is OpenAI’s CLI for coding with GPT models. AgentLogs provides automatic transcript capture through an MCP server integration.Features
- Automatic capture - Transcripts are uploaded after each agent response
- Background service - Watches sessions and handles uploads automatically
Installation
1. Authentication
Run the following command in the terminal:2. Configure MCP Server
Run the following command to add the AgentLogs MCP server:Manual configuration
Manual configuration
Alternatively, add the following to your Codex config file (
~/.codex/config.toml):How It Works
The MCP server is spawned by Codex and connects to a background service that watches~/.codex/sessions for changes. When an agent response completes, the transcript is uploaded.
The MCP server doesn’t expose any tools or prompts—it exists purely for lifecycle management. The background service shuts down automatically after all Codex sessions close.