MCP Server
Use Sendable from Claude, Cursor, Kiro and other MCP clients, hosted or with npx.
Sendable ships an MCP server with about 35 curated tools: read chats, messages, contacts, groups and events, send and react to messages, manage group settings and webhooks. Two ways to run it:
| Hosted | Local (stdio) | |
|---|---|---|
| URL / command | https://api.sendable.dev/mcp | npx -y @sendable-dev/mcp |
| Transport | Streamable HTTP (stateless, JSON responses) | stdio |
| Auth | x-api-key header (or Authorization: Bearer <key>) | SENDABLE_API_KEY env |
| Read-only | ?read_only=1 | --read-only or SENDABLE_MCP_READ_ONLY=1 |
| Destructive tools | ?allow_destructive=1 and a key with the admin action | --allow-destructive or SENDABLE_MCP_ALLOW_DESTRUCTIVE=1 |
Keys and permissions
Use a session API key with only the permissions the agent needs. The hosted server reads the key's permissions and only lists tools the key can call: a key made from the Read only preset never sees send_message. Every tool call goes through the normal API, so permissions, rate limits (each tool call counts as one API request), the session send policy and idempotency keys apply exactly as for direct API calls. An account key only sees the session tools (list_sessions, get_session_status, get_session_profile).
Tools
All tools carry MCP annotations (readOnlyHint, destructiveHint, idempotentHint, openWorldHint).
- Read:
list_sessions,get_session_status,get_session_profile,list_chats,get_chat,list_chat_messages,list_messages,get_message,get_message_media,get_delivery_status,search_contacts,get_contact,list_groups,get_group,list_group_join_requests,list_labels,list_chat_labels,list_events,list_webhooks,list_webhook_event_types. - Write:
send_message(text; image, video, document or audio URL; location; poll; with optionalquoted_message_id,mentions,mention_allandtyping_ms),reply_to_message(also takesmentions,mention_all,typing_ms),react_to_message,edit_message,mark_read,fetch_history,star_message,pin_message,update_group_subject,update_group_description,get_group_invite_link,create_webhook,update_webhook. - Destructive (hidden unless enabled, and each call needs
"confirm": true):delete_message,update_group_participants,revoke_group_invite,leave_group,delete_webhook.
Never exposed: logout or ending a session, privacy settings, webhook secret rotation, profile pictures. Webhook secrets and custom header values are redacted in tool output.
send_message and reply_to_message need an explicit chat_id and send an Idempotency-Key: pass idempotency_key to make a retried call safe (a repeat within 24 hours returns the first result instead of sending twice); without it a key is generated per call. Lists return 20 items by default with a nextCursor.
Client config
Hosted (clients that support remote servers with custom headers, such as Cursor and Kiro)
{
"mcpServers": {
"sendable": {
"url": "https://api.sendable.dev/mcp",
"headers": { "x-api-key": "<your session key>" }
}
}
}Local with npx (any client, including Claude Desktop)
{
"mcpServers": {
"sendable": {
"command": "npx",
"args": ["-y", "@sendable-dev/mcp"],
"env": { "SENDABLE_API_KEY": "<your session key>" }
}
}
}Config file locations: Claude Desktop claude_desktop_config.json, Cursor .cursor/mcp.json, Kiro .kiro/settings/mcp.json.
Errors
Tool failures come back as MCP tool errors with a short message: invalid key (401), missing permission (403 insufficient_scope, naming the permission), rate limited (429, with the wait time), not found, and network errors. A request to /mcp without a valid key gets HTTP 401.
Safety
Message contents are written by other people. The server tells the model to treat them as data, not instructions. Keep agents on narrow keys: a read-only key for assistants that only summarise, a send-only key for agents that notify. Destructive tools need both the opt-in and confirm: true on every call.