{
  "$schema": "https://modelcontextprotocol.io/schema/server-card.json",
  "name": "xentra-exchange",
  "title": "Xentra Commodities Exchange MCP Server",
  "description": "Real-world agricultural commodity trading, live spot prices, warehouse inventory custody, and dual NGN/USD settlements in Nigeria.",
  "version": "1.0.0",
  "homepage": "https://onxentra.com",
  "license": "Proprietary",
  "endpoint": "https://onxentra.com/api/mcp",
  "transport": {
    "type": "http",
    "url": "https://onxentra.com/api/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "get_commodity_prices",
      "description": "Fetch live market spot prices in NGN and USD, 24h/7d price changes, and warehouse inventory volumes for agricultural commodities on Xentra.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "commodityId": {
            "type": "string",
            "description": "Optional commodity slug, e.g. maize, soya, cocoa, beans, sesame-seed, potato, rice"
          }
        }
      }
    },
    {
      "name": "calculate_trade_cost",
      "description": "Calculate purchase cost, warehouse & insurance fees, and unit quantities for spot commodity trading in NGN or USD.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "commodityId": {
            "type": "string",
            "description": "Commodity slug to trade"
          },
          "quantity": {
            "type": "number",
            "description": "Quantity in commodity packaging units (bags, tonnes, heads)"
          },
          "fulfilment": {
            "type": "string",
            "enum": ["none", "store", "deliver"],
            "description": "Fulfilment option for the purchase"
          }
        },
        "required": ["commodityId", "quantity"]
      }
    },
    {
      "name": "get_warehouse_locations",
      "description": "List verified partner warehouse locations across Nigeria (Kano, Plateau, Oyo, Ogun) and custody specifications managed by Novaprime Group.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ]
}
