KosmoKrator

communication

Dialpad MCP Integration for Claude Agent SDK

Connect Dialpad to Claude Agent SDK through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write Bearer token auth

Connect Dialpad 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.

Dialpad MCP Config for Claude Agent SDK

Use a narrow integration list so the agent does not load unrelated tools.

{
  "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

Scoped tools

Expose only Dialpad instead of a broad multi-service tool list.

Local credentials

Reuse credentials already configured for the KosmoKrator CLI and Lua runtime.

Write policy

Start read-only, then opt into ask or allow for trusted workspaces.

Dialpad Tools Visible to Claude Agent SDK

Claude Agent SDK sees stable MCP tool names generated from the Dialpad integration catalog.

MCP toolSource functionTypeDescription
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.

Related Dialpad Pages