Evolution WhatsApp
v0.3.1Send and read WhatsApp messages, send media and manage instances via the Evolution API.
Values you need
| Variable | What it is | |
|---|---|---|
EVOLUTION_API_URL | required | Base URL of your Evolution API server, e.g. http://localhost:8080. Use https outside localhost. |
EVOLUTION_API_KEY | required secret | Evolution API key, sent as the apikey header. |
EVOLUTION_DEFAULT_INSTANCE | optional | Default instance used when a tool call omits the instance argument. |
EVOLUTION_TIMEOUT_MS | optional | Per-request timeout in milliseconds (default 30000). |
EVOLUTION_READ_ONLY | optional | Set to true to hide every tool that sends or changes state (send_text, send_media, create_instance, disconnect_instance, configure_webhook). |
EVOLUTION_CONFIRM_WRITES | optional | Set to true to require a human confirmation (elicitation dialog) before send_text, send_media, create_instance, disconnect_instance or configure_webhook run. Clients that can show no dialog are refused. Default false; an unrecognised value counts as true and prints a warning. Default: false |
EVOLUTION_ALLOWED_NUMBERS | optional | Comma-separated phone numbers that send_text and send_media may reach. Empty means no restriction. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add evolution-whatsapp-mcp -e 'EVOLUTION_API_KEY=<EVOLUTION_API_KEY>' -e 'EVOLUTION_API_URL=<EVOLUTION_API_URL>' -- npx -y evolution-whatsapp-mcp@0.3.1Add to
claude_desktop_config.json{
"mcpServers": {
"evolution-whatsapp-mcp": {
"args": [
"-y",
"evolution-whatsapp-mcp@0.3.1"
],
"command": "npx",
"env": {
"EVOLUTION_API_KEY": "<EVOLUTION_API_KEY>",
"EVOLUTION_API_URL": "<EVOLUTION_API_URL>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"evolution-whatsapp-mcp": {
"args": [
"-y",
"evolution-whatsapp-mcp@0.3.1"
],
"command": "npx",
"env": {
"EVOLUTION_API_KEY": "<EVOLUTION_API_KEY>",
"EVOLUTION_API_URL": "<EVOLUTION_API_URL>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "EVOLUTION_API_KEY",
"id": "evolution-api-key",
"password": true,
"type": "promptString"
},
{
"description": "EVOLUTION_API_URL",
"id": "evolution-api-url",
"password": true,
"type": "promptString"
}
],
"servers": {
"evolution-whatsapp-mcp": {
"args": [
"-y",
"evolution-whatsapp-mcp@0.3.1"
],
"command": "npx",
"env": {
"EVOLUTION_API_KEY": "${input:evolution-api-key}",
"EVOLUTION_API_URL": "${input:evolution-api-url}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.evolution-whatsapp-mcp]
command = "npx"
args = ["-y", "evolution-whatsapp-mcp@0.3.1"]
env = { "EVOLUTION_API_KEY" = "<EVOLUTION_API_KEY>", "EVOLUTION_API_URL" = "<EVOLUTION_API_URL>" }For AI agents
- Ask the user for: EVOLUTION_API_URL, EVOLUTION_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: send_text, send_media, find_chats, find_messages, create_instance, get_qrcode, connection_status, disconnect_instance, ….
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json