wapi.kz: WhatsApp attribution and API
MCP server giving AI agents WhatsApp messaging plus ad-to-sale attribution
Answered our latest tool-list check 2 days ago with 33 tools. It will be marked verified after 3 successful checks in 7 days.
wapi.kz: WhatsApp attribution and API is a paid MCP server for communication. It runs as a hosted remote server, so there is nothing to install locally.
- Pricing
- Paid
- Platforms
- API, CLI, Web
- Runs
- Remotely
- What it can do
- Can delete data (1 tool)
- Version
- 0.5.1
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add --transport http whatsapp https://wapi.kz/api/mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"whatsapp": {
"type": "http",
"url": "https://wapi.kz/api/mcp"
}
}
}In Customize → Connectors → Add → Add custom connector
https://wapi.kz/api/mcpPaste this URL, choose how to sign in, then click Add and Connect. On Team and Enterprise an Owner adds it in Organization settings → Connectors.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"whatsapp": {
"url": "https://wapi.kz/api/mcp"
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"whatsapp": {
"type": "http",
"url": "https://wapi.kz/api/mcp"
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
In chatgpt.com → Plugins → + → Add custom MCP server
https://wapi.kz/api/mcpPaste this URL, set up sign-in, accept the warning and install the plugin. Then type @ in a chat to use it.
Add with the CLI
Run in a terminal
codex mcp add whatsapp --url https://wapi.kz/api/mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.whatsapp]
url = "https://wapi.kz/api/mcp"Add to Grok Bot desktop app → Connect apps → Add a custom connector
https://wapi.kz/api/mcpEnter a Name (for example "wapi.kz: WhatsApp attribution and API"), choose Type: Remote HTTPS, paste this as the Server URL and choose Add plugin.
Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"whatsapp": {
"type": "http",
"url": "https://wapi.kz/api/mcp"
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "whatsapp": { "httpUrl": "https://wapi.kz/api/mcp" } } }Or run: gemini mcp add -s user --transport http whatsapp https://wapi.kz/api/mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "whatsapp": { "serverUrl": "https://wapi.kz/api/mcp" } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "whatsapp": { "url": "https://wapi.kz/api/mcp", "transport": "http" } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "whatsapp": { "type": "streamableHttp", "url": "https://wapi.kz/api/mcp" } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "whatsapp": { "url": "https://wapi.kz/api/mcp" } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "whatsapp": { "url": "https://wapi.kz/api/mcp" } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "whatsapp": { "url": "https://wapi.kz/api/mcp" } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "whatsapp": { "url": "https://wapi.kz/api/mcp" } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About wapi.kz: WhatsApp attribution and API
Connects an AI agent to a WhatsApp number so it can read chat history, send text, images, files and voice notes, and export conversations as archives. Every message is tagged by author, so a bot-sent reply is visibly separate from one written by a staff member on the phone.
The server also tracks where chats come from: Meta click-to-WhatsApp ads, wapi.kz tracking links and website buttons. An agent can pull a funnel report from ad to chat to sale, record sales, and list people who clicked a link but never wrote. Limits on sending and a trust index are enforced by the service to reduce the risk of the number being restricted.
The service is aimed at businesses in Kazakhstan that run sales or support over WhatsApp. It connects an existing number through linked-device pairing, not the official WhatsApp Business Platform, and is priced per number in KZT.
Tools this server provides (33)
Read directly from the server.
The server marks 1 of 33 tools as able to delete data and 13 as able to change data.
From the server's own tool labels and tool names; not verified by us.
- send_messageSays it can change data
- Send a WhatsApp message from a connected number: text, image (image_url, JPEG/PNG/WebP), file (file_url), voice message (voice_url — MP3/M4A/WAV/OGG, converted to a WhatsApp voice message), video (video_url — MP4; MOV/WebM are converted), location, contact card or poll. Size — up to the WhatsApp limit (2 GB). to — recipient: phone digits with country code (77011234567) or a chat_id from get_messag
- react_messageSays it can change data
- React to a message with an emoji (or remove the reaction with an empty emoji). message_id — id from get_messages (or wa_message_id). Works for incoming and own messages.
- edit_messageSays it can change data
- Edit the text of your own text message (WhatsApp allows it within 15 minutes after sending).
- delete_messageSays it can change data
- Delete your own message for everyone in WhatsApp (within about 2 days after sending). The record stays in the history with deleted_at.
- list_groupsSays read-only
- WhatsApp groups the number is a member of: id (chat_id for send_message to), name, participants count, admins_only (only admins can write), is_admin. The list is cached for 5 minutes.
- get_groupSays read-only
- One group of the number and its participants: jid, phone (null if hidden), name, admin.
- list_numbersSays read-only
- The account's WhatsApp numbers: id (for the from parameter), phone, whether it is connected (connected), status (active / paused — balance ran out).
- get_messagesSays read-only
- Latest messages from the log (incoming and outgoing, newest first). source: contact — written by the other party, phone — sent by a person from the phone, api/mcp — sent by a program. chat — the other party's phone or chat_id, to get a single conversation. Messages with a file have media {id, kind, mimetype, filename, size, url} (the link is valid for 15 minutes; get a fresh one with get_media). n
- get_mediaSays read-only
- A message's file (photo, video, voice message, document, sticker) by media.id from get_messages: type, name, size and a fresh download link (valid for 15 minutes).
- create_exportSays it can change data
- Build a ZIP archive: files and chat history (messages.json + messages.csv) for a period. Built in the background (usually minutes) — get_export returns the status and the link. At most 2 at a time and 10 per day.
- get_exportSays read-only
- Export status (queued, running, done, failed, expired), progress and the archive link when ready (the link is valid for 15 minutes — request it again; the archive is kept for 24 hours).
- get_balanceSays read-only
- Account balance in tenge (KZT), the daily charge (330 ₸ per active number) and how many days it will last.
- get_limitsSays read-only
- The number's limits for today and its trust score (0–100): how many messages, and first messages to new people, can still be sent.
- check_numberSays read-only
- Check whether a phone number is on WhatsApp before sending. phone — digits with country code (77011234567). Limit: 200 checks per day per number.
- get_statusSays read-only
- Summary: numbers (connected or not) and balance.
- add_numberSays it can change data
- Add a WhatsApp number to the account — PAID: 330 ₸ (KZT) per day; the first day is charged immediately (refunded automatically if the human deletes the number within 10 minutes without linking WhatsApp), then daily until the number is deleted. FREE TRIAL: an account without payments and with less than 330 ₸ gets its first number as a 60-minute trial (trial: true, trial_ends_at in the response; not
- connect_numberSays it can change data
- Link WhatsApp to a wapi number (or reconnect it if it dropped). With phone — a pairing code like ABCD-EFGH: the human opens WhatsApp → Linked devices → Link a device → "Link with phone number instead" and enters the code (the most convenient option for an agent; at most 4 codes per 10 minutes). Without phone — a QR image: scan it in WhatsApp → Linked devices (the QR lives ~20 s — request it again)
- set_webhookSays it can change data
- Set the webhook URL (https) where wapi immediately sends events: message (incoming, with a lead field; location, contact cards and polls parsed into wapi.details), message.out (sent by a person from the phone), message.ack (delivered/read), session.status (connection; on FAILED the reason is in wapi.reason: banned, logged_out, self), message.reaction, message.edited, message.revoked, call.received
- get_analyticsSays read-only
- End-to-end WhatsApp attribution: ad spend → leads → sales for a period — shows which ad, link or website brought each WhatsApp chat and whether it turned into a sale. group — row breakdown: campaign (campaigns), adset (ad sets), ad (ads), source (source: meta_ctwa — Meta click-to-WhatsApp ads, link:<utm_source> — tracking links, organic — people who wrote on their own), link (tracking links: click
- list_leadsSays read-only
- Leads — people who wrote to a WhatsApp number for the first time, each with the source that brought the chat: channel = ctwa (Meta click-to-WhatsApp ad: ad.ad_id, adset_id, campaign_id, ad text and link), link (tracking link wapi.kz/go/…: click.utm_*, fbclid, gclid), organic (came on their own). match_method — how the chat was matched to the link: hidden_code (invisible marker in the text), visibl
- get_leadSays read-only
- Lead card: source (ad or link), first message, device, first reply (first_reply), stage and amount; conversation — the chat from the log: messages, incoming, outgoing, last_at, incoming_after_reply (how many messages the person sent after our first reply — whether the conversation continued), outgoing_after_reply; all touches (repeat visits from ads/links; raw holds the raw ad data, and the first
- update_leadSays it can change data
- Change a lead's stage and/or record a sale. The lead — by id or by the customer's phone (their latest lead is used). Examples: "sale of 45,000 ₸ to customer 77011234567" → phone=77011234567, stage=won, value=45000; "they bought on November 20" → won_at=2026-11-20; "the customer is qualified" → stage=qualified; "lost" → stage=lost. A stage, amount or sale date change is sent as a lead.updated event
- list_linksSays read-only
- Tracking links wapi.kz/go/<code>: where they lead (from — number id, phone), first message text, default utm, number of clicks and leads. url — the link for ads, bio, QR; snippet — script code for a website (routes the site's WhatsApp buttons through this link with utm and fbclid).
- create_linkSays it can change data
- Create a tracking link to a WhatsApp number — to see which ad, post or website brought each chat: the person taps → lands in WhatsApp with prefilled text that carries an invisible click marker — and their first message is matched to the click (utm, fbclid, gclid). Without the marker (the person erased the text) — matching by time: a new chat within 15 minutes after the click. Returns url (for ads,
- get_link_clicksSays read-only
- Tracking link clicks (newest first): time, IP, geo (country, region, city), device, OS, browser or app (Instagram, TikTok…), source, language, visitor (visitor; returning — clicked before), utm, fbclid/gclid, website page, and the lead the click was matched to (lead: id, phone, stage; null — the person did not write). lead=none — clicked but did not write on WhatsApp. Without code — clicks on all
- get_link_statsSays read-only
- Tracking link click stats for a period — which sources, campaigns and pages bring WhatsApp chats and sales: clicks, unique clicks, visitors and returning visitors, how many reached a WhatsApp chat (leads, conversion %), sales and revenue, clicks without a lead, median minutes from click to message, bots; by day and breakdowns by: country, city, device, os, browser (and apps), source, lang, utm_sou
- set_number_leadsSays it can change data
- Turn counting of organic leads on a number on or off: when on, every new contact who came without an ad or link becomes a lead (organic). Existing contacts do not become leads. Leads from ads and links are always counted.
- list_ad_accountsSays read-only
- Connected Meta ad accounts (Facebook / Instagram ads) and the connections to them. For each ad account: id (for the account parameter), external_id (act_…), name, currency, enabled — whether it is synced, synced_at — when data was last fetched, error — what went wrong, capi_enabled — whether conversions are sent to Meta (beta). A connection has status: active, expired (the token expired — the huma
- list_ad_objectsSays read-only
- Campaigns, ad sets and ads from connected Meta ad accounts (data from the last sync, hourly). Fields: external_id (the Meta id — for set_ad_status / set_ad_budget), level (campaign | adset | ad), name, status (what is set: ACTIVE / PAUSED), effective_status (what is actually happening: ACTIVE, CAMPAIGN_PAUSED, ADSET_PAUSED, DISAPPROVED, WITH_ISSUES, ARCHIVED…), objective (campaign objective; for a
- set_ad_statusSays it can change data
- Pause or launch a campaign, ad set or ad in Meta. status: PAUSED — pause (the ad stops showing and spending money), ACTIVE — launch (the ad starts spending the client's budget). Pausing a campaign stops all its ad sets and ads. The change is logged (list_ad_changes). Before launching, make sure the human wants it.
- set_ad_budgetSays it can change data
- Change the daily (daily_budget) or lifetime (lifetime_budget) budget of a campaign or ad set in Meta. WARNING: this spends the client's money — raising the budget immediately increases spend charged to their card/account in Meta. Change it only if the human asked for it or explicitly agreed. The amount is in the ad account currency, in regular units (5000 = 5,000 ₸ or $5000 — see currency in list_
- sync_adsSays it can change data
- Fetch fresh data from Meta now: campaigns, ad sets, ads, budgets and stats for today and yesterday (on the first run of the day — for 30 days). Normally this happens automatically (structure hourly, stats every 30 minutes) — call it if you have just changed something in Ads Manager. No more than 3 times per 10 minutes. The response — per ad account: how many objects and stats rows were fetched, or
- list_ad_changesSays read-only
- Log of ad changes made through wapi (dashboard, API, MCP, CLI): what changed (field: status, daily_budget, lifetime_budget), before → after (budget in the ad account currency), who (by), whether Meta accepted it (ok) and its response. Newest first.
What it does
- Read and send messages
- Agents fetch recent chat messages and send text, photos, files, voice notes or video by public link.
- Author-tagged history
- Each message shows whether it came from the API, an agent, or a person on the phone.
- Ad attribution
- Leads are matched to the Meta ad, tracking link or organic source that brought them.
- Sales and lead stages
- Agents move leads through stages and record sale amounts against a customer phone.
- Chat exports
- Conversations and media for a period can be packaged into a ZIP archive.
- Per-number API keys
- Keys can be scoped to one number and revoked without affecting other integrations.
Good for
- Answer customers who wrote in the last hour using a company knowledge base
- Find which ads and links produce paying WhatsApp customers
- Send invoices or product photos to a client from an agent session
- Export a full customer conversation for records or handover
- Check balance and daily sending limits before a batch of messages
Pricing
Paid
9,900 KZT per month per number; first hour free on own number
Prices change. Check wapi.kz before you buy.
More servers for the same service
wapi.kz: WhatsApp attribution and API FAQ
Which AI clients can connect?
Any MCP client that supports HTTP servers with an Authorization header, such as Claude Code, Codex and Cursor.
Is there a free trial?
The first hour on your own number is free, with limits on outgoing messages. An API sandbox without a number is also available.
How much does a number cost?
9,900 KZT per month per number, charged daily at 330 KZT. MCP calls, API requests and messages are not billed separately.
Can the agent delete a number?
No. Deleting or unlinking a number is only possible for the account owner in the dashboard.
How do I add wapi.kz: WhatsApp attribution and API to Claude Code?
Run this command in your terminal: claude mcp add --transport http whatsapp https://wapi.kz/api/mcp
What are the best alternatives to wapi.kz: WhatsApp attribution and API?
The closest alternatives to wapi.kz: WhatsApp attribution and API are Kontato, pingwa, Wazapi, Whatsmcp and Hello WhatsApp Business API.
Where this comes from
- Description: written from the project's README, the project's website and its MCP Registry entry.
- Status and tools: checked automatically by AIPoweredBot on 28 November 2026.
- Install steps: from the official MCP Registry entry.