WhatsApp MCP
Provides read and write access to WhatsApp, including tools for managing chats, messages, media, contacts, groups, and connection status.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@WhatsApp MCPlist my recent chats"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WhatsApp MCP
An MCP server that gives Claude read and write access to WhatsApp, through a
self-hosted Evolution API
gateway. Dependency-free: one file, Node's built-in fetch, stdio transport.
Your number stays linked on your own machine. No third party sees the messages.
Tools
Tool | What it does |
| Is the number linked and online. |
| Recent chats, newest first, with JIDs and unread counts. |
| Messages in one chat. Each carries an |
| Download the attachment on a message. Images come back viewable inline. |
| Match contacts by name or number substring. |
| Is a phone number registered on WhatsApp. |
| Groups this number belongs to, with JIDs. |
| Send a text message. The only tool with an outbound side effect. |
| Returns a pairing QR when the link has dropped. |
| Bounce a stuck instance. Does not unlink the number. |
Related MCP server: mcp-zap
Requirements
A running Evolution API instance with a linked WhatsApp number. This server is only a client; it does not start or manage the gateway.
Configure
All configuration is environment variables:
Variable | Default | Meaning |
| (required) | Global API key, |
|
| Base URL of the Evolution API server. |
|
| Instance name for your number. |
|
| Where |
|
| Where |
Register it with Claude Code:
claude mcp add whatsapp -s user \
-e EVO_APIKEY=your-key \
-e EVO_URL=http://localhost:8080 \
-e EVO_INSTANCE=primary \
-- node /path/to/whatsapp-mcp/server.js
claude mcp list # expect: whatsapp ... ConnectedRestart Claude Code afterwards. Tool lists are read once at session start, so a newly added server (or a newly added tool) will not appear in a session that was already running.
Test
EVO_APIKEY=your-key npm testAn integration check against the live gateway, no mocks: it spawns a real server
process, finds a recent image on its own, and asserts get_media returns decoded
image bytes and writes them to disk. Pin a specific message with
WA_TEST_MESSAGE_ID if you would rather not have it search.
Notes
get_mediainlines images up to 3.5 MB; anything larger, and any non-image, is saved to disk and the path is returned instead.Downloads are pruned after 24 hours so a chat full of photos cannot quietly grow into a disk problem.
Media only downloads while it is still on WhatsApp's servers. Very old attachments can come back empty.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseCqualityDmaintenanceA Model Context Protocol server that enables Claude to interact with WhatsApp through the Evolution API, allowing for message sending, contact management, group operations, and WhatsApp instance administration.Last updated114331MIT
- Flicense-qualityDmaintenanceMCP server for sending and receiving WhatsApp messages through Evolution API, enabling management of instances, messages, and chats directly from Claude Code.Last updated
- Alicense-qualityDmaintenanceAn MCP server that connects Claude and other LLM clients to WhatsApp via the Baileys library. Enables sending and receiving messages, listing chats, downloading media, and more.Last updated68MIT
- Alicense-qualityCmaintenanceA local MCP server that connects WhatsApp to Claude via QR code, enabling chat listing, message retrieval, and sending with automatic rate limiting for anti-ban protection.Last updated61MIT
Related MCP Connectors
Self-hosted MCP gateway: turn any API, database or MCP server into AI connectors — no code.
Hosted Amazon Seller and Vendor MCP server for Claude, ChatGPT, Cursor, Codex, Gemini, Copilot.
Augments MCP Server - A comprehensive framework documentation provider for Claude Code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wsti-studio/whatsapp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server