KosmoKrator

communication

Dialpad MCP Integration for LangGraph

Connect Dialpad to LangGraph 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 LangGraph

Run KosmoKrator integration calls from LangGraph nodes while preserving local credentials and permissions.

Use a graph node that calls the KosmoKrator CLI for deterministic steps or an MCP client for dynamic tool selection. The gateway is local, scoped to this integration, and starts with --write=deny so LangGraph can inspect read-capable tools without receiving write access by default.

Dialpad MCP Config for LangGraph

Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.

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

LangGraph 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