KosmoKrator

communication

Sinch MCP Integration for LangChain

Connect Sinch to LangChain through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.

7 functions 6 read 1 write API token auth

Connect Sinch to LangChain

Bridge LangChain agents to local KosmoKrator integration tools through MCP or headless CLI calls.

Use the MCP gateway when the agent should discover tools, or wrap kosmo integrations:call for fixed chains. The gateway is local, scoped to this integration, and starts with --write=deny so LangChain can inspect read-capable tools without receiving write access by default.

Sinch MCP Config for LangChain

Keep the gateway scoped to the integration and operation class needed by the chain.

{
  "mcpServers": {
    "kosmokrator-sinch": {
      "type": "stdio",
      "command": "kosmo",
      "args": [
        "mcp:serve",
        "--integration=sinch",
        "--write=deny"
      ]
    }
  }
}

Run the Gateway Manually

kosmokrator mcp:serve --integration=sinch --write=deny

Why Use KosmoKrator Here

Scoped tools

Expose only Sinch 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.

Sinch Tools Visible to LangChain

LangChain sees stable MCP tool names generated from the Sinch integration catalog.

MCP toolSource functionTypeDescription
integration__sinch__sinch_get_group sinch.sinch_get_group Read Get details for a specific group in your Sinch account.
integration__sinch__sinch_get_phone_number sinch.sinch_get_phone_number Read Get details for a specific phone number in your Sinch account.
integration__sinch__sinch_list_batches sinch.sinch_list_batches Read List all message batches in your Sinch account with pagination.
integration__sinch__sinch_list_groups sinch.sinch_list_groups Read List all groups in your Sinch account with pagination.
integration__sinch__sinch_list_messages sinch.sinch_list_messages Read List inbound and outbound SMS messages from Sinch. Supports filtering by direction, recipient, sender, and date range.
integration__sinch__sinch_list_phone_numbers sinch.sinch_list_phone_numbers Read List all rented phone numbers in your Sinch account with pagination.
integration__sinch__sinch_send_sms sinch.sinch_send_sms Write Send an SMS message to one or more recipients via Sinch. Requires sender phone number, recipient(s), and message body.

Related Sinch Pages