Vexa
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Manage WhatsApp Business templates and send messages via Meta Cloud API
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID, META_APP_ID, META_API_VERSIONค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"whatsapp": {
"command": "uvx",
"args": [
"jina-whatsapp-mcp"
],
"env": {
"META_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"META_WABA_ID": "ใส่ค่าของคุณ",
"META_PHONE_NUMBER_ID": "ใส่ค่าของคุณ",
"META_APP_ID": "ใส่ค่าของคุณ",
"META_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add whatsapp --env META_ACCESS_TOKEN='ใส่ค่าของคุณ' --env META_WABA_ID='ใส่ค่าของคุณ' --env META_PHONE_NUMBER_ID='ใส่ค่าของคุณ' --env META_APP_ID='ใส่ค่าของคุณ' --env META_API_VERSION='ใส่ค่าของคุณ' -- uvx jina-whatsapp-mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"whatsapp": {
"command": "uvx",
"args": [
"jina-whatsapp-mcp"
],
"env": {
"META_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"META_WABA_ID": "ใส่ค่าของคุณ",
"META_PHONE_NUMBER_ID": "ใส่ค่าของคุณ",
"META_APP_ID": "ใส่ค่าของคุณ",
"META_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"whatsapp": {
"type": "stdio",
"command": "uvx",
"args": [
"jina-whatsapp-mcp"
],
"env": {
"META_ACCESS_TOKEN": "ใส่ค่าของคุณ",
"META_WABA_ID": "ใส่ค่าของคุณ",
"META_PHONE_NUMBER_ID": "ใส่ค่าของคุณ",
"META_APP_ID": "ใส่ค่าของคุณ",
"META_API_VERSION": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
META_APP_ID envMETA_API_VERSION envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub nakulben ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0) เข้า registry 7 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Vexa, emailmd, MCP WhatsApp Cloud
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
Manage WhatsApp Business templates and send messages from Claude, ChatGPT, Cursor, VS Code Copilot, or any MCP-compatible client — powered by the Meta Cloud API.
| Tool | Description |
|---|---|
validate_template | Validate a template payload before submitting to Meta |
create_template | Submit a template for Meta approval |
list_templates | List templates with optional filters (status, category, name) |
get_template_detail | Get full details of a template by ID |
check_template_status | Quick status check for a template |
delete_template | Delete a template by name |
send_template_message | Send an approved template to a phone number |
send_bulk_template_messages | Send an approved template to multiple phone numbers |
8 tools covering the full template lifecycle: create → validate → approve → send.
git clone https://github.com/nakulben/whatsapp-mcp.git
cd whatsapp-mcp python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt
cp .env.example .env
META_ACCESS_TOKEN=your_access_token
META_WABA_ID=your_whatsapp_business_account_id META_PHONE_NUMBER_ID=your_phone_number_id META_APP_ID=your_app_id # Optional, for media uploads META_API_VERSION=v24.0 # Optional, defaults to v24.0
Environment variables are used by all modes — local stdio and hosted remote.
How to get these? Go to Meta for Developers, create or select your app, navigate to WhatsApp > API Setup.
The server supports 3 transport modes:
| Transport | Command | Used By |
|---|---|---|
stdio (default) | python -m whatsapp_mcp | Claude Desktop, Cursor, VS Code, Windsurf |
sse | python -m whatsapp_mcp --transport sse | Legacy remote clients |
streamable-http | python -m whatsapp_mcp --transport streamable-http | Claude.ai, ChatGPT, newer MCP clients |
For HTTP transports, you can customize host/port:
python -m whatsapp_mcp --transport streamable-http --host 0.0.0.0 --port 8000
Add to claude_desktop_config.json:
{
"mcpServers": { "whatsapp": { "command": "/path/to/whatsapp-mcp/venv/bin/python", "args": ["-m", "whatsapp_mcp"], "env": { "META_ACCESS_TOKEN": "your_access_token", "META_WABA_ID": "your_waba_id", "META_PHONE_NUMBER_ID": "your_phone_number_id", "META_APP_ID": "your_app_id" } } } }
Claude.ai connects to remote MCP servers as custom connectors. The connection originates from Anthropic's cloud servers, not from your machine.
python -m whatsapp_mcp --transport streamable-http --host 0.0.0.0 --port 8001
https://your-domain.com/mcp/)Note: Claude.ai does not support custom request headers. The server must be pre-configured with Meta credentials via environment variables. Each hosted server serves one WhatsApp Business Account.
Example nginx config
location /mcp/ {
proxy_pass http://127.0.0.1:8001/; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_read_timeout 86400; }
</details>
ChatGPT supports remote MCP servers via the Responses API. It supports both Streamable HTTP and SSE transports.
Option 1 — Server pre-configured with env vars (simplest):
from openai import OpenAI
client = OpenAI() resp = client.responses.create( model="gpt-4.1", tools=[{ "type": "mcp", "server_label": "whatsapp", "server_url": "https://your-domain.com/mcp/", "require_approval": "never", }], input="List all my approved templates", )
Option 2 — Per-request credentials via Bearer token:
Encode your Meta credentials as base64 JSON and pass them in the authorization field. OpenAI forwards this value as the Authorization header to your MCP server:
# Create the token
echo -n '{"access_token":"EAA...","phone_number_id":"123","waba_id":"456"}' | base64
resp = client.responses.create(
model="gpt-4.1", tools=[{ "type": "mcp", "server_label": "whatsapp", "server_url": "https://your-domain.com/mcp/", "authorization": "eyJhY2Nlc3NfdG9rZW4iOiJFQUEuLi4iLCJwaG9uZV9udW1iZXJfaWQiOiIxMjMiLCJ3YWJhX2lkIjoiNDU2In0=", "require_approval": "never", }], input="List all my approved templates", )
Note: ChatGPT only supports remote MCP servers (no local stdio). Your server must be publicly accessible over HTTPS.
Add to .cursor/mcp.json in your project:
{
"mcpServers": { "whatsapp": { "command": "/path/to/whatsapp-mcp/venv/bin/python", "args": ["-m", "whatsapp_mcp"] } } }
Add to .vscode/mcp.json:
{
"servers": { "whatsapp": { "type": "stdio", "command": "/path/to/whatsapp-mcp/venv/bin/python", "args": ["-m", "whatsapp_mcp"] } } }
For programmatic access or custom MCP clients, you can pass per-request credentials instead of relying on server env vars. Two methods are supported:
Method 1 — Bearer token (recommended):
Base64-encode a JSON object with your Meta credentials:
# Create the token
TOKEN=$(echo -n '{"access_token":"EAA...","phone_number_id":"123","waba_id":"456"}' | base64)
curl -H "Authorization: Bearer $TOKEN" https://your-server.com/mcp/ ...
Required fields: access_token, phone_number_id, waba_id. Optional: app_id, api_version.
**Method 2 — X-Meta-* headers:**
| Header | Required | Description |
|---|---|---|
X-Meta-Access-Token | Yes | Your Meta access token |
X-Meta-Phone-Number-Id | Yes | Your WhatsApp phone number ID |
X-Meta-Business-Account-Id | Yes | Your WhatsApp Business Account ID |
X-Meta-App-Id | No | Your Meta app ID (for media uploads) |
X-Meta-Api-Version | No | API version (defaults to v24.0) |
If neither Bearer token nor X-Meta-* headers are present, the server falls back to environment variables.
Once connected, just talk to your AI assistant:
"Create a marketing template called
summer_salewith a header image, body text about 50% off, and a Shop Now button"
"List all my approved templates"
"Send the
order_confirmationtemplate to +919876543210 with order number ORD-456"
"Validate this template before I submit it: ..."
"Check the status of template ID 123456789"
Meta's API has 2 template categories(excluding Authentication). Within each category, templates can have different structural variants — each with its own component layout and validation rules.
| Structural Variant | Create | Send | Key Components |
|---|---|---|---|
| Text / Image / Video / Document | ✅ | ✅ | Header (optional) + Body + Footer + Buttons |
| Carousel | ✅ | ✅ | Cards with per-card header, body, buttons |
| Catalog | ✅ | ✅ | Body + CATALOG button |
| Limited-Time Offer (LTO) | ✅ | ✅ | Body + limited_time_offer component + copy code button |
| Coupon Code | ✅ | ✅ | Body + copy_code button |
| Multi-Product Message (MPM) | ✅ | ✅ | Body + product_list action with sections |
| Single-Product Message (SPM) | ✅ | ✅ | Body + product action |
| Product Card Carousel | ✅ | ✅ | Body + product cards with buttons |
| Call Permission | ✅ | — | Body + call_permission button |
| Structural Variant | Create | Send | Key Components |
|---|---|---|---|
| Text / Image / Video / Document | ✅ | ✅ | Header (optional) + Body + Footer + Buttons |
| Order Details | ✅ | ✅ | Body + order_details button with payment payload |
| Order Status | ✅ | ✅ | Body + order status parameters |
How routing works: When you call
create_template, the server inspects the components to auto-detect the structural variant (e.g., presence ofcards[]→ Carousel,CATALOGbutton → Catalog) and applies the correct validator. You just passcategory: "MARKETING"or"UTILITY"— the variant is determined from the component structure.
pip install pytest pytest-asyncio
python -m pytest tests/ -v
whatsapp-mcp/
├── whatsapp_mcp/ │ ├── init.py # Package version │ ├── main.py # Entry point (python -m whatsapp_mcp) │ ├── config.py # Environment config loader │ ├── meta_api.py # Async Meta Graph API client │ ├── middleware.py # ASGI middleware for per-request credentials │ ├── server.py # MCP server with 8 tools │ ├── models/ # Pydantic data models │ │ ├── body.py # Body component │ │ ├── header.py # Header component (text/image/video/document) │ │ ├── footer.py # Footer component │ │ ├── buttons.py # Button types (URL, phone, quick reply, etc.) │ │ ├── buttons_component.py │ │ ├── enums.py # Template categories, types, formats │ │ └── order_models.py # Order-related models (checkout templates) │ └── validators/ │ ├── create/ # 12 template creation validators │ └── send/ # 11 template send validators ├── tests/ │ ├── test_validators.py # Validator tests │ ├── test_meta_api.py # API client tests (mocked HTTP) │ └── test_tools.py # MCP tool registration & helper tests ├── .env.example ├── requirements.txt ├── LICENSE # MIT └── ROADMAP.md
whatsapp_business_messaging and whatsapp_business_management permissions| Package | Purpose |
|---|---|
mcp | Model Context Protocol SDK |
httpx | Async HTTP client for Meta API |
pydantic | Payload validation |
python-dotenv | Environment config |
See ROADMAP.md for planned features.
MIT — see LICENSE.
Built by Jina Connect — the WhatsApp Business CX platform.