WhatsApp MCP

by codechap

Not rated
GitHub

About

MCP server for Meta WhatsApp Cloud API — send free-form and template messages

Details

Author
codechap
Categories
Communication, Other, Productivity

Setup

Install WhatsApp MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/codechap/mcp-server-whatsapp

Follow the installation instructions in the repository README, then restart your MCP client.

MCP server for sending WhatsApp messages using the officialMeta WhatsApp Cloud API(Graph API).

- send_message— Free-form text messages (only works inside an active 24-hour customer service window)
- send_template— Send pre-approved template messages (required to start new conversations)
- Full support for template variables via JSONcomponents

Note:This server no longer uses Twilio. It talks directly to Meta.

Create~/.config/mcp-server-whatsapp/config.toml:

access_token = "EAAxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" phone_number_id = "123456789012345" # Optional # api_version = "v21.0"

- Go toMeta for Developers→ Your App → WhatsApp → API Setup
- Create aSystem Userin Business Settings with thewhatsapp_business_messagingpermission
- Generate a long-lived access token
- Copy thePhone number ID(not the actual phone number)

{ "to": "+27821234567", "body": "Hello from the MCP server!" }
{ "to": "+27821234567", "template_name": "order_confirmation", "language_code": "en_US", "components": "[{\"type\":\"body\",\"parameters\":[{\"type\":\"text\",\"text\":\"John\"},{\"type\":\"text\",\"text\":\"tomorrow\"}]}]" }

The previous version used Twilio. The new config format is completely different:

get_message_statushas been removed.Meta does not provide a synchronous lookup endpoint. Every successful send returns awamidthat you can correlate with webhook events.

- Media upload tool (upload_media) to get Meta media IDs for rich messages and template headers
- Support for more message types (interactive, location, etc.)
- Template management helpers

Manage your WhatsApp, SMS and Phone Calls using a single MCP connector

Send SMS, WhatsApp, and RCS messages programmatically with DLT compliance. Manage contacts, schedule campaigns, and track delivery reports.

143 local tools for Claude, Cursor & ChatGPT — Mail, iMessage, Teams, Slack, WhatsApp & files. 100% local, no API keys.

Send SMS, MMS, WhatsApp messages, make voice calls, and manage Twilio phone numbers

Automate WhatsApp by sending messages, summarizing conversations, and managing chats using natural language with AI assistants.

Inspect Wapiworld sender and webhook health, and send one explicitly confirmed WhatsApp text.

Search, read, and send personal WhatsApp messages, contacts, and media files.

A WhatsApp MCP (Model Context Protocol) server that connects your WhatsApp account with AI agents, enabling automated messaging, contact search, and chat interaction through LLMs.

Connect your TimelinesAI WhatsApp inbox to Claude. List chats, read history, send messages, react, label, assign teammates — all as you, in production.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.