communication
ClickSend MCP Integration for OpenAI Agents SDK
Connect ClickSend to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect ClickSend to OpenAI Agents SDK
Attach KosmoKrator integration tools to OpenAI Agents SDK workflows through a local MCP gateway.
Start the KosmoKrator MCP gateway locally and point the OpenAI Agents SDK MCP tool at that process or wrapper. The gateway is local, scoped to this integration, and starts with
--write=deny so OpenAI Agents can inspect read-capable tools without receiving write access by default.
ClickSend MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"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 OpenAI Agents
OpenAI Agents 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. |