Whatsapp Business Mcp
@nakulben
Manage WhatsApp Business templates and send messages from Claude, ChatGPT, Cursor, VS Code Copilot, or any MCP-compatible client — powered by the Meta Cloud API.
Overview
What is Whatsapp Business Mcp?
Manage WhatsApp Business templates and send messages from Claude, ChatGPT, Cursor, VS Code Copilot, or any MCP-compatible client — powered by the Meta Cloud API.
How to use Whatsapp Business Mcp?
Clone the repository, install dependencies, configure environment variables (META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID), then run the server with python -m whatsapp_mcp and connect it to your MCP client using the appropriate transport (stdio, SSE, or streamable-http).
Key features of Whatsapp Business Mcp
- 8 tools covering template lifecycle (create, validate, send, delete)
- Supports stdio, SSE, and streamable-http MCP transports
- Per-request credentials via Bearer token or X-Meta-* headers
- Works with Claude Desktop, Claude.ai, ChatGPT, Cursor, VS Code
- Validates template payloads against Meta’s structural variant rules
- Bulk sending of approved templates to multiple phone numbers
Use cases of Whatsapp Business Mcp
- Create and submit WhatsApp Business message templates for Meta approval
- Send approved templates to individual or bulk phone numbers
- Integrate template management into AI-powered workflows via MCP clients
FAQ from Whatsapp Business Mcp
What is MCP?
MCP (Model Context Protocol) is a standard that lets AI assistants like Claude and ChatGPT interact with external tools and data sources.
How do I get Meta API credentials?
Go to Meta for Developers, create or select your app, navigate to WhatsApp > API Setup, and copy your access token, WABA ID, and phone number ID.
What transport modes does the server support?
The server supports stdio (local clients like Claude Desktop, Cursor, VS Code), SSE (legacy remote), and streamable-http (Claude.ai, ChatGPT, newer MCP clients).
Can I pass credentials per request instead of via environment variables?
Yes. For HTTP transports you can send a Bearer token (base64-encoded JSON with access_token, phone_number_id, waba_id) or X-Meta-* headers. Environment variables are used as fallback.
Does this server work with ChatGPT?
Yes, but only as a remotely hosted MCP server via streamable-http. ChatGPT does not support local stdio mode. The server must be publicly accessible over HTTPS.