{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card.json",
  "serverInfo": {
    "name": "Dash Checkout",
    "version": "1.0.0",
    "description": "Order limits that remember your customers. Control what they buy, how much, and how often with DC Order Limits for Shopify.",
    "vendor": {
      "name": "Dash Checkout",
      "url": "https://www.dashcheckout.io"
    },
    "homepage": "https://www.dashcheckout.io",
    "documentation": "https://help.dashcheckout.io/"
  },
  "capabilities": {
    "resources": true,
    "tools": true,
    "prompts": false
  },
  "authentication": {
    "type": "oauth2",
    "installUrl": "https://apps.shopify.com/dc-preorders",
    "loginUrl": "https://www.dashcheckout.io/login",
    "loginUrlTemplate": "https://www.dashcheckout.io/login?shop={shop_domain}",
    "loginUrlExample": "https://www.dashcheckout.io/login?shop=dash-checkout.myshopify.com",
    "documentationUrl": "https://www.dashcheckout.io/auth.md",
    "oauthMetadataUrl": "https://www.dashcheckout.io/.well-known/oauth-authorization-server",
    "instructions": "Install via Shopify App Store. For existing users, login at /login?shop={store}.myshopify.com"
  },
  "resources": [
    {
      "uri": "https://www.dashcheckout.io/llms.txt",
      "name": "LLM Summary",
      "description": "Brief LLM-readable summary of Dash Checkout services",
      "mimeType": "text/plain"
    },
    {
      "uri": "https://www.dashcheckout.io/llms-full.txt",
      "name": "Full Documentation",
      "description": "Comprehensive documentation for AI agents about all DC Order Limits features",
      "mimeType": "text/plain"
    },
    {
      "uri": "https://www.dashcheckout.io/order-limits",
      "name": "Order Limits Documentation",
      "description": "Learn how to set up quantity limits, customer caps, and time-based restrictions on your Shopify store",
      "mimeType": "text/html"
    },
    {
      "uri": "https://www.dashcheckout.io/customer-purchase-limits",
      "name": "Customer Purchase Limits Guide",
      "description": "Track lifetime purchases per customer. Limit by quantity or spend — daily, weekly, monthly, yearly, or lifetime",
      "mimeType": "text/html"
    },
    {
      "uri": "https://www.dashcheckout.io/mixed-cart-limits",
      "name": "Mixed Cart Rules Guide",
      "description": "Control which products can be purchased together. Prevent preorders mixing with in-stock items",
      "mimeType": "text/html"
    },
    {
      "uri": "https://www.dashcheckout.io/features",
      "name": "All Features",
      "description": "Complete feature list including quantity limits, weight limits, customer tags, geolocation rules, and more",
      "mimeType": "text/html"
    },
    {
      "uri": "https://www.dashcheckout.io/pricing",
      "name": "Pricing",
      "description": "Pricing plans and features for DC Order Limits",
      "mimeType": "text/html"
    },
    {
      "uri": "https://help.dashcheckout.io/",
      "name": "Help Center",
      "description": "Complete help documentation and guides",
      "mimeType": "text/html"
    }
  ],
  "tools": [
    {
      "name": "install_app",
      "description": "Get the Shopify App Store URL to install DC Order Limits (for new users)",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "install_url": {
            "type": "string",
            "description": "Shopify App Store URL"
          }
        }
      },
      "example": {
        "input": {},
        "output": {"install_url": "https://apps.shopify.com/dc-preorders"}
      }
    },
    {
      "name": "login",
      "description": "Generate the login URL for existing DC Order Limits users",
      "inputSchema": {
        "type": "object",
        "properties": {
          "shop_domain": {
            "type": "string",
            "description": "The Shopify store domain (e.g., mystore.myshopify.com or just mystore)",
            "examples": ["dash-checkout.myshopify.com", "mystore.myshopify.com"]
          }
        },
        "required": ["shop_domain"]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "login_url": {
            "type": "string",
            "description": "Direct login URL for the store"
          }
        }
      },
      "example": {
        "input": {"shop_domain": "dash-checkout.myshopify.com"},
        "output": {"login_url": "https://www.dashcheckout.io/login?shop=dash-checkout.myshopify.com"}
      }
    },
    {
      "name": "get_help",
      "description": "Search the help center for documentation on a topic",
      "inputSchema": {
        "type": "object",
        "properties": {
          "topic": {
            "type": "string",
            "description": "The help topic to search for"
          }
        }
      }
    }
  ],
  "contact": {
    "email": "hello@dashcheckout.io",
    "support": "https://help.dashcheckout.io/"
  }
}
