claude-code - ๐Ÿ’ก(How to fix) Fix [BUG]: /mcp modal becomes unresponsive to all keys (arrows, Enter, Esc, Ctrl-C) โ€” regression in 2.1.118/2.1.119 [1 comments, 2 participants]

Official PRs (โ€ฆ)
ON THIS PAGE

Recommended Tools

ร—6

Utilities matched from this issueโ€™s tags and category โ€” try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful ยท Quick feedback

Loadingโ€ฆ
GitHub stats
anthropics/claude-code#53754โ€ขFetched 2026-04-28 06:48:05
View on GitHub
Comments
1
Participants
2
Timeline
8
Reactions
2
Timeline (top)
labeled ร—6commented ร—1cross-referenced ร—1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

After upgrading to Claude Code 2.1.119 (also reproduces on 2.1.118), opening the /mcp slash command panel results in a fully frozen modal: arrow keys, Enter, and Esc are dropped, and the modal cannot even be killed with Ctrl-C or Ctrl-. The keys are reaching the process correctly (verified โ€” see below), so this appears to be a UI input-handling regression rather than a terminal issue.

Downgrading to 2.1.117 fully fixes it.

Possibly related to #42707 (Ink input hook race in MCP OAuth flow), but more severe โ€” in #42707 keys are still partially responsive and Ctrl-C still kills the modal. Here, signal handling itself is broken from inside the modal.

What Should Happen?

/mcp modal should respond to navigation keys and Esc/Ctrl-C should dismiss it, as it does in 2.1.117 and earlier.

Error Messages/Logs

Steps to Reproduce

  1. Run claude (v2.1.118 or v2.1.119, native installer on macOS)
  2. Type /mcp โ†’ modal opens
  3. Press any of: โ†‘ โ†“ โ† โ†’ Enter Esc โ€” nothing happens
  4. Press Ctrl-C โ€” also nothing; modal cannot be dismissed
  5. Only way out: kill the terminal session / SIGKILL from another shell

Claude Model

Not sure / Multiple models

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.117

Claude Code Version

2.1.119 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

Environment

  • Claude Code versions tested:
    • 2.1.117 โ€” works correctly
    • 2.1.118 โ€” broken
    • 2.1.119 โ€” broken
  • OS: macOS Darwin 25.3.0
  • Shell: zsh
  • Terminal: iTerm2 (also reproduces in tmux and outside tmux)
  • Install method: native installer (~/.local/share/claude/versions/)
  • TERM: xterm-256color

Terminal verified healthy

Ran cat -v and confirmed all relevant keys produce correct escape codes:

  • โ†‘ โ†’ ^[[A
  • โ†“ โ†’ ^[[B
  • Esc โ†’ ^[

So keys are reaching the process โ€” this is not a terminfo / Option-as-Esc issue.

extent analysis

TL;DR

Downgrade to Claude Code version 2.1.117 to resolve the issue with the /mcp modal being unresponsive to keyboard input.

Guidance

  • The problem seems to be a regression introduced in version 2.1.118, so downgrading to 2.1.117 is a viable workaround.
  • Verify that the issue is resolved by checking if the /mcp modal responds to navigation keys and can be dismissed with Esc or Ctrl-C after downgrading.
  • If downgrading is not feasible, consider reporting the issue with more details about the environment and setup to help the developers identify the root cause.
  • Test the issue in different terminals and shells to rule out any environment-specific problems.

Example

No code snippet is provided as the issue seems to be related to a specific version of Claude Code.

Notes

The issue might be related to #42707, but it's more severe and affects signal handling. The problem is not related to terminal settings or keyboard input, as verified by the cat -v test.

Recommendation

Apply workaround: Downgrade to version 2.1.117, as it is the last known working version and resolves the issue with the /mcp modal.

Vote matrix ยท Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loadingโ€ฆ

Still need to ship something?

ร—6

Another batch ranked right after the header list โ€” different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - ๐Ÿ’ก(How to fix) Fix [BUG]: /mcp modal becomes unresponsive to all keys (arrows, Enter, Esc, Ctrl-C) โ€” regression in 2.1.118/2.1.119 [1 comments, 2 participants]