Trusted by 60,000+ developersUse Claude Code, Codex, Cursor, or any MCP client with streamable HTTP to work with WhatsApp Business numbers. Kapso uses Meta’s Cloud API. Connect your MCP client without a WhatsApp Web session or QR scan.
claude mcp add --transport http kapso https://api.kapso.ai/mcpAny MCP client can call these tools: Claude Code, Codex, Cursor, or your own agent. They run against your Kapso project, so answers come from your real numbers and conversations.
>Which conversations have been open longer than a day?
Two conversations have been open for more than 24 hours without a reply from you.
-Diego Morales: invoice question (31h)
-Sofía Herrera: warranty claim (26h)
>Close the ones that are resolved
kapso · set_whatsapp_conversation_status status: ended
Paste the prompt into your agent, or run the commands yourself.
Your agent follows the setup guide for its own client and asks before creating keys.
>Set up WhatsApp for this project with Kapso. Follow the steps at kapso.com/whatsapp-mcp-server and ask me before creating any keys.
Connect with a project API key. For browser sign-in, see the MCP docs.
Create a key in your Kapso dashboard and set it in your environment.
export KAPSO_API_KEY="your_project_api_key"
Follow the setup instructions for your client.
Keep the single quotes and start Claude Code from the shell where you exported the key.
claude mcp add --transport http kapso https://api.kapso.ai/mcp \
--header 'Authorization: Bearer ${KAPSO_API_KEY}'After registering the server, start or restart Codex from the shell where you exported the key. Run /mcp to check the connection.
codex mcp add kapso --url https://api.kapso.ai/mcp --bearer-token-env-var KAPSO_API_KEY
Add the Kapso entry to .cursor/mcp.json and make KAPSO_API_KEY available to Cursor.
{
"mcpServers": {
"kapso": {
"url": "https://api.kapso.ai/mcp",
"headers": { "Authorization": "Bearer ${env:KAPSO_API_KEY}" }
}
}
}Try a read-only request first.
> Which of my WhatsApp numbers are connected?
npm install -g @kapso/cliKapso offers more than 140 tools. Your client lists the tools your connection can use in its project.
| Area | What your agent can do | Tools |
|---|---|---|
| Messages | Read message history, send text, media, templates, and interactive messages, and mark chats read. | list_whatsapp_messages, send_whatsapp_message, mark_whatsapp_messages_read, upload_whatsapp_media |
| Conversations | Find open chats, read a thread, assign it to a teammate, and close it when it is done. | list_whatsapp_conversations, create_whatsapp_conversation_assignment, set_whatsapp_conversation_status |
| Numbers | List connected numbers, check their health, and spin up a sandbox number. | list_whatsapp_numbers, check_whatsapp_number_health, create_whatsapp_sandbox_session |
| Templates | List approved templates and submit new ones to Meta for review. | list_whatsapp_templates, get_whatsapp_template, create_whatsapp_template |
| Webhooks | Point events at your endpoint, send a test event, and read past deliveries. | create_whatsapp_webhook, test_whatsapp_webhook, list_whatsapp_webhook_deliveries |
| Broadcasts | Build a template broadcast, add recipients, then send it now or schedule it. | create_whatsapp_broadcast, add_whatsapp_broadcast_recipients, send_whatsapp_broadcast, schedule_whatsapp_broadcast |
| Customers | Create a record for each business you onboard and send it a link to connect its own number. | create_customer, create_whatsapp_number_setup_link, list_setup_links |
| Workflows and Flows | Create and publish workflows, start executions, and build WhatsApp Flows with their data endpoints. | create_workflow, publish_workflow, start_workflow_execution, create_whatsapp_flow, publish_whatsapp_flow |
| Debugging | Search API and webhook logs, and pull message and response time metrics. | status, search_logs, get_message_activity_metrics, get_response_time_metrics |
Compare a hosted integration on Meta’s Cloud API with a bridge that uses a linked WhatsApp Web session.
| Compared on | Kapso MCP (official Cloud API) | WhatsApp Web MCP servers |
|---|---|---|
| How it connects | Kapso MCP (official Cloud API)A WhatsApp Business number on Meta’s Cloud API. Kapso is a Meta Business Partner. | WhatsApp Web MCP serversLink a WhatsApp account to an unofficial client, typically by scanning a WhatsApp Web QR code. |
| Account risk | Kapso MCP (official Cloud API)Meta approves Cloud API connections for WhatsApp Business numbers. | WhatsApp Web MCP serversWhatsApp’s terms do not allow unofficial clients, and linked numbers can be banned. |
| Where it runs | Kapso MCP (official Cloud API)A hosted endpoint at api.kapso.ai/mcp. Nothing to keep running on your machine. | WhatsApp Web MCP serversThe bridge and its WhatsApp Web sessions need to stay online. |
| Reaching people first | Kapso MCP (official Cloud API)Approved templates, broadcasts, and opt-in tracking, within Meta’s messaging rules. | WhatsApp Web MCP serversMessages sent from the linked account. Tool support varies by bridge. |
| Webhooks and logs | Kapso MCP (official Cloud API)Signed webhooks, delivery receipts, retries, and searchable API logs. | WhatsApp Web MCP serversDelivery reporting, retries, and logs depend on the bridge. |
| More than one number | Kapso MCP (official Cloud API)Many numbers per project, plus setup links so your customers connect their own. | WhatsApp Web MCP serversEach linked number needs its own WhatsApp Web session. |
Coding agents can read this page and set themselves up. Or copy the instructions and paste them into any agent.
You are reading https://kapso.com/whatsapp-mcp-server. Kapso is the WhatsApp API for developers. Its MCP server gives you tools for the WhatsApp numbers, conversations, messages, templates, and webhooks in the user's Kapso project. Follow these steps to add those tools to the MCP client you are running in.
Check for an API key.
Check whether KAPSO_API_KEY is set without printing it. If it is missing, ask the user to set it locally or help them sign in through the browser if your client supports MCP OAuth. The user creates keys, signs up, and approves access.
Register the MCP server in your client.
For API key authentication, run the command below in Claude Code or run `codex mcp add kapso --url https://api.kapso.ai/mcp --bearer-token-env-var KAPSO_API_KEY` in Codex. In Cursor, add the server to .cursor/mcp.json with the same URL and the header `Authorization: Bearer ${env:KAPSO_API_KEY}`. For browser sign-in, register the URL and follow the MCP docs for your client.
claude mcp add --transport http kapso https://api.kapso.ai/mcp \
--header 'Authorization: Bearer ${KAPSO_API_KEY}'Reference the variable, never the key itself, in any file that can be committed.
Load the tools.
Most clients start MCP servers when a session starts. If the Kapso tools do not appear, ask the user to restart the client or reload its MCP servers.
Verify before you continue.
Call the status tool. If it fails, stop and tell the user the error it shows. A 401 means the key is missing or invalid. Do not carry on as if the tools were there.
Start read-only, then report back.
Use list_whatsapp_numbers and list_whatsapp_conversations to look before you act, and confirm with the user before sending messages or changing templates, webhooks, or setup links. Tell them which project and numbers you can reach.
Yes. Kapso WhatsApp MCP runs at https://api.kapso.ai/mcp over streamable HTTP. MCP clients connect with a project API key or by signing in through the browser.
It can inspect connected numbers and their health, read conversations and messages, send messages, manage templates and webhooks, search logs, and create customers and setup links for customer-owned WhatsApp accounts.
Any client that supports remote MCP servers over HTTP, including Claude Code, Codex, and Cursor. Send the key as an Authorization: Bearer header or an X-API-Key header.
Yes. Kapso is a Meta Business Partner and uses the official WhatsApp Business Platform, so your numbers and messages go through Meta directly.
WhatsApp Web MCP servers connect through a linked WhatsApp session, often set up by scanning a QR code. WhatsApp can ban accounts that use unofficial clients. Kapso hosts the MCP server and connects WhatsApp Business numbers through Meta’s Cloud API.
Run claude mcp add --transport http kapso https://api.kapso.ai/mcp, then run /mcp in Claude Code and sign in to pick a project. For API-key setup, use the Claude Code command in Setup and start Claude Code with KAPSO_API_KEY set.
You can test with Kapso’s sandbox number on the free plan. Create a sandbox session and activate it from your WhatsApp account. When you are ready, connect your own WhatsApp Business number or let customers connect theirs with a setup link.
The free plan includes a sandbox number and 2,000 messages a month.