Atlas / MCP servers / fredshred7 / WhatsApp

WhatsAppSAFE

mcp/fredshred7/whatsapp-12

MCP server for WhatsApp Cloud API — send messages, read conversations, manage contacts, and handle media through AI assistants like Claude

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
18 7r · 10w · 1d
Transport
stdio
License
MIT
Stars
23
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

[](LICENSE) [](https://nodejs.org) [](https://www.typescriptlang.org) [](https://modelcontextprotocol.io) [](https://developers.facebook.com/docs/whatsapp/cloud-api) [](https://developers.facebook.com/docs/whatsapp/cloud-api) -25D366)

A production-ready Model Context Protocol (MCP) server that connects AI assistants like Claude to the WhatsApp Cloud API (Meta). Send messages, manage conversations, handle media, send template messages, and receive real-time webhooks — all through natural language.

Why this MCP server?

This is the only WhatsApp MCP server built on the official Meta WhatsApp Cloud API.

Most WhatsApp tools for developers rely on unofficial browser automation libraries (whatsapp-web.js) or reverse-engineered protocols (whatsmeow, Baileys). These approaches violate WhatsApp's Terms of Service and carry a real risk of account bans. This project is different.

Read from source at commit 07871f30dc3aOBSERVED · 2026-10-09
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code (npm)
claude mcp add whatsapp-mcp-server --env WHATSAPP_ACCESS_TOKEN=${WHATSAPP_ACCESS_TOKEN} --env WHATSAPP_WEBHOOK_VERIFY_TOKEN=${WHATSAPP_WEBHOOK_VERIFY_TOKEN} --env WHATSAPP_APP_SECRET=${WHATSAPP_APP_SECRET} -- npx -y @fredshred7/[email protected]
03

Exposed tools (18)

7 read · 10 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
whatsapp_delete_mediadestructiveDelete a previously uploaded media file from WhatsApp servers using its media ID. This frees up storage and removes the file permanently.
whatsapp_get_business_profilereadRetrieve the WhatsApp Business profile for your connected phone number, including about text, address, description, email, and website.
whatsapp_get_contactread[LEGACY / UNSUPPORTED] Look up a phone number to check if it has a WhatsApp account and retrieve the WhatsApp ID.
whatsapp_get_conversationreadGet the message history for a conversation with a specific phone number. Requires webhook server.
whatsapp_get_media_urlreadGet the download URL for a WhatsApp media file using its media ID. The URL is temporary and expires after 5 minutes. Use this to download received media.
whatsapp_get_message_statusreadGet the delivery/read status of a previously sent message. Requires webhook server for live updates.
whatsapp_list_conversationsreadList recent WhatsApp conversations. Only available when the webhook server is running and has received messages.
whatsapp_list_templatesreadList available WhatsApp message templates for your business account. Shows template name, status (APPROVED/PENDING/REJECTED), category, and language. Requires WHATSAPP_BUSINESS_ACCOUNT_ID to be configured.
whatsapp_mark_readwriteMark an incoming WhatsApp message as read. This sends a read receipt to the sender.
whatsapp_send_audiowriteSend an audio message to a WhatsApp phone number. Provide a publicly accessible audio URL.
whatsapp_send_documentwriteSend a document or file to a WhatsApp phone number. Supports PDF, Word, Excel, and other common formats.
whatsapp_send_imagewriteSend an image message to a WhatsApp phone number. Provide a publicly accessible image URL.
whatsapp_send_reactionwriteReact to a WhatsApp message with an emoji.
whatsapp_send_templatewriteSend an approved WhatsApp message template. Templates are pre-approved messages used for business-initiated conversations. Supports header, body, and button components with dynamic variable substitution.
whatsapp_send_textwriteSend a text message to a WhatsApp phone number. Supports up to 4096 characters and optional URL preview.
whatsapp_send_videowriteSend a video message to a WhatsApp phone number. Provide a publicly accessible video URL.
whatsapp_update_business_profilewriteUpdate your WhatsApp Business profile. You can update the about text, address, description, email, website URLs, and business vertical.
whatsapp_upload_mediawriteUpload a media file from a URL to WhatsApp and get back a media ID. The media ID can then be used to send media messages. Supports images (JPEG, PNG, WebP), videos (MP4, 3GPP), audio (AAC, MP4, MPEG, AMR, OGG), and documents (PDF, Word, Excel, PowerPoint, plain text).
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (3)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
whatsapp_delete_media
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
README.md:6
[![MCP Compatible](https://img.shields.io/badge/MCP-compatible-6B46C1?logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0id2h
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, axios, dotenv, express, form-data, zod, zod-to-json-schema, @eslint/js
Why it matters. 16 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-09 · audit v0.4.1 · source sha 07871f30dc3afull audit observations/trust-audit/mcp-server/fredshred7__whatsapp-12.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-0907871f30dc3aSAFEB89first audit
06

Questions

What is the WhatsApp MCP server?

MCP server for WhatsApp Cloud API — send messages, read conversations, manage contacts, and handle media through AI assistants like Claude

What tools does WhatsApp expose?

18 in total: 7 read-only, 10 that write, and 1 that can delete or overwrite (whatsapp_delete_media). Every one is listed on this page with its risk.

Is WhatsApp safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does WhatsApp need?

It reads WHATSAPP_ACCESS_TOKEN, WHATSAPP_APP_SECRET and WHATSAPP_WEBHOOK_VERIFY_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does WhatsApp run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @fredshred7/whatsapp-mcp-server at 1.1.0.

How current is this page?

The grade is for one exact copy of the source (07871f30dc3a), read on 2026-10-09. The repository is watched and re-audited when it changes.

Advertisement