WhatsApp MCP Server
by ydmw74
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WHATSAPP_RELINK | No | Force re-linking in non-interactive environments. Use 'backup', 'delete', or leave unset. | |
| WHATSAPP_AUTH_DIR | No | Directory for session persistence | ~/.whatsapp-mcp/auth |
| WHATSAPP_HTTP_HOST | No | Bind address for HTTP mode. | 127.0.0.1 |
| WHATSAPP_HTTP_PATH | No | HTTP endpoint path for MCP requests. | /mcp |
| WHATSAPP_HTTP_PORT | No | TCP port for HTTP mode. | 8787 |
| WHATSAPP_UPLOAD_DIR | No | Directory for uploaded files (HTTP mode). | /tmp/whatsapp-uploads |
| WHATSAPP_DEVICE_NAME | No | Optional linked-device label shown in WhatsApp | |
| WHATSAPP_MCP_TRANSPORT | No | MCP transport mode: 'stdio' or 'http'. | stdio |
| WHATSAPP_EXIT_AFTER_PAIR | No | If a QR code was shown, exit automatically after successful pairing. Defaults to enabled only for interactive terminal runs. | auto |
| WHATSAPP_UPLOAD_MAX_SIZE | No | Max upload file size in bytes. | 52428800 |
| WHATSAPP_PERSIST_MESSAGES | No | Persist the local message store to disk. | false |
| WHATSAPP_MAX_MESSAGES_TOTAL | No | Global retention limit for the local message store. | 2000 |
| WHATSAPP_MAX_MESSAGES_PER_CHAT | No | Retention limit per chat for the local message store. | 200 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
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
- 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/ydmw74/whatsapp-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server