MCP.so
Sign In

WhatsApp Business API MCP Server

@mattcoatsworth

Basic information

Category

Communication

Transports

stdio

Author

mattcoatsworth

About WhatsApp Business API MCP Server

No overview available yet

WhatsApp Business API MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "Whatsapp-MCP-Server": {
      "command": "npx",
      "args": [
        "whatsapp-business-mcp-server"
      ]
    }
  }
}

WhatsApp Business API MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

Fetch the live tool list by running this server in a temporary sandbox using the button above.

Overview

What is WhatsApp Business API MCP Server?

A Model Context Protocol (MCP) server for interacting with the WhatsApp Business API. It enables sending messages, managing templates, media, business profiles, phone numbers, and webhooks, intended for developers building AI‑driven applications on WhatsApp.

How to use WhatsApp Business API MCP Server?

Install via npm install whatsapp-business-mcp-server or run directly with npx whatsapp-business-mcp-server. Create a .env file with your WhatsApp Business API credentials (WHATSAPP_API_TOKEN, WHATSAPP_PHONE_NUMBER_ID, WHATSAPP_BUSINESS_ACCOUNT_ID, and optionally WHATSAPP_API_VERSION). Start the server with npm start or use npm run dev for development mode.

Key features of WhatsApp Business API MCP Server

  • Send text, template, media, and interactive messages
  • Manage message templates (create, list, retrieve)
  • Upload, retrieve, and delete media files
  • View and update business profile information
  • Manage phone numbers and verification codes
  • Configure and subscribe to webhooks

Use cases of WhatsApp Business API MCP Server

  • Send automated text or template messages to customers
  • Upload and share images, documents, and videos programmatically
  • Update business profile details like description or email
  • Verify and manage phone numbers for your WhatsApp Business Account
  • Subscribe to incoming messages and status webhooks

Frequently asked questions

1

What are the prerequisites to run the server?

Node.js 16 or higher and WhatsApp Business API credentials: API Token, Phone Number ID, and Business Account ID.

2

How do I configure the server?

Create a `.env` file in the project root and set `WHATSAPP_API_TOKEN`, `WHATSAPP_PHONE_NUMBER_ID`, `WHATSAPP_BUSINESS_ACCOUNT_ID`, and optionally `WHATSAPP_API_VERSION`.

3

What messaging tools are available?

Tools include `sendTextMessage`, `sendTemplateMessage`, `sendImageMessage`, `sendDocumentMessage`, `sendVideoMessage`, `sendLocationMessage`, `sendContactMessage`, `sendInteractiveMessage`, and `markMessageAsRead`.

4

How can I run the server in development mode?

Use the command `npm run dev` to start the server with development settings.

5

What resources does the server expose?

Resources such as `whatsapp://templates`, `whatsapp://business-profile`, `whatsapp://phone-numbers`, and `whatsapp://docs` for retrieving template lists, profile info, phone number details, and API documentation.

Comments

More Communication MCP servers