communication
ClickSend MCP Integration for Vercel AI SDK
Connect ClickSend to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect ClickSend to Vercel AI SDK
Use KosmoKrator as a local integration gateway for Vercel AI SDK agents and scripts.
Create an MCP client that starts or connects to the KosmoKrator gateway for the selected integration. The gateway is local, scoped to this integration, and starts with
--write=deny so Vercel AI SDK can inspect read-capable tools without receiving write access by default.
ClickSend MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-clicksend": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=clicksend",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=clicksend --write=deny Why Use KosmoKrator Here
Expose only ClickSend instead of a broad multi-service tool list.
Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.
Start read-only, then opt into ask or allow for trusted workspaces.
ClickSend Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the ClickSend integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__clicksend__clicksend_get_account_balance | clicksend.clicksend_get_account_balance | Read | Get the current ClickSend account balance. |
integration__clicksend__clicksend_get_email_history | clicksend.clicksend_get_email_history | Read | Get email message history from ClickSend with pagination. |
integration__clicksend__clicksend_get_sms_history | clicksend.clicksend_get_sms_history | Read | Get SMS message history from ClickSend. Supports date range filtering and pagination. |
integration__clicksend__clicksend_get_sms_price | clicksend.clicksend_get_sms_price | Read | Get pricing for SMS messages before sending. Uses the same message format as send SMS but returns cost estimates only. |
integration__clicksend__clicksend_get_voice_history | clicksend.clicksend_get_voice_history | Read | Get voice message history from ClickSend with pagination. |
integration__clicksend__clicksend_list_contact_lists | clicksend.clicksend_list_contact_lists | Read | List all contact lists from ClickSend with pagination. |
integration__clicksend__clicksend_send_email | clicksend.clicksend_send_email | Write | Send an email message via ClickSend. Requires recipient, subject, and body. |
integration__clicksend__clicksend_send_post_letter | clicksend.clicksend_send_post_letter | Write | Send a post letter via ClickSend. Provide a file URL or template ID with recipient details. |
integration__clicksend__clicksend_send_sms | clicksend.clicksend_send_sms | Write | Send one or more SMS messages via ClickSend. Each message requires a "to" phone number and "body" text. |
integration__clicksend__clicksend_send_voice | clicksend.clicksend_send_voice | Write | Send one or more voice messages via ClickSend. Each message requires a "to" phone number and "body" text. |