{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card/v1.json",
  "name": "SurfacePro Flooring MCP Server",
  "version": "1.0.0",
  "description": "Official Model Context Protocol server for SurfacePro Flooring Brisbane. Provides tools for flooring cost calculation, trade specifications, Australian standards compliance, and quote requests.",
  "homepage": "https://surfaceproflooring.com.au",
  "url": "https://surfaceproflooring.com.au",
  "endpoint": "https://surfaceproflooring.com.au/api/mcp",
  "transport": {
    "type": "http-post",
    "endpoint": "https://surfaceproflooring.com.au/api/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "calculate_flooring_cost",
      "description": "Calculate instant square-metre pricing estimates for epoxy flooring, concrete polishing, grinding, and surface preparation across Greater Brisbane.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "service": {
            "type": "string",
            "description": "Service key or slug: epoxy-flake, concrete-polishing, subfloor-levelling, tile-stripping, concrete-sealing, timber-restoration"
          },
          "area_m2": {
            "type": "number",
            "description": "Floor area in square metres (e.g. 36 for standard 2-car garage, 50 for large workshop)"
          },
          "dpm_barrier": {
            "type": "boolean",
            "description": "Whether slab requires a moisture damp-proof membrane (DPM) primer"
          }
        },
        "required": [
          "service",
          "area_m2"
        ]
      }
    },
    {
      "name": "get_services",
      "description": "List all active flooring and surface preparation services with Australian Standards compliance and pricing details.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    },
    {
      "name": "get_service_specs",
      "description": "Get detailed technical trade specifications, CSP grinding profiles, and preparation requirements for a specific flooring service.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string",
            "description": "Service slug, e.g. epoxy-flooring-brisbane, concrete-polishing-brisbane, concrete-grinding-brisbane"
          }
        },
        "required": [
          "slug"
        ]
      }
    },
    {
      "name": "request_quote",
      "description": "Submit customer contact details and job requirements for an itemised written flooring quote.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Customer name"
          },
          "phone": {
            "type": "string",
            "description": "Contact phone number"
          },
          "email": {
            "type": "string",
            "description": "Contact email address"
          },
          "suburb": {
            "type": "string",
            "description": "Brisbane suburb or postcode"
          },
          "service_key": {
            "type": "string",
            "description": "Service requested"
          },
          "area_m2": {
            "type": "number",
            "description": "Estimated floor area in m²"
          },
          "notes": {
            "type": "string",
            "description": "Job notes, slab conditions, or timeline"
          }
        },
        "required": [
          "name",
          "phone",
          "service_key"
        ]
      }
    }
  ]
}
