diff --git a/surfsense_web/components/mcp/agent-setup-tabs.tsx b/surfsense_web/components/mcp/agent-setup-tabs.tsx index 3790441f2..a9a5a8e94 100644 --- a/surfsense_web/components/mcp/agent-setup-tabs.tsx +++ b/surfsense_web/components/mcp/agent-setup-tabs.tsx @@ -30,18 +30,17 @@ function CopyButton({ text }: { text: string }) { ); } const TRANSPORTS: { id: McpTransport; label: string; hint: string }[] = [ - { id: "remote", label: "Hosted", hint: "mcp.surfsense.com — nothing to install" }, + { id: "remote", label: "Hosted", hint: "mcp.surfsense.com, nothing to install" }, { id: "stdio", label: "Self-host", hint: "run the server against your own backend" }, ]; @@ -64,7 +63,7 @@ export function AgentSetupTabs({ options }: { options?: Partial t.id === transport) ?? TRANSPORTS[0]; return ( -
+
{TRANSPORTS.map((t) => ( @@ -83,19 +82,21 @@ export function AgentSetupTabs({ options }: { options?: Partial{active.hint}
- - - {MCP_CLIENTS.map((client) => ( - - {client.label} - - ))} - + +
+ + {MCP_CLIENTS.map((client) => ( + + {client.label} + + ))} + +
{MCP_CLIENTS.map((client) => { const snippet = client[transport]; const config = snippet.build(resolved); return ( - +
    {snippet.steps.map((step) => (
  1. {step}
  2. diff --git a/surfsense_web/components/mcp/connect-agent-dialog.tsx b/surfsense_web/components/mcp/connect-agent-dialog.tsx index fdbf08d71..e46f602ec 100644 --- a/surfsense_web/components/mcp/connect-agent-dialog.tsx +++ b/surfsense_web/components/mcp/connect-agent-dialog.tsx @@ -41,13 +41,11 @@ export function ConnectAgentDialog({ className }: { className?: string }) { New - + Connect to Claude Code, Codex, OpenCode… - The SurfSense MCP server gives any coding agent these scrapers and your knowledge base - as native tools. You need an API key (create one under API Keys) — then pick your agent - and paste its config. + 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. diff --git a/surfsense_web/components/ui/context-menu.tsx b/surfsense_web/components/ui/context-menu.tsx index 8fa7c6d1a..c7644ecb2 100644 --- a/surfsense_web/components/ui/context-menu.tsx +++ b/surfsense_web/components/ui/context-menu.tsx @@ -66,7 +66,7 @@ function ContextMenuSubContent({