mcp-whatsapp mcp

v1.0.0 · MCP Tool · communication · registry.pascalai.org

Send WhatsApp messages via WhatsApp Business Cloud API: text, templates, images and documents.

whatsappmessagingsmsbusinessmeta

Input Parameters

ParameterTypeDescription
phone_idrequired string WhatsApp Business Phone Number ID.
access_tokenrequired string
operationrequired string One of: send_text, send_template, send_image, send_document, send_audio, get_media.
torequired string Recipient phone number with country code, e.g. 15551234567.
textoptional string
template_nameoptional string
template_languageoptional string Default: en_US.
template_paramsoptional array[string]
media_urloptional string
captionoptional string
media_idoptional string

Output Fields

FieldTypeDescription
operation string
message_id string
status string

Examples

Send text message

// Input
{
  "phone_id": "1234",
  "access_token": "xxx",
  "operation": "send_text",
  "to": "15551234567",
  "text": "Your order has shipped!"
}

// Output
{
  "operation": "send_text",
  "message_id": "wamid.xxx",
  "status": "sent"
}

Install & Discovery

Install

ppm install mcp-whatsapp

Get JSON Schema

GET /v1/packages/mcp-whatsapp/1.0.0/schema

Discover by keyword

GET /v1/mcp/discover?q=whatsapp
Discovery hint: Install with ppm install mcp-whatsapp or invoke remotely via POST /v1/invoke/mcp-whatsapp on the MCP Service.

PascalAI Usage

uses toolslib;
var Tool := LoadTool('mcp-whatsapp');
var R := Tool.Call(JsonObj([]));
Writeln(R.ToJSON);