"use client"; import { Check, Copy } from "lucide-react"; import Link from "next/link"; import { useState } from "react"; import { Button } from "@/components/ui/button"; import { Label } from "@/components/ui/label"; export function MCPSection() { const backendUrl = process.env.NEXT_PUBLIC_BACKEND_URL || (typeof window !== "undefined" ? window.location.origin : ""); const endpoint = `${backendUrl}/api/v1/mcp/`; const [endpointCopied, setEndpointCopied] = useState(false); const handleCopy = async ( value: string, setter: (v: boolean) => void, ) => { await navigator.clipboard.writeText(value); setter(true); setTimeout(() => setter(false), 2000); }; return (

Connect an MCP-compatible AI assistant to this URL over Streamable HTTP. Requires an API key in the X-API-Key header.{" "} Get your API key

{endpoint}

For step-by-step setup with Claude Code, Claude Desktop, Cursor, and other clients, see the{" "} MCP integration guide .

); }