WhatsApp Campaigns
v0.1.11Send WhatsApp campaigns: templates, audiences, surveys, inbox replies, delivery webhooks.
Values you need
| Variable | What it is | |
|---|---|---|
WA_GATEWAY_URL | optional | 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_KEY | required 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-mcpAdd 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
- Ask the user for: WA_AGENT_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: capabilities, search_templates, list_templates, get_template, render_template, create_template, update_template, duplicate_template, ….
- 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