Skip to content

Allow ESC to close the /MCP popup in Codex Desktop #19633

@zzgosh

Description

@zzgosh

What variant of Codex are you using?

App

What feature would you like to see?

Description

In Codex Desktop, when I use /MCP to view the configured MCP servers, a secondary menu/popup is displayed with the MCP server list and status information.

I want to exit this UI and return to the normal input/task flow. Currently, the only way to close this UI appears to be clicking the Close button in the top-right corner. Pressing the ESC key does not close the popup/menu.

This feels inconsistent with common desktop UI behavior, where ESC is typically expected to dismiss temporary popups, modal-like panels, dropdowns, or secondary menus.

Environment

  • Codex Desktop version: 26.422.30944 (2080)
  • OS: macOS 15.7.4 (24G517)
  • Chip: Apple M1 Pro

Steps to reproduce

  1. Open Codex Desktop.
  2. Use the /MCP command to view MCP server status.
  3. The MCP server list appears in a secondary popup/menu.
  4. Press the ESC key.

Actual behavior

Pressing ESC does not close the MCP popup/menu.

The user must manually click the Close button in the top-right corner to dismiss it.

Expected behavior

Pressing ESC should close/dismiss the MCP popup/menu and return focus to the main input area.

Why this matters

This would improve keyboard navigation and make the UI feel more consistent with standard desktop interaction patterns. It is especially useful when quickly checking MCP server status and returning to the main task without leaving the keyboard.

Screenshot

Image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    appIssues related to the Codex desktop appenhancementNew feature or requestmcpIssues related to the use of model context protocol (MCP) servers

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions