communication
Plivo MCP Integration for OpenAI Agents SDK
Connect Plivo to OpenAI Agents SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Plivo 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.
Plivo MCP Config for OpenAI Agents SDK
Use headless JSON commands for CI-style execution and MCP for agent tool discovery.
{
"mcpServers": {
"kosmokrator-plivo": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=plivo",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=plivo --write=deny Why Use KosmoKrator Here
Expose only Plivo 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.
Plivo Tools Visible to OpenAI Agents
OpenAI Agents sees stable MCP tool names generated from the Plivo integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__plivo__plivo_list_messages | plivo.plivo_list_messages | Read | List SMS messages from Plivo with optional filters. Supports filtering by direction (inbound/outbound), message state, date range, sender, and recipient. Returns paginated message records. |
integration__plivo__plivo_send_sms | plivo.plivo_send_sms | Write | Send an SMS message via Plivo. Specify a source phone number (must be a Plivo number), one or more destination numbers, and the message text. Returns the message UUID and details. |
integration__plivo__plivo_list_numbers | plivo.plivo_list_numbers | Read | List phone numbers on your Plivo account. Supports filtering by number type, service, and pagination. |
integration__plivo__plivo_get_number | plivo.plivo_get_number | Read | Retrieve details of a specific phone number on your Plivo account by its number (e.g., "+14155552671"). Returns alias, application, service type, and other number properties. |
integration__plivo__plivo_list_calls | plivo.plivo_list_calls | Read | List calls from Plivo with optional filters. Supports filtering by direction (inbound/outbound), call state, date range, and phone numbers. Returns paginated call records. |
integration__plivo__plivo_get_call | plivo.plivo_get_call | Read | Retrieve detailed information about a specific Plivo call by its call UUID. Returns call details including duration, direction, status, and recording information. |
integration__plivo__plivo_list_applications | plivo.plivo_list_applications | Read | List Plivo voice applications on the account. Returns application IDs, names, answer/hangup URLs, and associated number counts. |