BINDINGS: list[BindingType] = [Binding(
'escape',
'cancel',
'Cancel',
show=False,
priority=True
)]Esc unblocks the worker; the worker performs the actual shutdown.
Cancellation completes any outstanding input future with
MCPLoginCancelledError. The worker (_run_mcp_login_worker) sees
that exception, calls finish(success=False), and tears down the
OAuth handshake. Doing the teardown here would race the worker.