MCP.so
ログイン

WhatsApp MCP Assistant (Client-Server)

@Nirsisr

WhatsApp MCP Assistant (Client-Server) について

WhatsApp MCP Assistant (Client-Server)

基本情報

カテゴリ

AI とエージェント

ランタイム

python

トランスポート

stdio

公開者

Nirsisr

設定

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

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

ツール

ツールは検出されませんでした

ツールは 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

FAQ from WhatsApp MCP Assistant (Client-Server)

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.

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

Create a pre‑approved template in your Twilio Console or send a message from your WhatsApp to the Twilio number to reset the 24‑hour window.

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.

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.

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 とエージェント」の他のコンテンツ