"use client"; import { SidebarButtonBadge } from "@/components/layout/ui/sidebar/SidebarButton"; import { AgentSetupTabs } from "@/components/mcp/agent-setup-tabs"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { BACKEND_URL } from "@/lib/env-config"; import { cn } from "@/lib/utils"; /** * Sidebar-footer button that opens the MCP setup guide: pick an agent * (Claude Code, Codex, OpenCode, ...), copy its config, done. */ export function ConnectAgentDialog({ className }: { className?: string }) { return ( Connect your coding agent to SurfSense Give your coding agent access to SurfSense scrapers and your knowledge base. Create an API key under API Keys, choose your agent, then paste the config. ); }