프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

WhatsApp MCP Server

제작자: nakulben버전 0.1.0i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.nakulben/whatsapp-mcp

설치

개요

제작자가 쓴 설명(영어 원문)

Manage WhatsApp Business templates and send messages via Meta Cloud API

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 채팅 및 이메일
  • 입력해야 할 값: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 직접 입력할 값: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID, META_APP_ID, META_API_VERSION

비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.

필요한 것

  • PyPIPython의 uv 설치(uvx 명령어용)

어떤 앱을 쓰세요?

위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.

Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요

{
  "mcpServers": {
    "whatsapp": {
      "command": "uvx",
      "args": [
        "jina-whatsapp-mcp"
      ],
      "env": {
        "META_ACCESS_TOKEN": "your-value",
        "META_WABA_ID": "your-value",
        "META_PHONE_NUMBER_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_API_VERSION": "your-value"
      }
    }
  }
}

터미널에서 이 명령어를 실행하세요

claude mcp add whatsapp --env META_ACCESS_TOKEN=your-value --env META_WABA_ID=your-value --env META_PHONE_NUMBER_ID=your-value --env META_APP_ID=your-value --env META_API_VERSION=your-value -- uvx jina-whatsapp-mcp

실행하기 전에 빈 값을 채워 주세요.

Cursor에서 열기

또는 설정을 직접 복사하기

프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요

{
  "mcpServers": {
    "whatsapp": {
      "command": "uvx",
      "args": [
        "jina-whatsapp-mcp"
      ],
      "env": {
        "META_ACCESS_TOKEN": "your-value",
        "META_WABA_ID": "your-value",
        "META_PHONE_NUMBER_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_API_VERSION": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

VS Code에서 열기

또는 설정을 직접 복사하기

프로젝트의 .vscode/mcp.json에 붙여 넣으세요

{
  "servers": {
    "whatsapp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "jina-whatsapp-mcp"
      ],
      "env": {
        "META_ACCESS_TOKEN": "your-value",
        "META_WABA_ID": "your-value",
        "META_PHONE_NUMBER_ID": "your-value",
        "META_APP_ID": "your-value",
        "META_API_VERSION": "your-value"
      }
    }
  }
}

브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.

이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.

선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.

직접 입력할 값

  • META_ACCESS_TOKEN 비밀 필수 env
    Meta API access token with whatsapp_business_messaging and whatsapp_business_management permissions
  • META_WABA_ID 필수 env
    WhatsApp Business Account ID
  • META_PHONE_NUMBER_ID 필수 env
    WhatsApp phone number ID
  • META_APP_ID env
    Meta app ID (for media uploads)
  • META_API_VERSION env
    Meta Graph API version (defaults to v24.0)

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 8일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 nakulben 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

채팅 및 이메일 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 1856개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 1856개 중 5%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 1856개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

WhatsApp MCP Server, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

입력해야 할 값: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.0)은 7개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Vexa, emailmd, MCP WhatsApp Cloud

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Vexa

Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.

제작자: Vexa-ai널리 사용됨★ 2.9천2개월 전 업데이트

클라우드에서 실행✓ vexa.ai

emailmd

Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.

제작자: anypost성장 중↓ 5.3천/주★ 1.4천33일 전 업데이트

컴퓨터 또는 클라우드✓ emailmd.dev

MCP WhatsApp Cloud

MCP server for WhatsApp Cloud API (Meta) — messages, media, and templates via Graph API

제작자: codespar초기↓ 63/주★ 2775개월 전 업데이트

내 컴퓨터에서 실행

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

WhatsApp MCP Server

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.

What It Does

ToolDescription
validate_templateValidate a template payload before submitting to Meta
create_templateSubmit a template for Meta approval
list_templatesList templates with optional filters (status, category, name)
get_template_detailGet full details of a template by ID
check_template_statusQuick status check for a template
delete_templateDelete a template by name
send_template_messageSend an approved template to a phone number
send_bulk_template_messagesSend an approved template to multiple phone numbers

8 tools covering the full template lifecycle: create → validate → approve → send.

Quick Start

1. Clone & Install
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

2. Configure Credentials
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.

3. Connect to Your MCP Client

The server supports 3 transport modes:

TransportCommandUsed By
stdio (default)python -m whatsapp_mcpClaude Desktop, Cursor, VS Code, Windsurf
ssepython -m whatsapp_mcp --transport sseLegacy remote clients
streamable-httppython -m whatsapp_mcp --transport streamable-httpClaude.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

Claude Desktop (stdio — local)

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 Web (remote — streamable-http)

Claude.ai connects to remote MCP servers as custom connectors. The connection originates from Anthropic's cloud servers, not from your machine.

  1. Host the server with env vars configured, behind HTTPS:
   python -m whatsapp_mcp --transport streamable-http --host 0.0.0.0 --port 8001
  1. Put it behind HTTPS using nginx, Caddy, or a tunnel (ngrok, Cloudflare Tunnel)
  2. In Claude.ai: go to Customize > Connectors → Add custom connector
  3. Enter your server URL (e.g. https://your-domain.com/mcp/)
  4. Claude supports authless or OAuth-based servers. For simplest setup, leave auth blank — the server will use the env vars you configured in step 1.

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 (remote — Responses API)

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

Output: eyJhY2Nlc3NfdG9rZW4iOiJFQUEuLi4iLCJwaG9uZV9udW1iZXJfaWQiOiIxMjMiLCJ3YWJhX2lkIjoiNDU2In0=

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.

Cursor (stdio)

Add to .cursor/mcp.json in your project:

{

"mcpServers": { "whatsapp": { "command": "/path/to/whatsapp-mcp/venv/bin/python", "args": ["-m", "whatsapp_mcp"] } } }

VS Code Copilot (stdio)

Add to .vscode/mcp.json:

{

"servers": { "whatsapp": { "type": "stdio", "command": "/path/to/whatsapp-mcp/venv/bin/python", "args": ["-m", "whatsapp_mcp"] } } }

Per-Request Credentials (direct HTTP / curl / scripts)

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)

Use it

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:**

HeaderRequiredDescription
X-Meta-Access-TokenYesYour Meta access token
X-Meta-Phone-Number-IdYesYour WhatsApp phone number ID
X-Meta-Business-Account-IdYesYour WhatsApp Business Account ID
X-Meta-App-IdNoYour Meta app ID (for media uploads)
X-Meta-Api-VersionNoAPI version (defaults to v24.0)

If neither Bearer token nor X-Meta-* headers are present, the server falls back to environment variables.

Usage Examples

Once connected, just talk to your AI assistant:

"Create a marketing template called summer_sale with a header image, body text about 50% off, and a Shop Now button"

"List all my approved templates"

"Send the order_confirmation template to +919876543210 with order number ORD-456"

"Validate this template before I submit it: ..."

"Check the status of template ID 123456789"

Supported Template Types

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.

Marketing Templates
Structural VariantCreateSendKey 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
Utility Templates
Structural VariantCreateSendKey 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 of cards[] → Carousel, CATALOG button → Catalog) and applies the correct validator. You just pass category: "MARKETING" or "UTILITY" — the variant is determined from the component structure.

Running Tests

pip install pytest pytest-asyncio

python -m pytest tests/ -v

Project Structure

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

Requirements

  • Python 3.10+
  • Meta WhatsApp Business Account
  • System User access token with whatsapp_business_messaging and whatsapp_business_management permissions
Dependencies
PackagePurpose
mcpModel Context Protocol SDK
httpxAsync HTTP client for Meta API
pydanticPayload validation
python-dotenvEnvironment config

Roadmap

See ROADMAP.md for planned features.

License

MIT — see LICENSE.


Built by Jina Connect — the WhatsApp Business CX platform.

PopNx에게 묻기