The MCP server is currently in alpha and subject to changes.
- Base URL:
https://app.kapso.ai/mcp
- Authentication: Use header
X-API-Key: YOUR_API_KEY
orAuthorization: Bearer YOUR_API_KEY
- Transport: Streamable HTTP only (no SSE)
Installation
ReplaceYOUR_API_KEY
with your Kapso project API key.
Cursor
Add to~/.cursor/mcp.json
:
Claude Code
VS Code
Add to settings.json:Claude Desktop
Settings → Connectors → Add Custom Connector:- Name:
Kapso
- URL:
https://app.kapso.ai/mcp
- Headers:
X-API-Key: YOUR_API_KEY
Zed
Add to settings.json:Available tools
All tool results return JSON serialized as text. Useresponse_format: "detailed"
for stable IDs when needed.
WhatsApp operator tools
whatsapp_inbox View inbox for a host number with last message preview and unread count.whatsapp_config_id
(required): Host config IDstatus
: active or endedpage
,limit
: Pagination (max 50)
conversation_id
: Single conversation IDconversation_ids
: Array of IDs for batch retrievalmessage_limit
: Max 50- Note: Provide either
conversation_id
orconversation_ids
, not both
conversation_selector
:{conversation_id}
or{phone_number}
content
(required): Message textwhatsapp_config_id
: Optional specific config to send fromallow_start_with_template
: Set true if template required for new conversations- Returns: Message details including
whatsapp_config_used
andhost_phone
- Single:
message_id
- Bulk:
conversation_id
+before
(ISO8601 timestamp)
identifier
(required): Contact ID or phone numberinclude_recent_messages
: Default true
query
(required)customer_id
,created_since
,created_until
: Filters
query
,status
,whatsapp_config_id
: Filterssince
,until
: Time rangeinclude_messages
: Include recent messages for each conversation (boolean)- Note: When
include_messages
is true, defaults to detailed response format
query
(required)conversation_id
,since
,until
: Filtersper_hit_context
: Context radius (0-5)
customer_id
: Optional filter
Platform tools
platform_create_customer Create new customer.name
(required)external_customer_id
(required): Must be unique per project
customer_id
(required)success_redirect_url
,failure_redirect_url
: Optional redirectsallowed_connection_types
: [“coexistence” or “dedicated”]provision_phone_number
: Auto-provision new number
query
: Search name or external IDpage
,limit
: Pagination
customer_id
(required)page
,limit
: Pagination
Authentication
Include the API key header on every request. Find your API keys in Project Settings → API Keys.Response format
By default, responses are concise to reduce token usage. Useresponse_format: "detailed"
when you need stable IDs for follow-up calls.
Smart defaults:
whatsapp_get_conversation_context
: Defaults to detailed (you’re requesting specific IDs)whatsapp_search_conversations
withinclude_messages
: Defaults to detailed (likely need IDs for follow-up)- All other tools: Default to concise unless specified