Codex Persistent
Proxies Codex CLI sessions as an MCP server, providing real persistence for AI agent interactions and allowing users to resume conversations.
This tool acts as a lightweight MCP server, enabling other AI agents and applications to interact with Codex CLI sessions in a persistent manner. It ensures that conversations initiated via MCP calls are not lost upon server restarts and can be seamlessly continued by users using `codex resume`. By delegating session management to the robust `codex-cli` session store, it provides a stable and continuous context for AI interactions, enhancing developer workflows and collaborative agent systems.
Key Features
01Provides session persistence for MCP calls via `codex resume`
02Preserves conversation context across server restarts
03Exposes `codex_chat`, `codex_plan`, and `codex_review` tools
04Supports per-request overrides for AI model and reasoning effort
05Automatically attributes AI vs. human input for clear context
061 GitHub stars
Use Cases
01Integrating Codex CLI with other AI agents that require session persistence
02Implementing a two-agent guardrail system for planning and code reviews
03Enabling seamless continuation of agent-initiated conversations by human users