{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "server": {
    "name": "encrata",
    "url": "https://mcp.encrata.com",
    "auth": {
      "type": "bearer",
      "header": "Authorization",
      "description": "API key with prefix enc_live_. Get one at https://app.encrata.com/settings/api-keys"
    },
    "version": "1.0.0",
    "docs": "https://encrata.com/ai/mcp.md"
  },
  "tools": [
    {
      "name": "lookup",
      "description": "Full person profile from an email address (1,000 credits).",
      "inputSchema": {
        "type": "object",
        "required": ["email"],
        "properties": {
          "email": { "type": "string", "format": "email", "description": "Email address to enrich." },
          "fields": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Optional. Restrict the response to the named top-level sections."
          }
        }
      }
    },
    {
      "name": "email_validity",
      "description": "Deliverability verdict for an email address (1 credit). Returns one of valid, invalid, catch_all, risky, unknown.",
      "inputSchema": {
        "type": "object",
        "required": ["email"],
        "properties": {
          "email": { "type": "string", "format": "email" }
        }
      }
    },
    {
      "name": "smtp_verify",
      "description": "Live mailbox existence check without sending mail (1 credit).",
      "inputSchema": {
        "type": "object",
        "required": ["email"],
        "properties": {
          "email": { "type": "string", "format": "email" }
        }
      }
    },
    {
      "name": "email_breaches",
      "description": "Known data-breach exposure for an email address (1 credit).",
      "inputSchema": {
        "type": "object",
        "required": ["email"],
        "properties": {
          "email": { "type": "string", "format": "email" }
        }
      }
    },
    {
      "name": "password_breaches",
      "description": "k-anonymity password leak check (1 credit). Send the first 5 characters of the SHA-1 hash of the password; the password never leaves the client.",
      "inputSchema": {
        "type": "object",
        "required": ["hash_prefix"],
        "properties": {
          "hash_prefix": { "type": "string", "description": "First 5 characters of the SHA-1 hash of the password." }
        }
      }
    }
  ]
}
