{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card/v1.json",
  "serverInfo": {
    "name": "sheshani",
    "version": "1.0.0",
    "title": "Sheshani Electronics Catalog MCP Server",
    "description": "MCP server indexing electronic components, sensors, microcontrollers, and developer tools in Jordan."
  },
  "transport": {
    "type": "streamable-http",
    "endpoint": "https://alsheshani.com/api/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "search_products",
      "description": "Search products in the Sheshani Electronics catalog with keyword matching, price, stock status, and category filtering.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Product search query in Arabic or English (e.g. arduino, esp32, ultrasonic, مقاومة)"
          },
          "category": {
            "type": "string",
            "description": "Optional category slug filter (e.g. development-boards, sensors, power-batteries)"
          },
          "limit": {
            "type": "number",
            "description": "Maximum number of products to return (default: 20, max: 50)",
            "default": 20
          },
          "lang": {
            "type": "string",
            "description": "Language for product titles and descriptions (ar or en)",
            "enum": [
              "ar",
              "en"
            ],
            "default": "ar"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_product",
      "description": "Get detailed product specifications, variants, pricing in JOD, stock status, and image URLs by numeric product ID.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "idOrSlug": {
            "type": "string",
            "description": "Product numeric ID (e.g. 1024)"
          },
          "lang": {
            "type": "string",
            "description": "Language for product details (ar or en)",
            "enum": [
              "ar",
              "en"
            ],
            "default": "ar"
          }
        },
        "required": [
          "idOrSlug"
        ]
      }
    },
    {
      "name": "list_categories",
      "description": "List all electronic component categories and subcategories with product counts and catalogue links.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "lang": {
            "type": "string",
            "description": "Language for category names (ar or en)",
            "enum": [
              "ar",
              "en"
            ],
            "default": "ar"
          }
        }
      }
    },
    {
      "name": "get_store_info",
      "description": "Get store policies, CliQ payment details, warranty information, and delivery rates across all 12 Jordanian governorates.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ]
}