You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add MCP codex-reply Support for Resuming Conversations from Rollout Files #6168
I’d like to resume an existing Codex conversation via the MCP interface the same way the CLI already allows with codex resume <sessionId>.
Today the codex-reply MCP tool only succeeds if the conversation is still resident in the server’s in-memory ConversationManager. If the CLI has exited
—or if I start a fresh npx codex mcp-server—that map is empty, so codex-reply immediately returns:
Session not found for conversation_id:
The rollout JSONL file is present on disk (e.g. ~/.codex/sessions/2025/11/03/rollout-...-019a4af1-f34f-7380-9133-6d1479737864.jsonl), and the CLI is able to hydrate it with codex resume 019a4af1-f34f-7380-9133-6d1479737864. The MCP server never exposes that resume path, so there’s no way for external integrations to continue a halted session.
Additional information
No response
Reacted by Jisoo Park, Clayton Smith, suseek, Wesley Wang, Dyke Ferber, Patrick Nercessian, Roman Fitzjalen, weishu, Alec Gorge and 王選仲
Activity
github-actions commentedon Nov 3, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
ClaytonSmith commentedon Nov 5, 2025
+1 to this.
rabsef-bicrym commentedon Jan 28, 2026
/pull/10117 was built to implement this. I did it by path but it works.
etraut-openai commentedon Mar 20, 2026
We are not planning to invest further in the Codex MCP server.