WhatsApp Campaigns

v0.1.11
com.wa-campaigns/whatsapp-campaigns Checked 3 days ago Published 26 days ago

Send WhatsApp campaigns: templates, audiences, surveys, inbox replies, delivery webhooks.

Values you need

VariableWhat it is
WA_GATEWAY_URLoptional Optional. Base URL of the WhatsApp Campaigns agent gateway; defaults to the hosted production gateway. Set it only to target dev or a local gateway — a key is tied to the environment it was minted in, so it must match the environment that issued WA_AGENT_KEY.
WA_AGENT_KEYrequired secret Scoped agent key (rcsk_live_…) created in Settings → API keys. The rcsk_ prefix is not a mistake: one key shape serves both channels, and the channel is chosen per call.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add whatsapp-campaigns -e 'WA_AGENT_KEY=<WA_AGENT_KEY>' -- npx -y --package=@wa-campaigns/agent-toolkit@0.1.11 wa-mcp wa-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "whatsapp-campaigns": {
      "args": [
        "-y",
        "--package=@wa-campaigns/agent-toolkit@0.1.11",
        "wa-mcp",
        "wa-mcp"
      ],
      "command": "npx",
      "env": {
        "WA_AGENT_KEY": "<WA_AGENT_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "whatsapp-campaigns": {
      "args": [
        "-y",
        "--package=@wa-campaigns/agent-toolkit@0.1.11",
        "wa-mcp",
        "wa-mcp"
      ],
      "command": "npx",
      "env": {
        "WA_AGENT_KEY": "<WA_AGENT_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "WA_AGENT_KEY",
      "id": "wa-agent-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "whatsapp-campaigns": {
      "args": [
        "-y",
        "--package=@wa-campaigns/agent-toolkit@0.1.11",
        "wa-mcp",
        "wa-mcp"
      ],
      "command": "npx",
      "env": {
        "WA_AGENT_KEY": "${input:wa-agent-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.whatsapp-campaigns]
command = "npx"
args = ["-y", "--package=@wa-campaigns/agent-toolkit@0.1.11", "wa-mcp", "wa-mcp"]
env = { "WA_AGENT_KEY" = "<WA_AGENT_KEY>" }

For AI agents

  1. Ask the user for: WA_AGENT_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: capabilities, search_templates, list_templates, get_template, render_template, create_template, update_template, duplicate_template, ….
  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