import { Button } from "../../../ui/button"; export function McpAuthDiscoveryNotice({ checking, message, onRetry, }: { checking: boolean; message?: string | undefined; onRetry?: (() => void) | undefined; }) { return (
{checking ? "Checking how to sign in…" : (message ?? (onRetry ? "Could not determine how to sign in. Retry or check the provider's setup instructions." : "Setup required. Check the provider's instructions."))}
{!checking && onRetry ? ( ) : null}