Saltar al contenido
Logo de wapi.kz

Servidor MCP de wapi.kz

Envía y recibe mensajes de WhatsApp Business mediante una API REST, un servidor MCP y una CLI, con conectores para CRM y n8n.

leído el 2026-11-23

← Volver a wapi.kz

Cómo conectar

Añade el servidor a la configuración de tu cliente MCP. Claude Desktop, Cursor y la mayoría de los demás clientes leen este formato:

{
  "mcpServers": {
    "whatsapp": {
      "type": "http",
      "url": "https://wapi.kz/api/mcp"
    }
  }
}

Añadirlo

Claude Code, en una terminal

claude mcp add --transport http wapi https://wapi.kz/api/mcp

Añadir a CursorAñadir a VS Code

claude.ai, ChatGPT y otros clientes: añade https://wapi.kz/api/mcp como conector personalizado en los ajustes.

Herramientas que ofrece33 herramientas · leído el 2026-11-30
  • send_messagecambia datosdescrita por el servidor

    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)…

  • react_messagecambia datos

    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_messagecambia datos

    Edit the text of your own text message (WhatsApp allows it within 15 minutes after sending).

  • delete_messagecambia datos

    Delete your own message for everyone in WhatsApp (within about 2 days after sending). The record stays in the history with deleted_at.

  • list_groups

    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_group

    One group of the number and its participants: jid, phone (null if hidden), name, admin.

  • list_numbersvista, aún sin llamar

    The account's WhatsApp numbers: id (for the from parameter), phone, whether it is connected (connected), status (active / paused — balance ran out).

  • get_messagesdescrita por el servidor

    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…

  • get_mediadescrita por el servidor

    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_exportcambia datosdescrita por el servidor

    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_exportdescrita por el servidor

    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_balancedescrita por el servidor

    Account balance in tenge (KZT), the daily charge (330 ₸ per active number) and how many days it will last.

  • get_limitsdescrita por el servidor

    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_numberdescrita por el servidor

    Check whether a phone number is on WhatsApp before sending. phone — digits with country code (77011234567). Limit: 200 checks per day per number.

  • get_statusdescrita por el servidor

    Summary: numbers (connected or not) and balance.

  • add_numbercambia datosdescrita por el servidor

    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…

  • connect_numbercambia datosdescrita por el servidor

    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…

  • set_webhookcambia datosdescrita por el servidor

    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…

  • get_analyticsdescrita por el servidor

    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)…

  • list_leadsvista, aún sin llamar

    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/……

  • get_leaddescrita por el servidor

    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…

  • update_leadcambia datosdescrita por el servidor

    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…

  • list_linksvista, aún sin llamar

    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…

  • create_linkcambia datosdescrita por el servidor

    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…

  • get_link_clicksdescrita por el servidor

    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…

  • get_link_statsdescrita por el servidor

    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…

  • set_number_leadscambia datosdescrita por el servidor

    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_accountsvista, aún sin llamar

    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…

  • list_ad_objectsvista, aún sin llamar

    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 /…

  • set_ad_statuscambia datosdescrita por el servidor

    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…

  • set_ad_budgetcambia datosdescrita por el servidor

    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…

  • sync_adscambia datosdescrita por el servidor

    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…

  • list_ad_changesvista, aún sin llamar

    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…

Cómo lo comprobamos

¿Debe un agente conectarlo?

Aún no está claro
  • El 23 nov 2026 llamamos a sus herramientas de lectura con un escenario fijo, y solo 0 de 1 pasos devolvieron lo que la comprobación espera.

Una vez conectado

  • Mantén la aprobación para send_message: borran, envían o pagan sin avisar.
  • send_message, edit_message, delete_message, create_export, add_number cambian datos sin iniciar sesión: cualquiera con la dirección puede llamarlas.

Lo dicen reglas a partir de las mediciones de arriba. La primera llamada probable la elige un modelo de la lista de herramientas; lee su descripción antes de fiarte.

Medido cada día

comprobaciones diarias: 8, la primera el 2026-11-23
  • Nota INITE MCP51 de 100responde 100 · definiciones 99 · contexto 75 · uso 0 · conexión 100 · rebajada hasta que una de nuestras ejecuciones de escenario se supere · rebajada por las señales de aviso de abajo
  • Comprobado con una llamada0 de 1 pasos superadosúltima ejecución 23 nov 2026, solo llamadas de lectura
  • Respondióel 100% de los días8 de 8 comprobaciones diarias
  • Mediana de la primera respuesta917 ms
  • Espacio en el contexto del agente≈ 7493 tokenslas definiciones de todas sus herramientas (33), que el agente lleva en cada turno
  • Definiciones de herramientasA · 99 de 100
  • Resultados tipados0 de 33 herramientasdeclaran outputSchema: el resultado llega tipado y se lee de una vez
  • Parámetros sin descripción: en 1 de 33

Conviene revisar

  • Herramientas que borran, envían o pagan, marcadas como no destructivas: send_message
  • Herramientas que cambian datos, en un servidor que responde sin iniciar sesión: send_message, edit_message, delete_message, create_export, add_number

Un programa comprueba el servidor una vez al día: initialize y tools/list, sin modelo. Los tokens son la longitud de las definiciones, a unos cuatro caracteres por token. La nota promedia seis comprobaciones del nombre, la descripción, el esquema y las anotaciones de cada herramienta; dice lo bien descritas que están, no si funcionan. La nota pondera solo lo medido: si responde (25%), si hace el trabajo del producto (25%), definiciones (20%), contexto (10%), uso (10%) y lo fácil que es conectarse (10%). Lo que no se midió queda fuera, y una instrucción oculta limita la nota a 40. El estado de los servidores MCP de los proveedores: método y números →

Seguridad2026-11-29

Nota A, 98 de 100, revisado el 2026-11-29 · comprobaciones evaluadas: 18 de 18 · 1 fallaron

Informe completo →

Cuando le preguntamoscomprobado el 2026-11-25
  • Estadorespondecomprobado el 2026-11-25
  • Herramientas33
  • El servidor se llamawapi.kz
  • Versión del servidor0.5.0
  • Versión del protocolo2025-06-18

El 2026-11-25 el servidor respondió a initialize y tools/list sin iniciar sesión. Primera respuesta en 676 ms.

De quién es el servidor
  • Nombre en el registrokz.wapi/whatsappverificado en el registro MCP

El nombre en el registro está bajo wapi.kz. El registro solo permite usar ese espacio de nombres a quien demuestra control del dominio por DNS o HTTP.

Especificación OpenAPI

51 rutas, leído el 2026-11-23. Abrir la especificación ↗

Cada línea es algo que un programa encontró al buscar: la entrada del registro, la respuesta del propio servidor, una especificación que se puede leer. Si falta una línea, es que no la encontramos, no que no exista.