{
  "schema_version": "2025-06-18",
  "name": "panamaprop-mcp",
  "display_name": "PanamaProp MCP Server",
  "description": "Model Context Protocol server exposing Panama real estate data: 219 buildings across 31 corregimientos, market pricing, ROI by zone, and conversational search via Alma.",
  "vendor": "PanamaProp",
  "version": "1.0.0",
  "homepage": "https://www.panamaprop.com",
  "contact_email": "info@panamaprop.com",
  "license": "CC-BY-4.0",
  "transport": {
    "type": "http",
    "url": "https://www.panamaprop.com/api/mcp",
    "auth": { "type": "none" }
  },
  "capabilities": {
    "tools": true,
    "resources": true,
    "prompts": false,
    "logging": false
  },
  "tools": [
    {
      "name": "search_buildings",
      "description": "Search verified apartment buildings in Panama by zone, price range, bedrooms, and amenities.",
      "input_schema": {
        "type": "object",
        "properties": {
          "zone": { "type": "string", "description": "Corregimiento slug, e.g. 'punta-pacifica', 'costa-del-este'" },
          "min_price": { "type": "number" },
          "max_price": { "type": "number" },
          "bedrooms": { "type": "integer" },
          "with_pool": { "type": "boolean" },
          "with_gym": { "type": "boolean" },
          "ocean_view": { "type": "boolean" }
        }
      }
    },
    {
      "name": "get_market_data",
      "description": "Get price per m² and ROI range for a specific zone, based on verified Registro Público transactions.",
      "input_schema": {
        "type": "object",
        "properties": {
          "zone": { "type": "string" }
        },
        "required": ["zone"]
      }
    },
    {
      "name": "estimate_property_value",
      "description": "Estimate the value of an apartment using PanamaEstimate. Returns a price range based on comparables.",
      "input_schema": {
        "type": "object",
        "properties": {
          "zone": { "type": "string" },
          "size_m2": { "type": "number" },
          "bedrooms": { "type": "integer" },
          "year_built": { "type": "integer" }
        },
        "required": ["zone", "size_m2"]
      }
    },
    {
      "name": "ask_alma",
      "description": "Natural language Q&A about Panama real estate. Returns structured answers with cited sources.",
      "input_schema": {
        "type": "object",
        "properties": {
          "question": { "type": "string" },
          "language": { "type": "string", "enum": ["es", "en"], "default": "es" }
        },
        "required": ["question"]
      }
    }
  ],
  "resources": [
    {
      "uri": "panamaprop://buildings",
      "name": "Buildings directory",
      "description": "Full directory of 219 verified buildings with price, amenities, location.",
      "mime_type": "application/json"
    },
    {
      "uri": "panamaprop://zones",
      "name": "Zones & corregimientos",
      "description": "All 31 corregimientos and 7 premium zones with stats and profile.",
      "mime_type": "application/json"
    },
    {
      "uri": "panamaprop://blog",
      "name": "Blog articles",
      "description": "Market analysis, legal guides, ROI analyses (19+ posts, updated 2026).",
      "mime_type": "application/json"
    }
  ]
}
