Evolution WhatsApp

v0.3.1
io.github.Ewertonslv/evolution-whatsapp-mcp Checked 8 hours ago Published 22 days ago

Send and read WhatsApp messages, send media and manage instances via the Evolution API.

Values you need

VariableWhat it is
EVOLUTION_API_URLrequired Base URL of your Evolution API server, e.g. http://localhost:8080. Use https outside localhost.
EVOLUTION_API_KEYrequired secret Evolution API key, sent as the apikey header.
EVOLUTION_DEFAULT_INSTANCEoptional Default instance used when a tool call omits the instance argument.
EVOLUTION_TIMEOUT_MSoptional Per-request timeout in milliseconds (default 30000).
EVOLUTION_READ_ONLYoptional Set to true to hide every tool that sends or changes state (send_text, send_media, create_instance, disconnect_instance, configure_webhook).
EVOLUTION_CONFIRM_WRITESoptional 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_NUMBERSoptional 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.1
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: send_text, send_media, find_chats, find_messages, create_instance, get_qrcode, connection_status, disconnect_instance, ….
  5. 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