{
  "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://sanity",
      "name": "Schema (Sanity + CMS)",
      "description": "JSON definition of all document, section, and object types. Valid for BOTH backends (Sanity and makebasic-cms) identically.",
      "mimeType": "application/json; charset=utf-8"
    },
    {
      "uri": "schema://sanity-guidance",
      "name": "Schema Guidance (Sanity + CMS)",
      "description": "Purpose, scenarios, and best practices from docs/sanity-schema.md. Valid for both backends.",
      "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": "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"
  }
}