{
  "protocolVersion": "0.3.0",
  "name": "EnvoiSMS.ma Messaging Agent",
  "description": "Programmable SMS, OTP verification and Moroccan Virtual WhatsApp Business lines (+212 eSIM 07 Cloud) for Morocco and international destinations. Agents can discover pricing, send messages, deploy virtual numbers, and run phone verification flows via the MCP endpoint or REST API.",
  "url": "https://api.envoisms.ma/v1/mcp",
  "preferredTransport": "JSONRPC",
  "supportedInterfaces": [
    { "url": "https://api.envoisms.ma/v1/mcp", "transport": "JSONRPC" },
    { "url": "https://api.envoisms.ma/v1/", "transport": "HTTP+JSON" }
  ],
  "additionalInterfaces": [
    { "url": "https://api.envoisms.ma/v1/mcp", "transport": "JSONRPC" },
    { "url": "https://api.envoisms.ma/v1/", "transport": "HTTP+JSON" }
  ],
  "provider": {
    "organization": "EnvoiSMS.ma",
    "url": "https://envoisms.ma"
  },
  "version": "1.0.0",
  "documentationUrl": "https://envoisms.ma/fr/docs",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": false,
    "extensions": []
  },
  "securitySchemes": {
    "apiKey": {
      "type": "httpAuth",
      "scheme": "bearer",
      "description": "API key issued at https://envoisms.ma/fr/register — see https://envoisms.ma/auth.md"
    }
  },
  "security": [{ "apiKey": [] }],
  "defaultInputModes": ["application/json", "text/plain"],
  "defaultOutputModes": ["application/json", "text/plain"],
  "skills": [
    {
      "id": "sms-messaging",
      "name": "SMS messaging",
      "description": "Send single and bulk SMS messages across Morocco (+212) and internationally, over local carrier routes with automatic failover.",
      "tags": ["sms", "messaging", "morocco", "bulk"],
      "examples": ["Send an SMS to +212600000000 saying the delivery arrives at 14:00."]
    },
    {
      "id": "phone-verification",
      "name": "Phone verification (OTP)",
      "description": "Send and verify 6-digit OTP verification codes via SMS for 2FA and phone number verification.",
      "tags": ["otp", "verification", "2fa"],
      "examples": ["Send an OTP to +212600000000 and verify the code the user provides."]
    },
    {
      "id": "pricing",
      "name": "Pricing lookup",
      "description": "Public, unauthenticated lookup of per-destination SMS and WhatsApp pricing.",
      "tags": ["pricing", "public"],
      "examples": ["What does it cost to send 1,000 SMS to Morocco?"]
    },
    {
      "id": "virtual-waba-line",
      "name": "Virtual WhatsApp Line (+212)",
      "description": "Deploy a dedicated Moroccan WhatsApp Business line (+212 eSIM 07) on official Meta Cloud API. No physical phone, team inbox, ANRT compliant.",
      "tags": ["whatsapp", "waba", "virtual-number", "morocco", "cloud"],
      "examples": ["How do I activate a Moroccan virtual WhatsApp number?"]
    }
  ]
}
