MCP.so
登录

WhatsApp Business API MCP Server

@mattcoatsworth

基本信息

分类

沟通协作

传输方式

stdio

作者

mattcoatsworth

关于 WhatsApp Business API MCP Server

暂无概览

WhatsApp Business API MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

WhatsApp Business API MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

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

常见问题

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.

评论

沟通协作 分类下的更多 MCP 服务器