/mcp dialog unresponsive after completing OAuth authentication in browser — unable to press Enter to continue

Resolved 💬 3 comments Opened Apr 14, 2026 by anirudh-gomotive Closed Apr 18, 2026

Description

After initiating an OAuth flow (e.g., Slack) via the /mcp dialog, completing authentication in the browser, and returning to the CLI, the dialog becomes unresponsive. Pressing Enter has no effect, making it impossible to proceed.

Steps to reproduce

  1. Run /mcp in Claude Code CLI
  2. Select a connector that uses OAuth (e.g., "claude.ai Slack")
  3. Browser opens — complete the OAuth authentication successfully
  4. Return to the CLI terminal

Expected behavior

The dialog should detect the completed OAuth and allow the user to press Enter to continue, returning to the normal prompt.

Actual behavior

The dialog is stuck. Enter key does nothing. Pressing Escape navigates back to the "authenticate" menu instead of dismissing the dialog. The only way to exit is Ctrl+C or restarting Claude Code.

Environment

  • OS: Ubuntu 22.04.5 LTS
  • Kernel: 6.8.0-107-generic
  • Claude Code version: 2.1.107

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗