{
  "name": "makebasic-mcp-worker",
  "version": "0.1.0",
  "protocol": "mcp-https+jsonl+sse",
  "protocolVersion": "0.1.0",
  "endpoints": {
    "sse": "https://mcp.makebasic.com/sse",
    "rpc": "https://mcp.makebasic.com/rpc",
    "mcp": "https://mcp.makebasic.com/mcp"
  },
  "capabilities": {
    "tools": {
      "list": {
        "supported": true
      },
      "call": {
        "supported": true
      }
    },
    "resources": {
      "list": {
        "supported": true
      },
      "read": {
        "supported": true
      }
    },
    "prompts": {
      "list": {
        "supported": true
      },
      "get": {
        "supported": true
      }
    }
  },
  "resources": [
    {
      "uri": "schema://makebasic",
      "name": "Schema (makebasic shared)",
      "description": "JSON definition of all document, section, and object types used by makebasic websites. Backend-agnostic — identical for CMS and Sanity-backed sites.",
      "mimeType": "application/json; charset=utf-8"
    },
    {
      "uri": "schema://makebasic-guidance",
      "name": "Schema Guidance (makebasic shared)",
      "description": "Purpose, scenarios, and best practices for the shared makebasic schema. Backend-agnostic.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://crawl-and-create",
      "name": "Crawl & Create Workflow",
      "description": "Crawl-Flow guide: Crawler-Output, Page Classification, Phase 0–4 Crawl-Pipeline, Coverage Check, Asset Mapping. For structural rules (Hero variants, Section types) see `page-structure` (referenced from here). Only required for crawl imports — pure create-from-scratch flows use `page-structure` alone.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://page-structure",
      "name": "Page Structure Workflow",
      "description": "Strukturregeln für makebasic-Websites: Hero-Varianten (6), Section-Reihenfolge, Section-Typ-Auswahl für page.sections und card.cardSections. Pflicht-Load beim Bauen jeder neuen Seite. Gilt für beide Backends (Sanity + CMS).",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://structures-reference",
      "name": "Structures Reference",
      "description": "JSON structures for Portable Text (BasicRichText), BasicMedia, BasicButton, Card References, FormField, NavItem — plus the Section Fields Quick Reference table. Load on-demand when building concrete section JSON. Valid for both backends (Sanity + CMS).",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://faq",
      "name": "FAQ Workflow",
      "description": "Standard answers and tool mappings for common customer questions outside the build flow (Wordpress, Custom Domain, Onlineshop, Cal.com, Logo, Backup, Marketing/SEO, etc.). Load on-demand when the customer asks a question that is NOT a direct build action. Plan-conditional answers (Stripe / Cal.com / Crawl-Import) — agent picks variant based on tenant context.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://examples-portfolio",
      "name": "Examples: Portfolio",
      "description": "Branch example for portfolios (designer, photographer, artist, creative developer, studio): concrete 2-level arrangement (page.sections + project card.cardSections) plus style character. Inspiration for the structure proposal, NOT a fixed template. Load before proposing structure when the branch is a portfolio.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://seo-check",
      "name": "SEO-Check Workflow",
      "description": "Task recipe to audit + improve an existing site's findability on the real `settings` fields (title, description, ogImage, favicon, indexable, ldJson — global, NOT seoTitle/seoDescription). Load on-demand when the customer asks about SEO / Google / search visibility / social preview image. Both backends.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://dsgvo-nachruesten",
      "name": "DSGVO-Nachrüsten Workflow",
      "description": "Task recipe to add Impressum + Datenschutzerklärung legal pages to an existing site (EU/EEA): collect §5 TMG fields, createCard (no media — legal exception) + TextSection cardSection, footer markDefs links (/impressum, /datenschutzerklaerung). Structure rules live in `page-structure`. Load on-demand for legal-page requests or after the missing-legal-pages hint.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://bild-tausch",
      "name": "Bild-Tausch Workflow",
      "description": "Task recipe to swap an existing image on a built site (hero, card cover, logo, gallery, inline): getDocument(summary) to find the _key, uploadAsset, then updateWebsite patch the media field with the BasicMedia shape from `structures-reference`. Covers the tenant_upload (WhatsApp photo) path + Portable-Text full-array rule. Load on-demand for image-replace requests.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "workflow://shop-aktivieren",
      "name": "Shop-Aktivieren Workflow",
      "description": "Task recipe to set up a Stripe shop on an existing site: plan gate (Pro+; small → upsell), connect Stripe, createProduct → createPrice (cents) → createPaymentLink, then build product cards per the `page-structure` product-page recipe (MediaSection → TextSection → NotificationSection with the payment link). Load on-demand when the customer wants to sell products.",
      "mimeType": "text/markdown; charset=utf-8"
    },
    {
      "uri": "prompt://makebasic-system",
      "name": "makebasic System Prompt",
      "description": "Persona/tone/customer-language rules + Bauplan-vor-dem-Bauen + page-structure expectations for the makebasic website-assistant. Mirror of the `makebasic-system` MCP prompt — exposed as a Resource because some MCP clients (Claude.ai connector) do not surface `prompts/get` to the agent. Static BYO-admin variant; clients that support `prompts/get` receive the session-aware version with live tenant + plan data.",
      "mimeType": "text/markdown; charset=utf-8"
    }
  ],
  "prompts": [
    {
      "name": "makebasic-system",
      "title": "makebasic System Prompt",
      "description": "Loads the makebasic website-assistant persona (role, tools, page-structure rules, content guidelines, verification flow). Pair with the makebasic MCP tools to build websites via chat from any MCP-capable client (Claude Desktop, Cursor, custom OpenClaw).",
      "arguments": [
        {
          "name": "name",
          "description": "Your display name. Shown in the assistant greeting (default: \"BYO User\" for admin sessions, tenantId for tenant sessions).",
          "required": false
        }
      ]
    }
  ],
  "maintainer": {
    "github": "makebasic"
  }
}