{
  "$schema": "https://modelcontextprotocol.io/schema/mcp-server.json",
  "name": "coffed-makhana",
  "displayName": "COFFED Makhana E-Commerce & Catalog MCP",
  "version": "1.0.0",
  "description": "Model Context Protocol (MCP) server metadata for COFFED Makhana (https://coffedmakhana.com). Enables AI agents to browse products, inspect nutritional attributes, check order status, and retrieve business information.",
  "website": "https://coffedmakhana.com",
  "llms_txt": "https://coffedmakhana.com/llms.txt",
  "tools": [
    {
      "name": "search_products",
      "description": "Search makhana products, snacks, and cookies by query or category slug.",
      "parameters": {
        "type": "object",
        "properties": {
          "query": { "type": "string", "description": "Search term e.g. 'peri peri', 'salted', 'cookies'" },
          "category": { "type": "string", "description": "Category slug e.g. 'roasted-makhana'" }
        }
      },
      "endpoint": "https://coffedmakhana.com/catalog?format=md"
    },
    {
      "name": "get_product_details",
      "description": "Retrieve comprehensive product information including price, variants, ingredients, and stock.",
      "parameters": {
        "type": "object",
        "properties": {
          "slug": { "type": "string", "description": "Product URL slug e.g. 'peri-peri-makhana'" }
        },
        "required": ["slug"]
      },
      "endpoint": "https://coffedmakhana.com/product/{slug}?format=md"
    },
    {
      "name": "get_business_info",
      "description": "Retrieve official COFFED cooperative details, headquarters address, customer support, and operational policies.",
      "endpoint": "https://coffedmakhana.com/about-us?format=md"
    },
    {
      "name": "track_order",
      "description": "Check order tracking and fulfillment status using order number and contact information.",
      "parameters": {
        "type": "object",
        "properties": {
          "order_number": { "type": "string", "description": "Order number e.g. 'ORD-XXXXXXXXXX'" },
          "contact": { "type": "string", "description": "Customer phone number or email address" }
        },
        "required": ["order_number", "contact"]
      },
      "endpoint": "https://coffedmakhana.com/track-order"
    }
  ],
  "resources": [
    {
      "uri": "makhana://catalog",
      "name": "Product Catalog",
      "mimeType": "text/markdown",
      "description": "All available makhana flavors, snack packs, and pricing."
    },
    {
      "uri": "makhana://policies",
      "name": "Store Policies",
      "mimeType": "text/markdown",
      "description": "Shipping, returns, and payment policy documentation."
    }
  ]
}
