{
  "$schema": "https://modelcontextprotocol.io/schemas/server-card/v1.json",
  "name": "vaishali-electrical-works-mcp",
  "title": "M/S VAISHALI ELECTRICAL WORKS Engineering & Dispatch MCP Server",
  "version": "1.0.0",
  "protocolVersion": "2024-11-05",
  "description": "Official Model Context Protocol (MCP) server for M/S VAISHALI ELECTRICAL WORKS at https://vaishalielectricalworks.in. Exposes 8 engineering divisions, 29 services, 38 Bihar districts, and motor engineering tools.",
  "vendor": {
    "name": "M/S VAISHALI ELECTRICAL WORKS",
    "url": "https://vaishalielectricalworks.in"
  },
  "transport": {
    "type": "streamable-http",
    "url": "https://vaishalielectricalworks.in/mcp",
    "alternateUrl": "https://vaishalielectricalworks.in/api/mcp"
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "list_electrical_services",
      "description": "List M/S Vaishali Electrical Works electrical contracting, motor copper rewinding, submersible pump, panel, power backup & HSN supply services (29 scopes across 8 divisions).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "divisionSlug": {
            "type": "string",
            "description": "Optional division slug filter (e.g. motor-engineering, pump-irrigation-engineering, electrical-contracting)"
          },
          "query": {
            "type": "string",
            "description": "Optional keyword search across title, hindiTitle, and description"
          }
        }
      }
    },
    {
      "name": "check_bihar_district_dispatch",
      "description": "Check serviceability, estimated dispatch window, coordination hub, and priority tier across all 38 districts of Bihar from Rampur Bhikhanpura, Sahebganj, Muzaffarpur.",
      "inputSchema": {
        "type": "object",
        "required": [
          "district"
        ],
        "properties": {
          "district": {
            "type": "string",
            "description": "District slug or name in Bihar (e.g. muzaffarpur, patna, darbhanga, sitamarhi)"
          }
        }
      }
    },
    {
      "name": "calculate_motor_engineering",
      "description": "Calculate 3-phase induction motor Full Load Current (FLA), thermal OLR relay trip range, and estimated single-phase capacitor values.",
      "inputSchema": {
        "type": "object",
        "required": [
          "hp"
        ],
        "properties": {
          "hp": {
            "type": "number",
            "description": "Motor rated horsepower (0.5 to 250 HP)"
          },
          "phase": {
            "type": "string",
            "enum": [
              "single",
              "three"
            ],
            "default": "three"
          },
          "voltage": {
            "type": "number",
            "description": "Line voltage in Volts (230 for single-phase, 415 for three-phase)"
          }
        }
      }
    },
    {
      "name": "get_workshop_contact_and_verification",
      "description": "Return verified M/S Vaishali Electrical Works Sahebganj address, State Code 10, phone/WhatsApp, and GPS coordinates.",
      "inputSchema": {
        "type": "object",
        "properties": {}
      }
    }
  ],
  "resources": [
    {
      "uri": "vew://catalog/divisions",
      "name": "M/S Vaishali Electrical Works 8 Engineering Divisions",
      "mimeType": "application/json",
      "description": "Complete structured directory of engineering & contracting divisions."
    },
    {
      "uri": "vew://catalog/services",
      "name": "M/S Vaishali Electrical Works 29 Electrical & Motor Services",
      "mimeType": "application/json",
      "description": "Service slugs, technical specifications, conductor type, and turnaround windows."
    },
    {
      "uri": "vew://coverage/bihar-districts",
      "name": "Bihar 38-District Coverage Matrix",
      "mimeType": "application/json",
      "description": "Priority tiers, administrative divisions, hubs, and dispatch windows across Bihar."
    }
  ],
  "prompts": [
    {
      "name": "diagnose_motor_fault",
      "description": "Structured workshop diagnostic checklist for burnt stator, tripped OLR, or weak capacitor faults.",
      "arguments": [
        {
          "name": "hp",
          "description": "Motor HP rating",
          "required": true
        },
        {
          "name": "symptom",
          "description": "Observed symptom (tripping, humming, low speed, burnt smell)",
          "required": true
        }
      ]
    },
    {
      "name": "prepare_b2b_amc_scope",
      "description": "Draft an industrial electrical preventive AMC checklist for Bihar factories, cold storages, or rice mills.",
      "arguments": [
        {
          "name": "district",
          "description": "Bihar district name",
          "required": true
        },
        {
          "name": "plantType",
          "description": "Industry or plant category",
          "required": true
        }
      ]
    }
  ]
}