Built by Metorial, the integration platform for agentic AI.
Server Summary
Send WhatsApp messages
Manage media files
Create interactive menus
Handle message templates
A comprehensive Model Context Protocol (MCP) server that enables seamless integration with WhatsApp Business API. Send messages, share media, manage templates, and interact with customers through WhatsApp's powerful messaging platform. This server provides a complete toolkit for building automated WhatsApp communication workflows, from simple text messages to interactive buttons and lists.
The WhatsApp MCP Server bridges the gap between AI applications and WhatsApp Business API, allowing you to leverage WhatsApp's extensive messaging capabilities programmatically. Whether you're building customer support automation, notification systems, or interactive conversational experiences, this server provides all the tools you need to communicate effectively through WhatsApp.
With support for multiple message types including text, media, locations, contacts, and interactive elements, you can create rich, engaging experiences for your users. The server handles all the complexities of the WhatsApp Business API, providing a clean, intuitive interface for sending messages and managing your WhatsApp business account.
Send a wide variety of message types to engage with your customers:
Build conversational interfaces with:
Efficiently handle media files:
Manage your WhatsApp Business presence:
Send a text message to a WhatsApp number.
Parameters:
recipient (required): Recipient phone number in international format (e.g., +1234567890)text (required): The text message to sendpreview_url (optional): Whether to show URL preview in the messageSend a pre-approved message template for notifications, alerts, or marketing messages.
Parameters:
recipient (required): Recipient phone number in international formattemplate_name (required): Name of the approved templatelanguage_code (required): Language code (e.g., en, en_US)parameters (optional): Array of parameter values for dynamic template variablesSend an image, video, audio file, or document to a recipient.
Parameters:
recipient (required): Recipient phone number in international formatmedia_type (required): Type of media to send (image, video, audio, or document)media_url (optional): URL of the media filemedia_id (optional): Media ID from WhatsApp (alternative to URL)caption (optional): Caption for the media (for image, video, document)filename (optional): Filename for document typeSend a location message with geographic coordinates.
Parameters:
recipient (required): Recipient phone number in international formatlatitude (required): Latitude coordinatelongitude (required): Longitude coordinatename (optional): Name of the locationaddress (optional): Address of the locationSend one or more contact cards in vCard format.
Parameters:
recipient (required): Recipient phone number in international formatcontacts (required): Array of contact objects, each containing:
name (required): Object with formatted_name (required), first_name (optional), and last_name (optional)phones (optional): Array of phone objects with phone and type (e.g., CELL, WORK)emails (optional): Array of email objects with email and typeSend an interactive message with up to 3 clickable buttons.
Parameters:
recipient (required): Recipient phone number in international formatbody_text (required): Body text of the messagebuttons (required): Array of 1-3 button objects, each with:
id (required): Unique button identifiertitle (required): Button text (max 20 characters)header_text (optional): Optional header textfooter_text (optional): Optional footer textSend an interactive message with a list of selectable options organized into sections.
Parameters:
recipient (required): Recipient phone number in international formatbody_text (required): Body text of the messagebutton_text (required): Text on the list button (max 20 characters)sections (required): Array of section objects, each containing:
title (optional): Section titlerows (required): Array of row objects with id, title (max 24 characters), and optional description (max 72 characters)header_text (optional): Optional header textfooter_text (optional): Optional footer textMark a received message as read to maintain conversation status.
Parameters:
message_id (required): The message ID to mark as readList all approved message templates for your WhatsApp Business Account.
Parameters:
limit (optional): Number of templates to return (default: 100)after (optional): Cursor for pagination to fetch next page of resultsUpload media files to WhatsApp servers and receive a media ID for later use.
Parameters:
media_url (required): URL of the media file to uploadmedia_type (required): MIME type of the media (e.g., image/jpeg, video/mp4, audio/mpeg)Delete media from WhatsApp servers to manage storage and remove unused files.
Parameters:
media_id (required): The media ID to deleteAccess media resource details and download URLs.
URI Template: whatsapp://media/{media_id}
Retrieve information about uploaded media including download URLs, MIME types, and file sizes. Use this resource to access media that has been uploaded to WhatsApp servers.
Access your WhatsApp Business profile information.
URI Template: whatsapp://profile/business
Get details about your business profile including business name, description, category, address, email, and website information.
Access phone number profile and quality details.
URI Template: whatsapp://profile/phone/{phone_number_id}
Retrieve information about a specific phone number including its display name, verification status, quality rating, and messaging limits.
Access details of a specific message template.
URI Template: whatsapp://template/{template_name}
Get comprehensive information about a message template including its status, language, category, components, and parameter structure.
The WhatsApp MCP Server enables a wide range of business communication scenarios:
WhatsApp supports rich message formatting to enhance communication:
When using the WhatsApp MCP Server, keep these guidelines in mind:
This server interfaces with WhatsApp Business API, which has specific usage policies and requirements. Ensure your use case complies with WhatsApp's Commerce Policy and Business Policy. Template messages must be pre-approved before use, and certain message types can only be sent in response to user-initiated conversations within the 24-hour customer service window.