MCP.so
Sign In

WhatsApp MCP Assistant (Client-Server)

@Nirsisr

Basic information

Category

AI & Agents

Transports

stdio

Author

Nirsisr

About WhatsApp MCP Assistant

WhatsApp MCP Assistant (Client-Server)

WhatsApp MCP Assistant config

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

{
  "mcpServers": {
    "MCPWhatsApp": {
      "command": "python",
      "args": [
        "mcp_server.py"
      ]
    }
  }
}

WhatsApp MCP Assistant 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.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is WhatsApp MCP Assistant (Client-Server)?

The WhatsApp MCP Assistant (Client‑Server) is a natural‑language pipeline that sends and schedules WhatsApp messages. It uses a Mistral LLM to interpret user intent and Twilio’s WhatsApp API to perform the messaging.

How to use WhatsApp MCP Assistant (Client-Server)?

Install dependencies (pip install twilio requests fastapi), update config.py with your API keys and phone numbers, then run the server (python mcp_server.py) and the client (python mcp_client.py) in separate terminals. Type free‑form prompts like “Send a message to Nir.”

Key features of WhatsApp MCP Assistant (Client-Server)

  • Uses Mistral LLM for natural‑language intent parsing
  • Sends and schedules WhatsApp messages via Twilio
  • Client‑server architecture with a CLI interface
  • Configurable via config.py with API keys and numbers

Use cases of WhatsApp MCP Assistant (Client-Server)

  • Send a WhatsApp message by typing a plain‑English prompt
  • Schedule a WhatsApp message for a later time
  • Automate message dispatch as part of a larger toolchain

Frequently asked questions

1

What is the 24‑hour window limitation?

Twilio’s WhatsApp API only allows free‑form text messages within 24 hours of the user’s last inbound message. Outside that window you must use a pre‑approved Message Template.

2

How can I fix an out‑of‑window error?

Create a pre‑approved template in your [Twilio Console](https://www.twilio.com/console/sms/whatsapp/templates) or send a message from your WhatsApp to the Twilio number to reset the 24‑hour window.

3

What dependencies does it require?

The server and client need Python packages `twilio`, `requests`, and `fastapi`. API keys for Twilio and Mistral must be set in `config.py`.

4

How do I run it locally?

After installing dependencies and configuring `config.py`, start the server (`python mcp_server.py`) and the client (`python mcp_client.py`) in separate terminals. Ensure your WhatsApp has recently messaged the Twilio number to avoid the 24‑hour window issue.

5

Does the server support authentication or multiple transports?

The README does not mention authentication or different transports. It uses a simple CLI client and a Python server with HTTP (FastAPI).

Comments

More AI & Agents MCP servers