MCP.so
ログイン

WhatsApp MCP Assistant (Client-Server)

@Nirsisr

基本情報

カテゴリ

AI とエージェント

トランスポート

stdio

作者

Nirsisr

WhatsApp MCP Assistant について

WhatsApp MCP Assistant (Client-Server)

WhatsApp MCP Assistant の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

WhatsApp MCP Assistant のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

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

よくある質問

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).

コメント

「AI とエージェント」の他のコンテンツ