Skip to content
MCP server
Registry

WhatsApp Messaging API MCP Server

Send WhatsApp messages from Claude. No Meta Business approval or WhatsApp Business account.

WhatsApp Messaging API scores 69 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 9 tools. Filed under Communication. GitHub shows 0 stars. Package registries report about 79 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by jevil25MITTypeScript0 stars
Trust score
69Good
Trust score 69 of 100, Good

Good trust

69 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 69 comes from

22 + 20 + 3 + 10 + 4 + 10 = 69. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs10 / 10

A real summary, a README with depth, listed tools.

Docs: 10 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "jevil25-whatsapp-messaging-api-mcp": {      "command": "npx",      "args": [        "-y",        "whatsapp-messaging-api-mcp@2.0.0"      ],      "env": {        "WHATSAPP_API_KEY": "YOUR_WHATSAPP_API_KEY"      }    }  }}

Environment variables

NameRequiredNotes
WHATSAPP_API_KEYSecretRequiredSession token (ch_live_...) or account key (ak_live_...) from whatsapp-messaging.retentionstack.agency/app. Free tier, no credit card.

Tools9Tool docs quality grade C

All capabilities

About

WhatsApp Messaging API — MCP Server

Send WhatsApp messages from Claude, Cursor, or any MCP client. Create a session, scan a QR code, and send text, images and files — no Meta Business approval and no WhatsApp Business account required.

Wraps the WhatsApp Messaging API by Retention Stack.

Quick start

  1. Sign in at whatsapp-messaging.retentionstack.agency/start (free tier, no credit card) and copy a key from the console:

    • a session token (ch_live_...) for one number. Tools then need no session name.
    • an account key (ak_live_...) for every number on your account. Needed for create_session; pass session to the other tools.
  2. Add this to your MCP client config (Claude Desktop: claude_desktop_config.json):

    {
      "mcpServers": {
        "whatsapp": {
          "command": "npx",
          "args": ["-y", "whatsapp-messaging-api-mcp"],
          "env": {
            "WHATSAPP_API_KEY": "ch_live_your_session_token"
          }
        }
      }
    }
    
  3. Restart the client. Ask it to create a WhatsApp session and show you the QR code.

Nothing to install or build — npx fetches the package on first run.

Tools

ToolDescription
list_sessionsList all sessions on this API key
create_sessionCreate a new session (account key only)
get_session_statusCheck a session's current status
get_qr_codeGet the QR code to authenticate a session
request_pairing_codeGet an 8-digit pairing code instead of a QR
check_contact_existsCheck if a phone number is on WhatsApp before sending
send_text_messageSend a text message
send_imageSend an image via URL
send_fileSend a file (PDF, document) via URL

Typical flow

  1. create_session → get_qr_code → scan with WhatsApp (Settings → Linked Devices)
  2. get_session_status until it reports WORKING. If it reports PASSKEY_REQUIRED or PASSKEY_CONFIRMATION_REQUIRED, finish linking in the console: the passkey is signed in a browser, which an MCP client cannot do.
  3. check_contact_exists, then send_text_message / send_image / send_file

Sessions stay authenticated between runs, so steps 1-2 are one-time per number.

Configuration

VariableRequiredDescription
WHATSAPP_API_KEYyesA session token (ch_live_...) or account key (ak_live_...). The server exits on startup if it is missing.

The key is read from the environment and sent only to the API host. It is never logged.

Upgrading from 1.x: earlier versions used a RapidAPI key, which no longer works. Replace it with a session token or account key from the console.

Local development

git clone https://github.com/jevil25/whatsapp-messaging-api-mcp.git
cd whatsapp-messaging-api-mcp
npm install
npm run dev      # runs src/index.ts directly via tsx, no build step
npm run build    # compile to dist/
npm test         # boots the built server and drives a real MCP handshake

npm test needs no credentials — it passes a dummy key, which gets far enough to list tools because nothing in the handshake makes an API call.

To point an MCP client at your local build, use "command": "node" with "args": ["/absolute/path/to/dist/index.js"].

See DEVELOPING.md for the release process.

Links

License

MIT

Frequently asked questions

What is WhatsApp Messaging API MCP Server?

Send WhatsApp messages from Claude. No Meta Business approval or WhatsApp Business account.

How do I install WhatsApp Messaging API MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. WhatsApp Messaging API MCP Server runs locally from the npm package whatsapp-messaging-api-mcp with the command npx -y whatsapp-messaging-api-mcp@2.0.0.

Is WhatsApp Messaging API MCP Server free and open source?

Yes. WhatsApp Messaging API MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does WhatsApp Messaging API MCP Server support remote (HTTP) connections?

No remote endpoint is listed for WhatsApp Messaging API MCP Server. It runs locally on your machine over stdio, started by your MCP client.

What tools does WhatsApp Messaging API MCP Server provide?

WhatsApp Messaging API MCP Server provides 9 tools, including check_contact_exists, create_session, get_qr_code, and get_session_status. See the full tool list for descriptions and parameters.

How is WhatsApp Messaging API MCP Server's trust score calculated?

WhatsApp Messaging API MCP Server scores 69 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server