"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),t=require("../index-DEZRGktf.js"),s=require("lucide-react");require("react-router-dom");require("react");require("react-dom");const a=()=>e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx(t.HeroCard,{title:"Installation & Setup",description:"Get the MCP server running in seconds — use npx for zero-install, or install globally for persistent use.",icon:e.jsx("div",{className:"w-16 h-16 sm:w-20 sm:h-20 bg-linear-to-br from-blue-500 to-cyan-500 rounded-full flex items-center justify-center shadow-lg",children:e.jsx(s.Download,{className:"w-8 h-8 sm:w-10 sm:h-10 text-white"})})}),e.jsx(t.CardContainer,{children:e.jsxs(t.CardTitle,{title:"Quick Start (npx)",children:[e.jsx(t.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Run directly without installing — perfect for trying it out or CI environments:"}),e.jsx(t.CodeBlock,{code:`# Start in stdio mode (for IDE integration)
npx @e-burgos/tucu-ui-mcp

# Start in HTTP mode (for remote agents)
npx @e-burgos/tucu-ui-mcp --http --port 3100`})]})}),e.jsx(t.CardContainer,{children:e.jsxs(t.CardTitle,{title:"Global Install",children:[e.jsx(t.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Install globally for faster startup and permanent availability:"}),e.jsx(t.CodeBlock,{code:`# Install globally
npm install -g @e-burgos/tucu-ui-mcp

# Now available as binary commands:
tucu-ui-mcp          # stdio transport (local IDE)
tucu-ui-mcp-http     # HTTP+SSE transport (port 3100)`})]})}),e.jsx(t.CardContainer,{children:e.jsx(t.CardTitle,{title:"Binary Commands",children:e.jsx(t.BasicTable,{columns:[{key:"command",label:"Command",render:r=>e.jsx("code",{className:"px-1.5 py-0.5 bg-muted rounded text-xs font-mono",children:String(r)})},{key:"transport",label:"Transport",render:r=>e.jsx(t.Badge,{variant:"soft",className:String(r)==="stdio"?"bg-blue-500/10 text-blue-500":"bg-purple-500/10 text-purple-500",children:String(r)})},{key:"useCase",label:"Use Case"}],data:[{command:"tucu-ui-mcp",transport:"stdio",useCase:"VS Code, Cursor, Claude Desktop (local)"},{command:"tucu-ui-mcp-http",transport:"HTTP+SSE",useCase:"Remote agents, Docker, Fly.io, cloud"}]})})}),e.jsx(t.CardContainer,{children:e.jsxs(t.CardTitle,{title:"npm Package",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[e.jsx(s.ExternalLink,{className:"w-4 h-4 text-foreground/50"}),e.jsx(t.Typography,{className:"text-sm text-foreground/70",children:e.jsx("a",{href:"https://www.npmjs.com/package/@e-burgos/tucu-ui-mcp",target:"_blank",rel:"noopener noreferrer",className:"text-blue-500 hover:underline",children:"npmjs.com/package/@e-burgos/tucu-ui-mcp"})})]}),e.jsx(t.CodeBlock,{code:`{
  "name": "@e-burgos/tucu-ui-mcp",
  "version": "1.0.0",
  "bin": {
    "tucu-ui-mcp": "./dist/stdio.js",
    "tucu-ui-mcp-http": "./dist/http.js"
  }
}`})]})}),e.jsx(t.CardContainer,{children:e.jsxs(t.CardTitle,{title:"Verify Installation",children:[e.jsx(t.Typography,{className:"text-sm text-foreground/70 mb-3",children:"Test that the server is working correctly:"}),e.jsx(t.CodeBlock,{code:`# Test stdio transport (should output JSON-RPC response)
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"capabilities":{}}}' | tucu-ui-mcp

# Test HTTP transport
curl http://localhost:3100/health
# → {"status":"ok","version":"1.0.0"}`})]})})]});exports.default=a;
