import { HelpCircle } from "lucide-react"; import { AgentSetupPrompt } from "@/components/AgentSetupPrompt"; import { Button } from "@/components/ui/button"; import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle, DialogTrigger, } from "@/components/ui/dialog"; import { Textarea } from "@/components/ui/textarea"; import { MCP_CONFIG_HELP_INSTRUCTIONS, MCP_CONFIG_HELP_PROMPT } from "@paperclipai/shared"; /** * Compact question-mark help beside the Paste-a-config copy (PAP-17087, plan 3A). * * Purely static: it renders a constant prompt and copies it. It deliberately has * no props, no company id, and no access to the textarea, so opening or copying * it cannot create a connection, call an agent, submit the pasted config, or leak * anything the operator has typed. */ export function McpConfigHelpDialog() { return ( Ask an agent for an MCP config Don't know the URL or headers a tool needs? Hand this request to an agent and paste back what it gives you.
    {MCP_CONFIG_HELP_INSTRUCTIONS.map((instruction) => (
  1. {instruction}
  2. ))}