
pnizer/wweb-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
pnizer/wweb-mcp は https://github.com/pnizer/wweb-mcp. からインポートされた MCP サーバーの候補です
概要
pnizer/wweb-mcp は https://github.com/pnizer/wweb-mcp. からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
モデルコンテキストプロトコル(MCP)を介してAIモデルとWhatsApp Webを接続するNode.jsアプリケーション。 このプロジェクトは、WhatsAppとプログラムの相互作用のための標準化されたインターフェイスを提供し、AI主導のワークフローを通じて、自動メッセージング、連絡先管理、およびグループチャット機能を有効にします。
概要
WhatsApp Web MCP は、WhatsApp Web と AI のモデル間でシームレスな統合を実現します。
- モデルコンテキストプロトコル(MCP)による標準化されたインターフェイスの作成
- MCP の提供 WhatsApp機能へのサーバーアクセス
- SSEまたはコマンドモードによる柔軟な展開オプションの提供
- 直接WhatsAppクライアントの統合とAPIベースの接続の両方をサポート
免責事項
重要: このツールは、製造環境でのみ、使用すべきではありません。
WhatsApp Webプロジェクトからの免責事項:
このプロジェクトは、アフィリエイト、関連、認定、承認、または正式にWhatsAppまたはその子会社またはその関連会社と接続されていない。 公式のWhatsAppウェブサイトはwhatsapp.comで見つけることができます。 「WhatsApp」ならびに関連する名前、マーク、エンブレム、画像は、それぞれの所有者の登録商標です.
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
WhatsApp Web MCP
A Node.js application that connects WhatsApp Web with AI models through the Model Context Protocol (MCP). This project provides a standardized interface for programmatic interaction with WhatsApp, enabling automated messaging, contact management, and group chat functionality through AI-driven workflows.
Overview
WhatsApp Web MCP provides a seamless integration between WhatsApp Web and AI models by:
- Creating a standardized interface through the Model Context Protocol (MCP)
- Offering MCP Server access to WhatsApp functionality
- Providing flexible deployment options through SSE or Command modes
- Supporting both direct WhatsApp client integration and API-based connectivity
Disclaimer
IMPORTANT: This tool is for testing purposes only and should not be used in production environments.
Disclaimer from WhatsApp Web project:
This project is not affiliated, associated, authorized, endorsed by, or in any way officially connected with WhatsApp or any of its subsidiaries or its affiliates. The official WhatsApp website can be found at whatsapp.com. “WhatsApp” as well as related names, marks, emblems and images are registered trademarks of their respective owners. Also it is not guaranteed you will not be blocked by using this method. WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn’t be considered totally safe.
Learning Resources
To learn more about using WhatsApp Web MCP in real-world scenarios, check out these articles:
- Integrating WhatsApp with AI: Guide to Setting Up a WhatsApp MCP server
- Integrating OpenAI Agents Python SDK with Anthropic’s MCP
Installation
-
Clone the repository:
git clone https://github.com/pnizer/wweb-mcp.git cd wweb-mcp -
Install globally or use with npx:
# Install globally npm install -g . # Or use with npx directly npx . -
Build with Docker:
docker build . -t wweb-mcp:latest
Configuration
Command Line Options
| Option | Alias | Description | Choices | Default |
|---|---|---|---|---|
--mode |
-m |
Run mode | mcp, whatsapp-api |
mcp |
--mcp-mode |
-c |
MCP connection mode | standalone, api |
standalone |
--transport |
-t |
MCP transport mode | sse, command |
sse |
--sse-port |
-p |
Port for SSE server | - | 3002 |
--api-port |
- | Port for WhatsApp API server | - | 3001 |
--auth-data-path |
-a |
Path to store authentication data | - | .wwebjs_auth |
インストール
npx wweb-mcp -m mcp -s local -c api -t command --api-base-url http://localhost:3001/api --api-key 1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef設定
{
"mcpServers": {
"whatsapp": {
"command": "npx",
"args": [
"wweb-mcp",
"-m", "mcp",
"-s", "local",
"-c", "api",
"-t", "command",
"--api-base-url", "http://localhost:3001/api",
"--api-key", "1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
]
}
}
}