{
  "$schema": "https://modelcontextprotocol.io/schema/server-card.json",
  "name": "Pallapatti Community Portal MCP Server",
  "version": "1.0.0",
  "description": "Model Context Protocol (MCP) server for Pallapatti.com providing tools to search properties, local directory businesses, jobs, classifieds, and products in Pallapatti, Tamil Nadu.",
  "homepage": "https://app.pallapatti.com",
  "documentation": "https://app.pallapatti.com/llms.txt",
  "endpoint": "https://app.pallapatti.com/api/mcp",
  "transport": "http-post",
  "capabilities": {
    "tools": {
      "listChanged": false
    },
    "resources": {
      "subscribe": false,
      "listChanged": false
    },
    "prompts": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "search_portal",
      "description": "Search across properties, business directory, jobs, classified ads, and local store products in Pallapatti",
      "parameters": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string",
            "description": "Search query keywords (e.g., 'villa', 'medical shop', 'driver job', 'coconut oil')"
          }
        },
        "required": ["q"]
      }
    },
    {
      "name": "get_properties",
      "description": "Fetch real estate listings in Pallapatti with optional filters for sale or rent",
      "parameters": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "enum": ["sale", "rent", "all"],
            "description": "Filter by listing type"
          },
          "category": {
            "type": "string",
            "description": "Filter by property category (house, villa, plot, commercial, land)"
          }
        }
      }
    },
    {
      "name": "get_directory_shops",
      "description": "Fetch local shops, services, and medical clinics from the Pallapatti business directory",
      "parameters": {
        "type": "object",
        "properties": {
          "q": {
            "type": "string",
            "description": "Optional search term or shop name"
          }
        }
      }
    },
    {
      "name": "get_products",
      "description": "Fetch available products and pricing in Indian Rupees (INR) from the Pallapatti store",
      "parameters": {
        "type": "object",
        "properties": {
          "category": {
            "type": "string",
            "description": "Optional product category"
          }
        }
      }
    }
  ]
}
