communication
Sinch MCP Integration for LangGraph
Connect Sinch to LangGraph through the local KosmoKrator MCP gateway with scoped tools, credentials, and write policy.
Connect Sinch 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.
Sinch MCP Config for LangGraph
Headless CLI calls fit repeatable graph edges; MCP fits exploratory agent nodes.
{
"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
Expose only Sinch 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.
Sinch Tools Visible to LangGraph
LangGraph sees stable MCP tool names generated from the Sinch integration catalog.
| MCP tool | Source function | Type | Description |
|---|---|---|---|
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. |