communication
Dialpad MCP Integration for Vercel AI SDK
Connect Dialpad to Vercel AI SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Dialpad 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.
Dialpad MCP Config for Vercel AI SDK
Prefer CLI JSON calls when a workflow only needs one deterministic integration operation.
{
"mcpServers": {
"kosmokrator-dialpad": {
"type": "stdio",
"command": "kosmo",
"args": [
"mcp:serve",
"--integration=dialpad",
"--write=deny"
]
}
}
} Run the Gateway Manually
kosmokrator mcp:serve --integration=dialpad --write=deny Why Use KosmoKrator Here
Expose only Dialpad 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.
Dialpad Tools Visible to Vercel AI SDK
Vercel AI SDK sees stable MCP tool names generated from the Dialpad integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
integration__dialpad__dialpad_list_calls | dialpad.dialpad_list_calls | Read | List call history records from Dialpad. Returns call details including participants, duration, and direction. Supports date range filtering and pagination. |
integration__dialpad__dialpad_get_call | dialpad.dialpad_get_call | Read | Get details of a specific call record by ID. Returns full call information including participants, duration, direction, and recording URL if available. |
integration__dialpad__dialpad_list_sms | dialpad.dialpad_list_sms | Read | List SMS messages from Dialpad. Returns message details including sender, recipient, text content, and timestamps. Supports date range filtering and pagination. |
integration__dialpad__dialpad_send_sms | dialpad.dialpad_send_sms | Write | Send an SMS message via Dialpad. Specify the recipient number, sender number (or department ID), and message text. |
integration__dialpad__dialpad_list_users | dialpad.dialpad_list_users | Read | List users in the Dialpad organization. Returns user details including name, email, phone numbers, and department. Supports pagination. |
integration__dialpad__dialpad_get_user | dialpad.dialpad_get_user | Read | Get details of a specific Dialpad user by ID. Returns user profile including name, email, phone numbers, department, and status. |
integration__dialpad__dialpad_get_current_user | dialpad.dialpad_get_current_user | Read | Get the profile of the currently authenticated Dialpad user. Useful for verifying the connection and identifying which account the integration is using. |