
Servidor MCP de wapi.kz
Envia e recebe mensagens do WhatsApp Business por meio de uma API REST, um servidor MCP e uma CLI, com conectores para CRM e n8n.
lido em 2026-11-23
Como conectar
Adicione o servidor à configuração do seu cliente MCP. Claude Desktop, Cursor e a maioria dos outros clientes leem este formato:
{
"mcpServers": {
"whatsapp": {
"type": "http",
"url": "https://wapi.kz/api/mcp"
}
}
}Adicionar
Claude Code, no terminal
claude mcp add --transport http wapi https://wapi.kz/api/mcpAdicionar ao CursorAdicionar ao VS Code
claude.ai, ChatGPT e outros clientes: adicione https://wapi.kz/api/mcp como conector personalizado nas configurações.
send_messagealtera dadosdescrita pelo servidorSend 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)…
react_messagealtera dadosReact 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_messagealtera dadosEdit the text of your own text message (WhatsApp allows it within 15 minutes after sending).
delete_messagealtera dadosDelete your own message for everyone in WhatsApp (within about 2 days after sending). The record stays in the history with deleted_at.
list_groupsWhatsApp 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_groupOne group of the number and its participants: jid, phone (null if hidden), name, admin.
list_numbersvista, ainda não chamadaThe account's WhatsApp numbers: id (for the from parameter), phone, whether it is connected (connected), status (active / paused — balance ran out).
get_messagesdescrita pelo servidorLatest 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…
get_mediadescrita pelo servidorA 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_exportaltera dadosdescrita pelo servidorBuild 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_exportdescrita pelo servidorExport 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_balancedescrita pelo servidorAccount balance in tenge (KZT), the daily charge (330 ₸ per active number) and how many days it will last.
get_limitsdescrita pelo servidorThe 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_numberdescrita pelo servidorCheck whether a phone number is on WhatsApp before sending. phone — digits with country code (77011234567). Limit: 200 checks per day per number.
get_statusdescrita pelo servidorSummary: numbers (connected or not) and balance.
add_numberaltera dadosdescrita pelo servidorAdd 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…
connect_numberaltera dadosdescrita pelo servidorLink 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…
set_webhookaltera dadosdescrita pelo servidorSet 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…
get_analyticsdescrita pelo servidorEnd-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)…
list_leadsvista, ainda não chamadaLeads — 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/……
get_leaddescrita pelo servidorLead 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…
update_leadaltera dadosdescrita pelo servidorChange 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…
list_linksvista, ainda não chamadaTracking 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…
create_linkaltera dadosdescrita pelo servidorCreate 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…
get_link_clicksdescrita pelo servidorTracking 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…
get_link_statsdescrita pelo servidorTracking 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…
set_number_leadsaltera dadosdescrita pelo servidorTurn 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_accountsvista, ainda não chamadaConnected 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…
list_ad_objectsvista, ainda não chamadaCampaigns, 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 /…
set_ad_statusaltera dadosdescrita pelo servidorPause 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…
set_ad_budgetaltera dadosdescrita pelo servidorChange 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…
sync_adsaltera dadosdescrita pelo servidorFetch 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…
list_ad_changesvista, ainda não chamadaLog 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…
Como verificamos
Um agente deve conectá-lo
- Em 23 de nov. de 2026 chamamos as ferramentas de leitura dele com um cenário fixo, e só 0 de 1 passos devolveram o que a verificação espera.
Depois de conectar
- Mantenha a aprovação para send_message: elas apagam, enviam ou pagam sem avisar.
- send_message, edit_message, delete_message, create_export, add_number alteram dados sem login: qualquer pessoa com o endereço pode chamá-las.
Dito por regras a partir das medições acima. A primeira chamada provável é a escolha de um modelo na lista de ferramentas; leia a descrição antes de confiar nela.
Medido todo dia
- Nota INITE MCP51 de 100responde 100 · definições 99 · contexto 75 · uso 0 · conexão 100 · reduzida até que uma das nossas execuções de cenário seja aprovada · reduzida pelos sinais de alerta abaixo
- Verificado com uma chamada0 de 1 passos aprovadosúltima execução 23 de nov. de 2026, só chamadas de leitura
- Respondeuem 100% dos dias8 de 8 verificações diárias
- Mediana da primeira resposta917 ms
- Espaço no contexto do agente≈ 7.493 tokensas definições de todas as ferramentas (33), que o agente carrega a cada turno
- Definições das ferramentasA · 99 de 100
- Resultados tipados0 de 33 ferramentasdeclaram outputSchema: o resultado chega tipado e é lido de uma vez
- Parâmetros sem descrição: em 1 de 33
Vale conferir
- Ferramentas que apagam, enviam ou pagam, marcadas como não destrutivas: send_message
- Ferramentas que alteram dados, em um servidor que responde sem login: send_message, edit_message, delete_message, create_export, add_number
Um programa verifica o servidor uma vez por dia: initialize e tools/list, sem modelo. Os tokens são o tamanho das definições, a cerca de quatro caracteres por token. A nota é a média de seis verificações do nome, da descrição, do esquema e das anotações de cada ferramenta; diz se as ferramentas estão bem descritas, não se funcionam. A nota pesa só o que foi medido: se responde (25%), se faz o trabalho do produto (25%), definições (20%), contexto (10%), uso (10%) e a facilidade de conectar (10%). Uma parte não medida fica de fora, e uma instrução oculta limita a nota a 40. O estado dos servidores MCP dos fornecedores: método e números →
Nota A, 98 de 100, verificado em 2026-11-29 · verificações avaliadas: 18 de 18 · 1 falharam
- Estadorespondeverificado em 2026-11-25
- Ferramentas33
- O servidor se chamawapi.kz
- Versão do servidor0.5.0
- Versão do protocolo2025-06-18
Em 2026-11-25 o servidor respondeu a initialize e tools/list sem login. Primeira resposta em 676 ms.
- Nome no registrokz.wapi/whatsappverificado no registro MCP
O nome no registro fica sob wapi.kz. O registro só libera esse espaço de nomes para quem prova controle do domínio por DNS ou HTTP.
Especificação OpenAPI
51 rotas, lido em 2026-11-23. Abrir a especificação ↗
Cada linha é algo que um programa encontrou ao procurar: o registro, a resposta do próprio servidor, uma especificação que se lê. Linha ausente quer dizer que não encontramos, não que não exista.
Antes de contar esta visita
A análise e a medição de anúncios nos dizem quais páginas e quais dos nossos anúncios cumprem seu papel: Google Analytics e Google Ads, o pixel da Meta, Yandex Metrica e um identificador próprio. Nada é armazenado até você responder, e recusar não muda nada no site.