communication
Plivo MCP Integration for Claude Agent SDK
Connect Plivo to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Plivo to Claude Agent SDK
Give Claude Agent SDK workflows access to KosmoKrator integrations through a local MCP server.
Add a KosmoKrator stdio MCP server to the Claude Agent SDK options. The gateway is local, scoped to this integration, and starts with
--write=deny so Claude Agent SDK can inspect read-capable tools without receiving write access by default.
Plivo MCP Config for Claude Agent SDK
Use a narrow integration list so the agent does not load unrelated tools.
{
"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 Claude Agent SDK
Claude Agent SDK 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. |