Prototyp · Vorschau: alle Server aus der offiziellen Registry, alle 30 Minuten synchronisiert. Bewertungen und Benutzerkonten folgen in einem späteren Schritt.
PopNx MCPMCP-Server für alle, die KI nutzen · in einfachen Worten erklärt

WhatsApp MCP Server

von nakulbenVersion 0.1.0i★ –iLäuft auf deinem Computer
Name in der Registryio.github.nakulben/whatsapp-mcp

Installieren

Überblick

Beschreibung vom Entwickler (englisches Original)

Manage WhatsApp Business templates and send messages via Meta Cloud API

Die drei Säulen von PopNx MCP

Diese drei werden nie zu einer Punktzahl zusammengefasst: Meinungen, Messungen und Beliebtheit sind verschiedene Dinge.

Was du damit machen kannst

Für diesen Server haben wir noch keine Zusammenfassung in einfacher Sprache geschrieben. Unten stehen die Fakten, die wir aus der Registry gelesen haben.

  • Verbindung: Läuft auf deinem Computer
  • Transport: stdio
  • Kategorie: Chat & E-Mail
  • Das musst du eintragen: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID

Installation

Wähle die KI-App, die du nutzt, und kopiere die Einstellungen.

Bevor du installierst

  • Basischecks: 1 von 1 bestanden
  • Läuft auf deinem Computer mit den Rechten deines Benutzerkontos (Dateien, Netzwerk, Apps).
  • Das trägst du selbst ein: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID, META_APP_ID, META_API_VERSION

Als geheim markierte Werte sind Schlüssel zu deinem Konto. Gib sie nie weiter und füge sie nie in einen Chat ein.

Du brauchst

  • PyPIuv für Python installiert (für den Befehl uvx)

Welche App nutzt du?

Wähle oben deine App. Wir merken sie uns, damit der Button beim nächsten Mal „In … installieren“ anzeigt.

Öffne Claude Desktop → Settings → Developer → Edit Config und füge dies in claude_desktop_config.json ein

{
  "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"
      }
    }
  }
}

Führe das in deinem Terminal aus

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

Trag die leeren Werte ein, bevor du ihn startest.

In Cursor öffnen

Oder kopier die Einstellungen selbst

In .cursor/mcp.json in deinem Projekt oder in ~/.cursor/mcp.json einfügen

{
  "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"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

In VS Code öffnen

Oder kopier die Einstellungen selbst

In .vscode/mcp.json in deinem Projekt einfügen

{
  "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"
      }
    }
  }
}

Dein Browser fragt, ob er die App öffnen darf, dann zeigt die App die Einstellungen und bittet dich um Bestätigung. Schlüsselwerte bleiben leer, damit du sie selbst einträgst.

Dieser Server läuft auf deinem Computer, und ChatGPT kann sich nur mit Servern im Internet verbinden. Wähle eine andere App.

Deine Auswahl bleibt in einem Cookie auf diesem Gerät; kein Konto nötig.

Werte, die du selbst einträgst

  • META_ACCESS_TOKEN geheim erforderlich env
    Meta API access token with whatsapp_business_messaging and whatsapp_business_management permissions
  • META_WABA_ID erforderlich env
    WhatsApp Business Account ID
  • META_PHONE_NUMBER_ID erforderlich 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)

Diese Einstellungen werden aus dem Registry-Eintrag des Entwicklers erzeugt. Wenn in der README etwas anderes steht, folge der README.

Was er kann

Läuft auf deinem Computer; die Tool-Liste erscheint nach der Installation in deiner KI-App.

Basischecksi

Wir prüfen Informationen, die jeder sehen kann; den Code haben wir nicht gelesen. Checks, die nicht zutreffen, werden nicht mitgezählt. · Geprüft am 8. Nov. 2026

  • ✓ Bestanden

    Entwickler passt zum Repo

    Der Registry-Name wurde mit dem GitHub-Konto nakulben bestätigt, dem das Repo gehört

  • … Noch nicht geprüft

    Wird noch gepflegt

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • … Noch nicht geprüft

    Hat eine Lizenz

    Dieses Repo haben wir noch nicht von GitHub gelesen

  • – Nicht zutreffend

    Endpunkt antwortet

    Dieser Server läuft auf deinem Computer; es gibt keinen Endpunkt im Internet

  • – Nicht zutreffend

    Anmeldung mit OAuth

    Läuft auf deinem Computer und nutzt stattdessen lokale Einstellungen

  • … Noch nicht geprüft

    Keine versteckten Anweisungen in Tool-Beschreibungen

    Läuft auf deinem Computer; Tool-Listen können wir nur von Endpunkten im Internet lesen

Im Vergleich mit anderen in Chat & E-Maili

  • Mehr Sterne als 0 % der anderen 1850 Server in dieser Kategorie
  • Neuer in der Registry veröffentlicht als 5 % der anderen 1850 Server in dieser Kategorie
  • Basischecks gleich gut wie oder besser als bei 100 % der anderen 1850 Server in dieser Kategorie

Verglichen mit allen aktiven Servern dieser Kategorie in der Registry. Sterne zählen nur, wenn dem Herausgeber das Repo gehört.

Häufige Fragen

Ist WhatsApp MCP Server sicher?

Er hat 1 von 1 zutreffenden Basischecks bestanden. Den Code haben wir nicht gelesen. Bevor du einen Schlüssel oder Token hinzufügst, sieh nach, welche Zugriffe der Server verlangt, und nutze einen Schlüssel, der nur die Berechtigungen hat, die du brauchst.

Welche Schlüssel oder Codes braucht er?

Das musst du eintragen: META_ACCESS_TOKEN, META_WABA_ID, META_PHONE_NUMBER_ID

Läuft er auf meinem Computer oder in der Cloud?

Er läuft auf deinem Computer. Deine KI-App startet ihn bei Bedarf, und die Daten laufen nicht über die Server des Entwicklers (außer der Server ruft selbst einen Onlinedienst auf).

Wird er noch gepflegt?

Das GitHub-Repo wurde zuletzt – geändert, und die neueste Version (0.1.0) kam vor 7 Monaten in die Registry.

Welche Apps können ihn nutzen?

Apps, die MCP unterstützen, etwa Claude Desktop, Claude Code, Cursor und VS Code. Außerdem brauchst du Python (uv) auf deinem Computer.

Was kann ich stattdessen nutzen?

In derselben Kategorie: Vexa, emailmd, MCP WhatsApp Cloud

Alternativen

Server derselben Kategorie von anderen Entwicklern, sortiert nach Sternen.

So liest du eine Karte:↓ Downloads pro Wochei★ GitHub-SterneiDrei Säulen: Bewertungen · Checks · NutzungiAktualisiert = neueste Version in der Registry veröffentlichti

Vexa

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

von Vexa-aiWeit verbreitet★ 2949Aktualisiert vor 2 Monaten

Läuft in der Cloud✓ vexa.ai

emailmd

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

von anypostWachsend↓ 5342/Wo.★ 1385Aktualisiert vor 32 Tagen

Computer oder Cloud✓ emailmd.dev

MCP WhatsApp Cloud

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

von codesparAm Anfang↓ 63/Wo.★ 277Aktualisiert vor 5 Monaten

Läuft auf deinem Computer

README vom Entwickler

README öffnen

Unverändert aus dem Repo des Entwicklers übernommen. PopNx MCP hat den Inhalt weder geprüft noch empfiehlt es ihn. HTML, Bilder und Skripte wurden entfernt. Links führen von dieser Website weg.

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 fragen