Kapso MCP server for AI agents and assistants

Securely connect your AI agents and chatbots (Claude, ChatGPT, Cursor, etc) with Kapso MCP or direct API to manage WhatsApp numbers, send messages, organize conversations, run broadcasts, and automate workflows through natural language.

Kapso MCP logoKapso MCP
Dcr Oauth

Kapso MCP is a hosted MCP server for managing WhatsApp numbers, contacts, conversations, messages, and workflows. It gives developers a structured way to connect Kapso capabilities to AI agents.

211 Tools

Try Kapso MCP now

Type what you want done — sign in and watch it run live in the Tool Router playground.

TOOL ROUTER PLAYGROUND
Kapso MCP
Try asking
TOOLS

Supported Tools

Every Kapso MCP action and event your agent gets out of the box.

Add whatsapp broadcast recipients

Add up to 1000 recipients while draft or scheduled and imports/copies are complete.

Cancel whatsapp broadcast

Cancel a scheduled broadcast and return it to draft.

Check whatsapp call readiness

Check fresh Meta call permission and known Kapso outbound blockers for one conversation.

Check whatsapp number health

Run a health check for a WhatsApp number.

Clear meta agent business information

Clear business information from the knowledge draft shared by agents on this WhatsApp number.

Clear whatsapp broadcast recipients

Remove all recipients from an editable draft or scheduled broadcast.

Create customer

Create a customer.

Create email destination

Create a pending shared email destination and send its required verification email.

Create function

Create a function.

Create meta agent faq

Create a FAQ in the knowledge draft for this agent.

Create meta agent skill

Create a skill in the knowledge draft for this agent.

Create meta agent ui skill

Create a UI skill in the knowledge draft shared by agents on this WhatsApp number.

Create meta agent website source

Create a website source in the knowledge draft for this agent.

Create project event

Emit a project event.

Create project event definition

Create or update a definition by name, restoring it if archived.

Create project invitation

Invite someone to this project and queue an external invitation email after explicit confirmation.

Create whatsapp broadcast

Create a draft broadcast.

Create whatsapp business verification submission

Submit 1–3 business documents to Meta using HTTPS URLs.

Create whatsapp contact

Create a new contact with a normalized phone number.

Create whatsapp conversation assignment

Assign a conversation to a project member.

Create whatsapp flow

Create a flow with optional flow_json object; omitted JSON creates a welcome screen.

Create whatsapp flow version

Upload flow_json and record a version.

Create whatsapp number setup link

Create a WhatsApp number setup URL for a customer, revoking their other active setup links.

Create whatsapp sandbox session

Add a tester's WhatsApp number to the shared Kapso Sandbox number.

Create whatsapp template

Create a Meta WhatsApp message template for the selected WhatsApp number business account.

Create whatsapp webhook

Create a project webhook with an explicit events array (for example ["project.event"]), or a number webhook when a number selector is supplied.

Create workflow

Create a workflow.

Create workflow trigger

Add a trigger.

Delete customer

Delete a customer.

Delete function

Delete a function.

Delete function secret

Delete a secret from a deployed function.

Delete meta agent faq

Delete a FAQ in the knowledge draft for this agent.

Delete meta agent knowledge file

Mark an agent knowledge file for deletion on publication.

Delete meta agent skill

Delete a skill in the knowledge draft for this agent.

Delete meta agent ui skill

Delete a UI skill in the knowledge draft shared by agents on this WhatsApp number.

Delete meta agent website source

Delete a website source in the knowledge draft for this agent.

Delete project event definition

Schedule deletion of a definition and its recorded events.

Delete retention policy

Remove this project's saved retention policy after reviewing a delete preview and confirming with confirm: true.

Delete whatsapp contact

Schedule contact erasure, including associated history, using the platform erasure job.

Delete whatsapp number

Schedule teardown for a WhatsApp number.

Delete whatsapp webhook

Delete a WhatsApp webhook.

Delete workflow trigger

Delete a trigger.

Deploy function

Deploy or redeploy a function.

Deploy whatsapp flow data endpoint

Deploy the configured function.

Discard meta agent draft

Discard local Meta Agent draft changes.

Dismiss finding

Dismiss one Finding with an attributed reason and note.

Get ai data preference

Read the connected project's AI data preference using the same response as Settings: saved model-improvement choice, override, plan default, plan tier, enterprise lock and update timestamp.

Get ai usage

Read saved AI token totals and recorded costs in microdollars for this project.

Get conversation activity metrics

Read Activity dashboard conversation insights.

Get customer

Get a customer by id.

Get finding

Get one authoritative Finding.

Get function

Get a function by id, including its code.

Get log activity metrics

Read Activity dashboard log totals and error counts: saved Elasticsearch external API logs (HTTP status >= 400), database webhook deliveries (failed), and database webhook events (error_message or has_status_error).

Get message activity metrics

Read inbound/outbound WhatsApp message counts from the Activity dashboard's saved daily rollups: totals and one zero-filled row per day.

Get meta agent

Get project-bound Meta Agent status and publishing summary.

Get meta agent knowledge

Get business information, FAQs, websites, files, and skills from a Meta Agent draft.

Get meta agent settings

Get the current local settings draft for one Meta Agent.

Get my notification preferences

Get the authenticated user’s project-scoped email notification preferences.

Get project activity metrics

Read the Activity dashboard's project counts: active and total conversations whose last activity falls in the selected period, current connected production numbers split into dedicated/coexistence, and the configured monthly message limit (zero means unlimited).

Get project billing

Read the project's saved plan, local subscription state, billing setup flags, message/function allowance counters and latest saved USD prepaid-credit snapshot.

Get project event definition

Get a project event definition.

Get project settings

Read the connected project's name, description, audio transcription settings, log ingestion setting and creation/update timestamps.

Get response time metrics

Read Activity dashboard first-response averages in seconds from saved response links.

Get retention policy

Read this project's saved data retention policy, entitlement, supported presets, minimum window, effective date and suspension state.

Get whatsapp broadcast

Get a broadcast and its delivery statistics.

Get whatsapp business verification

Read portfolio verification status, eligibility, remaining attempts, and this project’s latest submission from local evidence updated by Meta webhooks and background recovery.

Get whatsapp business verification submission

Read this project’s submission and document metadata.

Get whatsapp call artifacts

Read saved recording/transcription availability and an authenticated call-details link.

Get whatsapp calling usage

Read saved Calling volume, duration and recorded Kapso charges.

Get whatsapp call permission

Get call permission for a number.

Get whatsapp contact

Get a contact.

Get whatsapp conversation

Get a WhatsApp conversation by id.

Get whatsapp conversation assignment

Get an assignment.

Get whatsapp flow

Get a WhatsApp Flow.

Get whatsapp flow data endpoint

Read the configured data endpoint function, including code.

Get whatsapp flow version

Get a version including its flow_json object.

Get whatsapp marketing preference

Get marketing preference for a number.

Get whatsapp message

Get a WhatsApp message by WhatsApp message id or internal id.

Get whatsapp number

Get a WhatsApp number by phone_number_id, display phone number, internal id, or number_ref.

Get whatsapp template

Get a WhatsApp template by id, meta_template_id, or name.

Get whatsapp usage

Read saved WhatsApp message volumes and spend for this project through yesterday.

Get whatsapp webhook

Get a WhatsApp webhook by id.

Get workflow

Get workflow metadata by id.

Get workflow activity metrics

Read Activity dashboard workflow execution counts, selected by execution creation time.

Get workflow definition

Get a workflow with its full graph definition (nodes and edges).

Get workflow execution

Get one execution with its current step, status, and error details.

Get workflow execution event

Get one execution event with its full payload.

Get workflow variables

List variables available inside a workflow (vars, context, system, step outputs).

Inspect whatsapp calling

Read one number's Calling setup, saved active-call and handoff state, paginated history and routing diagnostics.

Invoke function

Invoke a deployed function with a JSON body and return its response.

Kapso inbox assign

Assign/reassign the conversation to a project member, or unassign when user_id is omitted.

Kapso inbox contact

Read contact details, properties, internal notes, and current assignment for the selected inbox conversation.

Kapso inbox draft template

Open the native New conversation form with a proposed WhatsApp template draft for user review.

Kapso inbox edit contact

Create, overwrite, or delete contact notes, or overwrite contact names/properties after a reviewed inbox panel action.

Kapso inbox execution

Read bounded execution activity (latest 50 workflow events), handoff reason and available jump nodes for an inbox execution.

Kapso inbox execution control

Apply an explicit operator action to a selected inbox execution.

Kapso inbox filter options

Read contact property keys or values for filters in the connected project inbox.

Kapso inbox open

Open the Kapso WhatsApp inbox beside chat.

Kapso inbox quick replies

Use the native saved reply behavior in the inbox panel.

Kapso inbox react

Send an emoji reaction after the user selects it in the inbox panel.

Kapso inbox read

Read the connected project inbox.

Kapso inbox realtime

Connect the inbox panel to live invalidations.

Kapso inbox resolve quick reply

Use the native saved reply behavior in the inbox panel.

Kapso inbox save quick reply

Create, overwrite, or archive a project-scoped saved reply after a user action in the inbox panel.

Kapso inbox send reply

Send the exact text reviewed by the user to a selected inbox conversation.

Kapso inbox send status

Check one exact panel send attempt after a timeout.

Kapso inbox send template

Send the exact template reviewed in the New conversation form, only after the user clicks Start conversation.

Kapso inbox show conversations

Show selected WhatsApp conversations as inline cards in chat.

Kapso inbox template options

Read production WhatsApp numbers and approved templates for a new-conversation draft.

Kapso inbox thread control

Request take, pass to a role, or release of a shared WhatsApp thread after an explicit operator click.

Kapso inbox update conversation

Apply an explicit inbox panel action to the selected conversation: close, reopen, mark read, or mark unread.

Kapso setup open

Open the current Kapso number choices and hosted WhatsApp signup flow.

Kapso setup signup action

Perform a user-selected signup UI action: record lifecycle, open Meta authorization, reserve an eligible no-deposit number, or complete its approved connection.

Kapso setup signup read

Read project-scoped signup configuration, number choices, or authorization and connection progress for the signup UI.

Kapso setup start

Start or resume the user-selected WhatsApp setup method.

Kapso setup status

Read project-scoped WhatsApp setup progress, known blockers, and the first received message/reply status.

List customers

List project customers.

List findings

List visible project Findings with REST-compatible cursors.

List function invocations

List recent invocations with request, response, error, and console logs.

List functions

List project functions.

List function secrets

List secret names for a deployed function.

List meta agents

List all Meta Agents in this project.

List meta agent versions

Get draft changes, immutable versions, testing availability, and deployment status.

List notification deliveries

List recent notification delivery attempts and failures.

List notification destinations

List project notification destinations.

List notification events

List the versioned notification event catalog with channels and severity.

List notification routes

List project-wide notification routing rules.

List project event definitions

List available definitions with last_seen_at.

List project events

List project events by occurrence time, newest first.

List project invitations

List this project’s pending invitations, including expired pending invitations.

List project members

List this project’s member names, emails and membership roles, including inbox-only human agents.

List provider models

List provider model IDs, names, providers, reasoning/sampling capabilities, prompt cache options, API surfaces, and deprecation/replacement details.

List setup links

List setup links for a customer.

List whatsapp assignment members

List project member IDs available for assignment.

List whatsapp broadcast recipients

List broadcast recipients with delivery timestamps, errors, and template_components.

List whatsapp broadcasts

List project broadcasts with delivery statistics, newest first.

List whatsapp business verification submissions

List this project’s verification submissions, newest first, with cursor pagination.

List whatsapp call permissions

List per-number call permissions.

List whatsapp contacts

List contacts with platform API filters and pagination.

List whatsapp conversation assignments

List assignment history for a conversation.

List whatsapp conversations

List WhatsApp conversations, optionally scoped to a WhatsApp number.

List whatsapp flow function invocations

Read endpoint invocations; status accepts success or failed.

List whatsapp flow function logs

Read recent endpoint logs; limit defaults to 20 and is capped at 50.

List whatsapp flows

List project WhatsApp Flows, newest first.

List whatsapp flow versions

List locally recorded JSON versions, newest first.

List whatsapp marketing preferences

List per-number marketing preferences.

List whatsapp messages

List WhatsApp messages with cursor pagination.

List whatsapp numbers

List WhatsApp numbers in this project.

List whatsapp sandbox sessions

List tester sessions on the shared Kapso Sandbox number: active sessions and pending sessions whose activation code has not expired.

List whatsapp templates

List WhatsApp templates available to this project or one WhatsApp number.

List whatsapp webhook deliveries

List project and number webhook deliveries, newest first.

List whatsapp webhooks

List project and number webhooks, optionally scoped to a WhatsApp number.

List workflow execution events

List step-by-step events for an execution, newest first.

List workflow executions

List executions for a workflow or WhatsApp conversation, newest first.

List workflows

List project workflows.

List workflow triggers

List triggers for a workflow.

Mark finding addressed

Begin monitoring a Finding after its current investigation is addressed.

Mark whatsapp messages read

Mark one inbound message, or inbound messages in a conversation before a timestamp, as read.

Preview retention policy

Review a proposed retention update or policy removal for this OAuth project.

Publish meta agent

Publish the Meta Agent draft.

Publish whatsapp flow

Publish a draft flow on Meta.

Publish workflow

Publish the workflow like the Publish button in the app: saves the current graph as a new production version and activates the workflow.

Read finding evidence

Read bounded evidence for one Finding.

Register whatsapp flow data endpoint

Register the deployed endpoint with Meta; requires encryption and publish permission because published flows are automatically republished.

Replace workflow triggers

Replace all triggers on a workflow with the given list (same shape as create_workflow_trigger).

Resolve whatsapp number

Resolve a display phone number or ambiguous reference to the canonical phone_number_id.

Restore meta agent version

Restore an immutable Meta Agent version into the draft.

Resume workflow execution

Resume a waiting execution.

Retry meta agent deployment

Retry an eligible Meta Agent deployment.

Revoke project invitation

Permanently cancel a pending project invitation after explicit confirmation using the dashboard deletion lifecycle.

Revoke setup link

Revoke a setup link.

Schedule whatsapp broadcast

Schedule or reschedule an editable draft/scheduled broadcast with recipients.

Search

Research one read-only documentation corpus with shell-style navigation.

Search logs

Search indexed project logs for request IDs, WhatsApp wamids, endpoints, webhook delivery IDs, Meta events, WhatsApp message events, and workflow execution IDs.

Send whatsapp broadcast

Immediately start sending a draft broadcast with recipients.

Send whatsapp message

Send a WhatsApp message.

Set function secret

Create or overwrite a secret on a deployed function.

Setup whatsapp flow encryption

Set up encryption for the selected number; verifies existing encryption on Meta.

Set whatsapp conversation status

Overwrite a conversation status with active or ended.

Start finding investigation

Start or retry the specialized investigation for one Finding.

Start workflow execution

Start an active workflow through its API trigger.

Status

For Open Kapso or Get started, check the authenticated project and offer the returned read-only inbox or setup UI tool to the user.

Submit feedback

Save a bug report, friction report or feature request for the Kapso team from the connected project.

Test meta agent

Synchronize agent state and send one message through the deployed Meta Agent test endpoint.

Test notification destination

Send a test through a configured destination and return its delivery status.

Test whatsapp webhook

Queue a sample webhook delivery.

Update ai data preference

Overwrite this project's model-improvement opt-in or opt-out after explicit confirmation.

Update customer

Update a customer name and/or external_customer_id.

Update function

Update a function.

Update meta agent business information

Update business information in the knowledge draft shared by agents on this WhatsApp number.

Update meta agent faq

Update a FAQ in the knowledge draft for this agent.

Update meta agent settings

Merge fields into a Meta Agent local settings draft without publishing.

Update meta agent skill

Update a skill in the knowledge draft for this agent.

Update meta agent ui skill

Update a UI skill in the knowledge draft shared by agents on this WhatsApp number.

Update meta agent website source

Update a website source in the knowledge draft for this agent.

Update my notification preferences

Update one authenticated user notification preference.

Update project event definition

Update or archive/restore a definition.

Update retention policy

Apply exactly the window in a reviewed preview_retention_policy update receipt.

Update setup link

Update a setup link.

Update whatsapp broadcast

Set status=stopped to stop a sending broadcast, or status=draft to cancel a schedule.

Update whatsapp contact

Update contact fields; null clears nullable name/customer fields.

Update whatsapp conversation assignment

Update an assignment.

Update whatsapp flow data endpoint

Associate an existing project function and register its endpoint; requires encryption and publish permission because published flows are automatically republished.

Update whatsapp number

Update a project WhatsApp number's name, production/sandbox kind, webhook forwarding URL, inbound processing, or calling settings.

Update whatsapp webhook

Update a WhatsApp webhook.

Update workflow

Update workflow fields and/or replace its definition.

Update workflow execution status

Move an execution to ended, handoff, or waiting.

Update workflow trigger

Activate or deactivate a workflow trigger.

Upload whatsapp media

Download an HTTP/HTTPS source and upload it to Meta for a project WhatsApp number.

Upsert notification route

Create or update a project-wide notification route for one event and an existing email or Slack destination.

Upsert whatsapp flow data endpoint

Create or update endpoint function code.

SETUP GUIDE

Connect Kapso MCP Tool with your Agent

1

Install Composio

typescript
npm install @composio/core ai @ai-sdk/mcp @ai-sdk/openai
Install the Composio SDK and your agent framework
2

Create a session with MCP enabled

typescript
import { Composio } from "@composio/core";

const composio = new Composio();
const { mcp } = await composio.create("your-user-id", {
  toolkits: ["kapso_mcp"],
  mcp: true,
});
Create a session scoped to Kapso MCP and read its MCP URL and headers
3

Connect your agent to the MCP server

typescript
import { createMCPClient } from "@ai-sdk/mcp";
import { openai } from "@ai-sdk/openai";
import { generateText, stepCountIs } from "ai";

const client = await createMCPClient({
  transport: { type: "http", url: mcp.url, headers: mcp.headers },
});

const { text } = await generateText({
  model: openai("gpt-5.6-sol"),
  tools: await client.tools(),
  prompt: "List the most recent conversations for my Kapso WhatsApp number",
  stopWhen: stepCountIs(10),
});

console.log(text);
await client.close();
Pass the session's MCP URL and headers to your agent and run a Kapso MCP request
SETUP GUIDE

Connect Kapso MCP API Tool with your Agent

1

Install Composio

typescript
npm install @composio/core @composio/openai openai
Install the Composio SDK, the OpenAI provider, and the OpenAI SDK
2

Create a Composio session

typescript
import OpenAI from "openai";
import { Composio } from "@composio/core";
import { OpenAIResponsesProvider } from "@composio/openai";

const composio = new Composio({ provider: new OpenAIResponsesProvider() });
const client = new OpenAI();

const session = await composio.create("your-user-id", { toolkits: ["kapso_mcp"] });
const tools = await session.tools();
Initialize Composio with the OpenAI Responses provider and create a session scoped to Kapso MCP
3

Run Kapso MCP tools with your agent

typescript
let response = await client.responses.create({
  model: "gpt-5.6-sol",
  tools,
  input: [{ role: "user", content: "List the most recent conversations for my Kapso WhatsApp number" }],
});

while (response.output.some((o) => o.type === "function_call")) {
  const outputs = await composio.provider.handleToolCalls(session, response.output);
  response = await client.responses.create({
    model: "gpt-5.6-sol",
    tools,
    previous_response_id: response.id,
    input: outputs,
  });
}

console.log(response.output_text);
Send a request, execute the Kapso MCP tool calls through the session, and print the final answer

Why Use Composio?

AI Native Kapso MCP Integration

  • Supports both Kapso MCP and direct API based integrations
  • Structured, LLM-friendly schemas for reliable tool execution
  • Rich coverage for managing WhatsApp numbers, contacts, conversations, messages, templates, broadcasts, workflows, functions, flows, and Meta agents

Managed Auth

  • Supports Kapso's DCR OAuth authentication with secure credential handling
  • Central place to manage, scope, and revoke Kapso MCP access
  • Per user and per environment credentials instead of hard-coded secrets

Agent Optimized Design

  • Tools are tuned using real error and success rates to improve reliability over time
  • Comprehensive execution logs so you always know what ran, when, and on whose behalf

Enterprise Grade Security

  • Fine-grained RBAC so you control which agents and users can access Kapso MCP
  • Scoped, least privilege access to Kapso WhatsApp resources
  • Full audit trail of agent actions to support review and compliance
FRAMEWORKS

Use Kapso MCP with any AI Agent Framework

Choose a Framework you want to connect Kapso MCP with

Rolling this out across your team?

Give your team centralized access control across every framework with Composio’s MCP Gateway.

EXPLORE MCP GATEWAY
FAQ

Frequently asked questions

Start with Kapso MCP.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Kapso MCP tool your agent needs.Free to start.

Start building