Skip to content

ESC not working for /mcp command #14590

Closed

Description

@beholder20

Description

esc key/command is not working when trying to search for installed MCP servers '/mcp'

Plugins

Github MCP, Anthropic LLM, Ollama Local

OpenCode version

1.2.10

Steps to reproduce

  • Open Google Antigravity
  • Start opencode in terminal
  • Type '/mcp' to get the pop-up
  • Try searching for some keywords
  • Click 'esc' key to cancel the pop-up
  • Nothing happens

Screenshot and/or share link

Image

Operating System

ubuntu 22.04

Terminal

Antigravity terminal pane

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Feb 21, 2026
  2. github-actions commented on Feb 21, 2026

    @github-actions
    Contributor

    For keybind-related issues, please also check our pinned keybinds documentation: #4997

  3. weiguangli-io commented on Feb 22, 2026

    @weiguangli-io

    Submitted a fix in #14653. Summary: Esc now closes the /mcp picker while searching, by forwarding Escape through list keyboard dispatch and handling it explicitly in the MCP dialog. Added a focused regression test (packages/app/src/components/list-escape-key.test.tsx) plus app/ui typecheck validation.

  4. beholder20 commented on Feb 24, 2026

    @beholder20
    Author

    Thank you for the fix.

  5. github-actions commented on Apr 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions