Developers

    M&M Easy Clean for Developers and AI Agents

    M&M Easy Clean runs a public Model Context Protocol (MCP) server so AI assistants and agents can look up our cleaning services and calculate price quotes. Quotes come from the exact same pricing engine used by the quote form on this website, so an agent gets the same numbers a customer would see.

    Endpoint and transport

    Endpoint: https://wbcaxuvwtjcoptiukcyg.supabase.co/functions/v1/mcp

    Transport: MCP over Streamable HTTP (JSON-RPC 2.0 via HTTP POST). Server name mmeasyclean-mcp, version 0.1.0.

    Authentication and rate limits

    No authentication is required. Both tools are read-only: they return public pricing information and never create bookings or store personal data. The server does not set its own rate limit; standard limits of the hosting platform may apply, so please cache results and avoid bursts of calls.

    Tool: list_services

    Takes no input. Returns the service types (Regular, Deep, MoveOut, PostConstruction), the frequencies (weekly, biweekly, monthly) and every add-on extra with its key, label and unit price. Call it before calculate_quote to discover valid inputs.

    Tool: calculate_quote

    Returns a min/max price, estimated hours, a line-item breakdown, notes and a disclaimer.

    • service (required): "Regular" | "Deep" | "MoveOut" | "PostConstruction" (MoveOut = Move In/Out clean)
    • frequency (required): "weekly" | "biweekly" | "monthly"
    • propertyKind (required): "studio" | "standard" (home with bedrooms/bathrooms)
    • bedrooms (optional): integer 0–10; used when propertyKind = standard (defaults to 1)
    • bathrooms (optional): integer 0–10; used when propertyKind = standard (defaults to 1)
    • sqft (optional): integer 0–20000
    • timeSinceLastCleaning (optional): "0-4w" | "1-3m" | "3m+"
    • heavyKitchenGrease (optional): boolean
    • homeIsCluttered (optional): boolean
    • postConstructionDust (optional): boolean
    • extras (optional): object of add-on key → non-negative integer quantity

    Valid extras keys: ovenCleaning, fridgeCleaning, insideCabinets, windowsInside, blindsWetWipe, baseboardsDeep, wallsWiped, foldClothes, dishesLoads, garageBasic, balconyPatio, organizationHours.

    Example request

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "tools/call",
      "params": {
        "name": "calculate_quote",
        "arguments": {
          "service": "Deep",
          "frequency": "biweekly",
          "propertyKind": "standard",
          "bedrooms": 2,
          "bathrooms": 1,
          "extras": { "ovenCleaning": 1 }
        }
      }
    }

    Example response (tool result)

    {
      "content": [
        { "type": "text", "text": "Deep (biweekly): $260–$312 · ~4-4.75h" }
      ],
      "structuredContent": {
        "quote": {
          "service": "Deep",
          "frequency": "biweekly",
          "minPrice": 260,
          "maxPrice": 312,
          "estimatedHoursMin": 4,
          "estimatedHoursMax": 4.75,
          "breakdown": [
            { "label": "Deep clean base (property: 2/1)", "amount": 220 },
            { "label": "Oven cleaning (deep clean inside) × 1", "amount": 40 }
          ],
          "notes": ["Condition marked as normal: standard range applied."],
          "disclaimer": "Estimated range may vary depending on the property condition and scope."
        }
      }
    }

    Prices are estimates; the final price is confirmed by our team. Bookings are made by the customer on the quote form.

    More resources