PageSourceSearch

https://creascale.ai/assets/McpConnect-BLmSHgf9.js

js creascale.ai collected 2026-10-05 11:57:57 UTC 3,581 bytes, 1 lines download raw bytes

1import{R as i,j as e}from"./vendor-react-P8lhjiYZ.js";import{b as x}from"./index-CT-iEx2C.js";import{f as m,u as a,a3 as p,ap as h}from"./icons-B6nh23vN.js";import"./vendor-DYitOafL.js";import"./supabase-CRjsrM3R.js";import"./motion-HdYA6Eca.js";const n="https://creascale-mcp.biznessmatrix1.workers.dev/mcp",u=[["Claude (Pro/Max)","Settings → Connectors → + Add custom connector → paste the URL below → Connect."],["ChatGPT","Settings → Connectors → Add custom (MCP) → paste the URL → Connect."],["Cursor / Gemini","Add the remote MCP server via the URL below (OAuth)."]];function y(){const{subscription:t}=x(),o=t?.status==="active"&&["starter","pro","scale","enterprise"].includes(t?.plan||""),[c,s]=i.useState(!1),l=()=>{navigator.clipboard?.writeText(n).then(()=>{s(!0),setTimeout(()=>s(!1),1500)})};return e.jsxs("div",{className:"space-y-5",children:[e.jsxs("div",{className:"rounded-2xl border border-border bg-bg p-6",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"w-5 h-5 text-primary"}),e.jsx("h3",{className:"text-lg font-bold text-text",children:"Connect to your AI (MCP)"}),e.jsxs("span",{className:"ml-auto inline-flex items-center gap-1 text-[11px] font-bold text-green-500",children:[e.jsx(a,{className:"w-3.5 h-3.5"})," Available on every plan"]})]}),e.jsx("p",{className:"mt-2 text-sm text-text-muted",children:"Add CreaScale as a connector in Claude, ChatGPT or Cursor, then ask it for static ads (image ads) in plain language. Connecting is free, generating uses your credits (Draft 3 · Standard 5 · Premium 9 per image)."}),!o&&e.jsxs("div",{className:"mt-4 rounded-xl border border-primary/30 bg-primary/5 p-3.5 text-sm",children:[e.jsx("span",{className:"text-text",children:"Connecting is free."}),e.jsx("span",{className:"text-text-muted",children:" To generate, you need credits, start at Starter ($19/mo) or recharge."}),e.jsx("a",{href:"/billing",className:"ml-1 font-bold text-primary hover:underline",children:"Upgrade →"})]}),e.jsx("label",{className:"block mt-4 text-[11px] font-bold text-text-muted",children:"MCP server URL"}),e.jsxs("div",{className:"mt-1 flex items-center gap-2",children:[e.jsx("code",{className:"flex-1 px-3 py-2 rounded-lg bg-card border border-border text-sm text-text overflow-x-auto",children:n}),e.jsx("button",{onClick:l,className:"shrink-0 px-3 py-2 rounded-lg border border-border text-text-muted hover:text-primary hover:border-primary transition",title:"Copy",children:c?e.jsx(a,{className:"w-4 h-4 text-green-500"}):e.jsx(p,{className:"w-4 h-4"})})]}),e.jsxs("a",{href:"https://claude.ai/settings/connectors",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 mt-4 px-4 py-2 rounded-xl bg-gradient-to-r from-primary to-accent text-white font-bold text-sm",children:["Open Claude connectors ",e.jsx(h,{className:"w-3.5 h-3.5"})]})]}),e.jsxs("div",{className:"rounded-2xl border border-border bg-bg p-6",children:[e.jsx("h4",{className:"text-sm font-bold text-text mb-3",children:"How to connect"}),e.jsx("ul",{className:"space-y-3",children:u.map(([r,d])=>e.jsxs("li",{className:"text-sm",children:[e.jsx("span",{className:"font-bold text-text",children:r}),e.jsxs("span",{className:"text-text-muted",children:[", ",d]})]},r))}),e.jsxs("p",{className:"mt-4 text-[11px] text-text-muted",children:["Available tools: ",e.jsx("code",{children:"generate_static_ads"}),", ",e.jsx("code",{children:"get_static_ads_status"}),", ",e.jsx("code",{children:"get_credits"}),". Static image ads only."]})]})]})}export{y as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.