Skip to content

: MCP tool enable to resume conversations from persistence #5066

Closed as not planned

Description

@albireo3754

What feature would you like to see?

Add persistent session recovery to the codex-reply MCP tool by implementing resume_conversation_from_rollout(session_id), similar to the existing app-server implementation.

Current Behavior(AS-IS)
The codex-reply tool currently only calls conversation_manager::get_conversation(conversation_id) and returns a "not found" error if the conversation doesn't exist in memory. This makes the MCP server stateful and fragile.

Desired Behavior(TO-BE)
When a conversation is not found in memory, the tool should attempt to restore it using conversation_manager::resume_conversation_from_rollout(session_id), following the same pattern already implemented in the app-server.

Additional information

Since the app-server already has resume_conversation_from_rollout implemented, this feature would bring the MCP tool to feature parity. It's completely natural for MCP server processes to terminate when the MCP host (like VS Code or Claude Desktop) shuts down - this shouldn't result in lost conversation state. Users expect to resume their work seamlessly when they restart their development environment.

Activity

  1. added
    enhancement
    on Oct 10, 2025
  2. added
    mcp
    on Oct 10, 2025
  3. changed the title [-]feat: MCP tool enable to resume conversations from persistence[/-] [+]: MCP tool enable to resume conversations from persistence[/+] on Nov 15, 2025
  4. removed
    mcp
    on Nov 15, 2025
  5. added
    mcp-server
    on Mar 20, 2026
  6. etraut-openai commented on Mar 20, 2026

    @etraut-openai
    Contributor

    We are not planning to invest more in the mcp server. Please switch to using the app server instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementmcp-server

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions