import { McpClientPanel } from "@/components/McpClientPanel"; import { Button } from "@/components/ui/button"; import type { McpRegistrationStatus } from "@/hooks/useMcpSetup"; import { X } from "lucide-react"; type McpOnboardingDialogProps = { open: boolean; backendReady: boolean; status: McpRegistrationStatus | null; busy: boolean; message: string; error: string; onRegister: (cursor: boolean, claude: boolean) => Promise; onDismiss: () => void; }; export function McpOnboardingDialog({ open, backendReady, status, busy, message, error, onRegister, onDismiss, }: McpOnboardingDialogProps) { if (!open) { return null; } const fullyRegistered = status?.cursorRegistered === true && status?.claudeRegistered === true; return (

Connect Cursor or Claude Desktop

This desktop app bundles the operator UI and MCP server. Register the local MCP URL so your AI client can drive Windows automation while the operator is open.

); }