MCP OAuth dialog stuck: 'Hit Enter to continue' doesn't accept Enter key

Resolved 💬 6 comments Opened Apr 9, 2026 by shinytoyrobots Closed May 9, 2026

Description

When authenticating a remote MCP server (e.g. claude.ai Notion) via the /mcp dialog, the OAuth flow completes successfully in the browser, but the CLI modal showing "Hit Enter to continue" does not respond to the Enter key. The only option is to press Esc, which cancels the flow and discards the auth token.

Steps to reproduce

  1. Open Claude Code CLI
  2. Run /mcp and select a remote MCP server that requires OAuth (e.g. claude.ai Notion)
  3. The browser opens and the OAuth flow completes successfully (Notion shows "Return to your AI tool to continue")
  4. Return to the CLI — the modal says "Hit Enter to continue"
  5. Press Enter — nothing happens
  6. Only Esc works, which cancels the authentication

Expected behavior

Pressing Enter in the "Hit Enter to continue" modal should dismiss the dialog and complete the authentication, making the server's tools available.

Actual behavior

Enter key input is not recognized in the modal. The user is forced to Esc out, which discards the OAuth token. The MCP server remains unauthenticated.

Environment

  • Claude Code CLI (macOS, Darwin 25.3.0)
  • Shell: zsh
  • Remote MCP server: claude.ai Notion (claudeai-proxy at https://mcp.notion.com/mcp)

Screenshot

The browser shows auth complete ("Return to your AI tool to continue") while the CLI is stuck on the Enter prompt:

!Screenshot showing the stuck dialog

(CLI modal doesn't accept Enter; browser confirms auth is complete)

🤖 Generated with Claude Code

View original on GitHub ↗

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