WhatsApp MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PYTHONPATH | Yes | Path to the src directory of the project, required for the Python interpreter to find the whatsapp_mcp package. | |
| WHATSAPP_HEADLESS | No | Whether to run the browser in headless mode. Set to 'false' to show the browser window for scanning the QR code. | false |
| WHATSAPP_PROFILE_DIR | Yes | Absolute path to the directory where the WhatsApp Web session profile (e.g., authentication data) will be persisted. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_auth_statusB | Open WhatsApp Web if needed and report whether login is complete. |
| wait_until_readyB | Wait until WhatsApp Web is fully authenticated and ready for use. |
| list_recent_chatsC | List the most recent chats visible in WhatsApp Web. |
| send_messageC | Send a WhatsApp message using either a phone number or an existing chat name. |
| get_recent_messagesC | Read recent messages from a chat identified by either a phone number or a chat name. |
| shutdown_browserA | Close the browser context and stop the WhatsApp automation session. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/ekaksher/whatsapp-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server