WhatsApp Business API MCP Server logo

WhatsApp Business API MCP Server

by mattcoatsworth

A comprehensive Model Context Protocol (MCP) server for interacting with the WhatsApp Business API. It provides tools for sending messages, managing templates and media, and updating business profiles.

View on GitHub

Last updated: N/A

What is WhatsApp Business API MCP Server?

This is a Model Context Protocol (MCP) server designed to facilitate interaction with the WhatsApp Business API. It provides a set of tools and resources for managing various aspects of WhatsApp Business communication.

How to use WhatsApp Business API MCP Server?

To use this server, you need Node.js 16 or higher and WhatsApp Business API credentials. Install the server using npm or npx, configure your credentials in a .env file, and start the server. You can then use the available tools for messaging, media management, template management, business profile updates, and phone number management.

Key features of WhatsApp Business API MCP Server

  • Send various types of messages (text, template, media, interactive)

  • Manage message templates

  • Upload and manage media files

  • Update business profile information

  • Manage phone numbers

  • Configure webhooks

Use cases of WhatsApp Business API MCP Server

  • Automated customer support via WhatsApp

  • Sending marketing messages and promotions

  • Managing business profile and contact information

  • Integrating WhatsApp with other business systems

FAQ from WhatsApp Business API MCP Server

What are the prerequisites for using this server?

You need Node.js 16 or higher and WhatsApp Business API credentials (API Token, Phone Number ID, Business Account ID).

How do I install the server?

You can install it using npm install whatsapp-business-mcp-server or run it directly with npx whatsapp-business-mcp-server.

How do I configure my WhatsApp Business API credentials?

Create a .env file with your API token, phone number ID, and business account ID.

How do I start the server?

Use the command npm start to start the server.

What types of messages can I send?

You can send text, template, media (image, document, video), interactive, and location messages.